mynlp / cst_captioning

PyTorch Implementation of Consensus-based Sequence Training for Video Captioning
59 stars 17 forks source link

Problem about multi processing #5

Open SilencerChen opened 6 years ago

SilencerChen commented 6 years ago

Thanks for your great work at first. I run you code and find out the usage rate of my GPU is always 0% when calculate the scores of the val captions. I train to use multiprocessing and need to add "num_works" in torch.utils.data.DataLoader but I find you write the class all by yourself. So is there a way to use the mutiprocessing?

plsang commented 6 years ago