diff --git a/.github/workflows/check_notebooks.yml b/.github/workflows/check_notebooks.yml index 19cc3e2..caa9faa 100644 --- a/.github/workflows/check_notebooks.yml +++ b/.github/workflows/check_notebooks.yml @@ -31,11 +31,7 @@ run: | python -m pip install wheel python -m pip install numpy==1.26.4 torch==2.2.2 torchvision==0.17.2 -f https://download.pytorch.org/whl/torch_stable.html - python -m pip install "mapreader[dev]" - python -m pip install 'git+https://github.com/facebookresearch/detectron2.git' - python -m pip install 'git+https://github.com/maps-as-data/DeepSolo.git' - python -m pip install 'git+https://github.com/maps-as-data/DPText-DETR.git' - python -m pip install 'git+https://github.com/maps-as-data/MapTextPipeline.git' + python -m pip install -r requirements.txt - name: Clone DPText-DETR run: | @@ -56,6 +52,6 @@ huggingface-cli download rwood-97/DeepSolo_ic15_res50 ic15_res50_finetune_synth-tt-mlt-13-15-textocr.pth --local-dir . huggingface-cli download rwood-97/MapTextPipeline_rumsey rumsey-finetune.pth --local-dir . - - name: Convert notebooks + - name: Run notebooks run: | find . -name "*.ipynb" -exec jupyter execute {} + \ No newline at end of file