forked from ArashHosseini/3d-pose-baseline
-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathOpenposeTo3D_en.bat
43 lines (33 loc) · 1.44 KB
/
OpenposeTo3D_en.bat
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
39
40
41
@echo off
rem ---
rem --- Convert json data of OpenPose to 3D data
rem ---
rem --- Change the current directory to the execution destination
cd /d %~dp0
rem --- Individual directory path
echo Please enter the full path of individual index directory.({Movie name}_json_{Execution date and time}_idx00)
echo This setting is available only in Half - width alphanumeric characters and is mandatory.
set TARGET_DIR=
set /P TARGET_DIR=** Individual directory path:
rem echo TARGET_DIRF%TARGET_DIR%
IF /I "%TARGET_DIR%" EQU "" (
ECHO Since the individual directory path of the index is not set, processing is interrupted.
EXIT /B
)
rem --- Presence of detailed log
echo --------------
echo Please output detailed logs or enter yes or no.
echo If nothing is entered and ENTER is pressed, normal animation GIF of log and motion is output.
echo For detailed logs, debug images for each frame are additionally output. (It will take time for that)
echo If warn is specified, animation GIF is not output. (That is earlier)
set VERBOSE=2
set IS_DEBUG=no
set /P IS_DEBUG="** Detailed log[yes/no/warn]: "
IF /I "%IS_DEBUG%" EQU "yes" (
set VERBOSE=3
)
IF /I "%IS_DEBUG%" EQU "warn" (
set VERBOSE=1
)
rem --- python ŽÀs
python src/openpose_3dpose_sandbox_vmd.py --camera_frame --residual --batch_norm --dropout 0.5 --max_norm --evaluateActionWise --use_sh --epochs 200 --load 4874200 --gif_fps 30 --verbose %VERBOSE% --openpose %TARGET_DIR% --person_idx 1