Skip to content

Commit

Permalink
update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
gamorosino committed Jan 29, 2022
1 parent 1a55382 commit 1cc8294
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -51,23 +51,6 @@ RUN conda install -c anaconda python=2.7 scikit-image=0.14.2 \
## Clone bl_app_dbb_DisSeg via Github

RUN cd / && git clone https://github.com/gamorosino/bl_app_dbb_DisSeg.git
#\
#&& cd bl_app_dbb_DisSeg \
#&& git checkout master

## Donwload UNET checkpoints and test data

RUN cd / \
&& /bin/bash -c 'source /bl_app_dbb_DisSeg/libraries/FILESlib.sh;\
mkdir -p "/bl_app_dbb_DisSeg/scripts/checkpoints/";\
checkpoints_dir=/bl_app_dbb_DisSeg/scripts/checkpoints/UNET_DATA_3D_T1_segment_8tms_0.2.9.2.6.1_256x256x256_filter12_dp0.15_sparse_softmax_cross_entropy_nosoftmax ; \
mkdir -p ${checkpoints_dir}; \
gdrive_download "https://drive.google.com/file/d/1P_Fk0eb2YEURXHkqp1Ek0WJab77K6aRH/view?usp=sharing" ${checkpoints_dir}"/UNET_DATA_3D_T1_segment_8tms-83006.meta" ; \
gdrive_download "https://drive.google.com/file/d/1fDgEzSUJp5DJbFUo4GNNGSuby7PLolWh/view?usp=sharing" ${checkpoints_dir}"/UNET_DATA_3D_T1_segment_8tms-83006.index" ; \
gdrive_download "https://drive.google.com/file/d/1MqzZx6cS2JHKF9zV06odC8j8johl13ND/view?usp=sharing" ${checkpoints_dir}"/UNET_DATA_3D_T1_segment_8tms-83006.data-00000-of-00001" ; \
echo "model_checkpoint_path: \"${checkpoints_dir}/UNET_DATA_3D_T1_segment_8tms-83006\" " >> ${checkpoints_dir}"/checkpoint" ; \
echo "all_model_checkpoint_paths: \"${checkpoints_dir}/UNET_DATA_3D_T1_segment_8tms-83006\" " >> ${checkpoints_dir}"/checkpoint" ;' \


#make it work under singularity
#https://wiki.ubuntu.com/DashAsBinSh
Expand Down

0 comments on commit 1cc8294

Please sign in to comment.