- Podman with nvidia toolkit enabled
- Python
- Access to eluv-io repo via ssh key
python download_weights.py
ssh-add (on personal machine)
NOTE: if you are on a remote server, either you should have your ssh key on the remote server and run ssh-add there, or you should run it on your personal machine and verify that you are connected with agent forwarding enabled.
./build.sh
podman run --rm --volume=$(pwd)/test:/elv/test:ro --volume=$(pwd)/tags:/elv/tags --volume=$(pwd)/.cache:/root/.cache --network host --device nvidia.com/gpu=0 celeb test/1.mp4 test/2.mp4
- Note: you must mount the files to tag into the container storage (
--volume=$(pwd)/test:/elv/test) - Tag files will appear in the
tagsdirectory (--volume=$(pwd)/tags:/elv/tags).
- Default parameters are found in config.yml under
runtime/default - These values can be overriden by passing in data with
--configwhen running the container in the command line:
podman run --rm --volume=$(pwd)/test:/elv/test:ro --volume=$(pwd)/tags:/elv/tags --volume=$(pwd)/.cache:/root/.cache --network host --device nvidia.com/gpu=0 celeb test/1.mp4 test/2.mp4 --config '{"fps":8, "content_id":"<qid>", "thres":0.6}'