|
a |
|
b/run_docker_image.bat |
|
|
1 |
echo '[1] Running the whole pipeline in testing mode...' |
|
|
2 |
|
|
|
3 |
echo '[2] Kindly make sure that you meet the folder structure arrangement given in readme.md ...' |
|
|
4 |
|
|
|
5 |
echo '[3] Path to the raw pet and ground truth (gt) folders, e.ge. E:/data/ Where the data |
|
|
6 |
is the main path directory to all cases' |
|
|
7 |
set input_dir=%1 |
|
|
8 |
|
|
|
9 |
echo '[4] Path to the output folders, e.ge. E:/output/ where the all results should be saved' |
|
|
10 |
set output_dir=%2 |
|
|
11 |
|
|
|
12 |
echo '[5] Unique docker image name (Name used during building):, e.g., ai4elife:v1, put ai4elife ' |
|
|
13 |
set docker_image_name=%3 |
|
|
14 |
|
|
|
15 |
echo '[6] Unique docker tage (Name used during building) otherwise latest will be downloaded:, e.g., ai4elife:v1, give v1' |
|
|
16 |
set docker_tag=%4 |
|
|
17 |
|
|
|
18 |
echo '[7] Unique container id (any name): ' |
|
|
19 |
set CONTAINERID=%5 |
|
|
20 |
|
|
|
21 |
echo '[8] Running the docker with container id: %CONTAINERID% ....' |
|
|
22 |
|
|
|
23 |
docker run -it --rm --name %CONTAINERID%^ |
|
|
24 |
-v %input_dir%:/input ^ |
|
|
25 |
-v %output_dir%:/output ^ |
|
|
26 |
%docker_image_name%:%docker_tag% ^ |
|
|
27 |
|