Merge pull request #33 from storytold/jan-18-mithoo

add a mocapnet wrapper
This commit is contained in:
Kasisnu
2024-01-19 13:15:58 +05:30
committed by GitHub
2 changed files with 7 additions and 0 deletions
@@ -49,6 +49,8 @@ RUN python3.10 -m venv python \
WORKDIR /model_code
COPY . /model_code/MocapNET
COPY ./runner.sh /model_code/runner.sh
RUN chmod +x /model_code/runner.sh
RUN cd /model_code/MocapNET && ./initialize.sh
# RUN cd /home/${user_name}/workspace && git clone https://github.com/FORTH-ModelBasedTracker/MocapNET && cd MocapNET && ./initialize.sh --collab
+5
View File
@@ -0,0 +1,5 @@
#!/bin/bash
set -ex
source /model_code/MocapNET/src/python/mnet4/pythonVirtualEnvironment/bin/activate && python3 $@ && mv out.bvh /tmp/some-input.bvh && cd /model_code/MocapNET/ && ./GroundTruthDumper --from dependencies/RGBDAcquisition/opengl_acquisition_shared_library/opengl_depth_and_color_renderer/Motions/DAZFriendlyCGSPEED_ZXYAndHandsAxisBigHands.bvh --merge /tmp/some-input.bvh dependencies/RGBDAcquisition/opengl_acquisition_shared_library/opengl_depth_and_color_renderer/Motions//mergeDazFriendlyAndAddHead.profile --setPositionRotation 0 0 0 0 0 0 --bvh /model_code/MocapNET/src/python/mnet4/out.bvh