beeldengeluid / dane-video-segmentation-worker

0 stars 0 forks source link

Containerize #10

Closed jblom closed 1 year ago

jblom commented 1 year ago

@Veldhoen ok the container builds and runs (with tail -f /dev/null to test). Is there already a runner to test the code? (e.g. a python file that kicks off the tool chain with a provided input file)

Veldhoen commented 1 year ago

Cool! I just submitted a PR for the utils, that has a script that runs all functionality (work_it_locally.py). I did not focus on i/o, but assume a bind mount in /data with a folder that has a video file (mp4) in it. In your docker run command, add: --mount type=bind,src=<your_local_path>,target=/data