-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathrun_tasks.bat
More file actions
38 lines (35 loc) · 1.27 KB
/
run_tasks.bat
File metadata and controls
38 lines (35 loc) · 1.27 KB
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
27
28
29
30
31
32
33
34
35
36
37
38
@echo off
REM Usage: run_tasks.bat <task>
REM <task>: all / factory / warehouse / retail
set TASK=%1
if "%TASK%"=="all" (
echo Running all tasks...
for /F "tokens=*" %%i in (all_task_ids_factory.txt) do (
python3 demo/run.py --task_name %%i --result_dir results/
)
for /F "tokens=*" %%i in (all_task_ids_warehouse.txt) do (
python3 demo/run.py --task_name %%i --result_dir results/
)
for /F "tokens=*" %%i in (all_task_ids_retail.txt) do (
python3 demo/run.py --task_name %%i --result_dir results/
)
) else if "%TASK%"=="factory" (
echo Running factory tasks...
for /F "tokens=*" %%i in (all_task_ids_factory.txt) do (
python3 demo/run.py --task_name %%i --result_dir results/
)
) else if "%TASK%"=="warehouse" (
echo Running warehouse tasks...
for /F "tokens=*" %%i in (all_task_ids_warehouse.txt) do (
python3 demo/run.py --task_name %%i --result_dir results/
)
) else if "%TASK%"=="retail" (
echo Running retail tasks...
for /F "tokens=*" %%i in (all_task_ids_retail.txt) do (
python3 demo/run.py --task_name %%i --result_dir results/
)
) else (
echo Usage: run_tasks.bat <task>
echo <task>: all / factory / warehouse / retail
)
pause