ttengwang / PDVC

End-to-End Dense Video Captioning with Parallel Decoding (ICCV 2021)
MIT License
208 stars 23 forks source link

How to use 2 GPUs? #53

Open yhd-123 opened 10 months ago

yhd-123 commented 10 months ago

image python train.py --cfg_path ${cfgs/anet_c3d_pdvc.yml} But only one GPU is used!

ttengwang commented 9 months ago

This repository does not currently support data parallelism for multiple gpus. If you are interested, you can modify the code accordingly. A helpful reference is https://pytorch.org/tutorials/intermediate/model_parallel_tutorial.html

yhd-123 commented 9 months ago

OK!Thanks!