-
Notifications
You must be signed in to change notification settings - Fork 2
/
changemefirstthenRunMe.sh
27 lines (20 loc) · 1.1 KB
/
changemefirstthenRunMe.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/bash
# Install the Intel® Distribution for Python, skip this if you have already installed the Intel® Distribution for Python,
# otherwise do the following steps:
# conda update conda
# conda config --add channels intel
# conda create -n idp intelpython3_full python=3
# source activate idp
# cd nicpython36 <-----root
# pip install -r requirements.txt
# if you have already got idp then
# source activate idp
# cd nicpython36 <-----root
# change the config folder to appropriated values, and replace the trained model in .../nicpython36-master/nets
python preprocess_inference_script.py
# - singularity pull docker://kbronik/ms_CNN_GUI_ucl:latest
# After running the above, a singularity image using docker hub (docker://kbronik/ms_CNN_GUI_ucl:latest) will be generated:
# - path to singularity//..///ms_CNN_GUI_ucl_latest.sif
# singularity exec ms_CNN_GUI_ucl_latest.sif python path to nicpython36/inference_scripts.py
singularity exec ms_CNN_GUI_ucl_latest.sif python /home/kbronik/Desktop/jon_stut/trythis/nicpython36-master/inference_script.py
echo "All calculation completed"