- 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)/models:/elv/models:ro --volume=$(pwd)/tags:/elv/tags --volume=$(pwd)/.cache:/root/.cache --network host --device nvidia.com/gpu=0 caption 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
tags
directory (--volume=$(pwd)/tags:/elv/tags
).
Edit the runtime/default
section in config.yml
podman run --rm --volume=$(pwd)/test:/elv/test:ro --volume=$(pwd)/models:/elv/models:ro --volume=$(pwd)/tags:/elv/tags --volume=$(pwd)/.cache:/root/.cache --network host --device nvidia.com/gpu=0 caption test/1.mp4 test/2.mp4 --config '{"fps": 2}'