File tree 2 files changed +5
-13
lines changed
2 files changed +5
-13
lines changed Original file line number Diff line number Diff line change @@ -219,14 +219,10 @@ RUN wget https://github.com/computationalpathologygroup/pythostitcher/archive/re
219
219
tar xf ${PYTHOSTITCHER_VERSION}.tar.gz
220
220
221
221
# === Download JigsawNet model weights in PythoStitcher directory ===
222
- # The weights will be downloaded from my Google Drive since they were modified to fit PythoStitcher.
223
- # The original JigsawNet weights (https://github.com/Lecanyu/JigsawNet) will NOT work.
224
- ENV FILE_ID 1jmee9j5dKemu62MNl7UwXx8_0QrXYwJU
225
- RUN wget --save-cookies cookies.txt 'https://drive.google.com/uc?export=download&id=' $FILE_ID -O- \
226
- | sed -rn 's/.*confirm=([0-9A-Za-z_]+).*/\1 /p' > confirm.txt
227
- RUN wget --load-cookies cookies.txt -O JigsawCNN_checkpoint.zip \
228
- 'https://drive.google.com/uc?export=download&id=' $FILE_ID'&confirm=' $(<confirm.txt)
229
- RUN unzip /home/user/JigsawCNN_checkpoint.zip -d /home/user/pythostitcher-${PYTHOSTITCHER_VERSION}/model_weights/
222
+ # Download JigsawNet weights from Google Drive
223
+ RUN pip3 install gdown
224
+ RUN gdown --id 1_LALxlkyJ-X_EKr-ralYbPwtbPb1gM-E -O JigsawCNN_checkpoint.zip && \
225
+ unzip /home/user/JigsawCNN_checkpoint.zip -d /home/user/pythostitcher-${PYTHOSTITCHER_VERSION}/model_weights/
230
226
231
227
# === Configure stop signal. ===
232
228
STOPSIGNAL SIGINT
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ beautifulsoup4==4.11.1
52
52
# via nbconvert
53
53
binaryornot == 0.4.4
54
54
# via cookiecutter
55
- bleach == 5.0.0
55
+ bleach
56
56
# via nbconvert
57
57
boto3 == 1.23.3
58
58
# via neptune-client
@@ -623,10 +623,6 @@ pyasn1-modules==0.2.8
623
623
# via
624
624
# google-auth
625
625
# oauth2client
626
- pycocotools == 2.0.4
627
- # via
628
- # object-detection
629
- # tf-models-official
630
626
pycparser == 2.21
631
627
# via cffi
632
628
pydantic == 1.9.1
You can’t perform that action at this time.
0 commit comments