decisionforce / TPN

[CVPR 2020] Temporal Pyramid Network for Action Recognition
https://decisionforce.github.io/TPN/
Apache License 2.0
394 stars 55 forks source link

--validate not working for non-distributed mode #13

Closed nirat1606 closed 4 years ago

nirat1606 commented 4 years ago

I'm trying to train a model, and want to use validate mode, but in non-distributed mode, validate doesn't work since in /mmaction/apis/train.py there is no use of validate in the method _non_dist_train(model, dataset, cfg, validate=validate). Could you update the code for running validate in non-distributed mode?

Also, I could not run the code in distributed mode (with --launcher=pytorch, 2GPUs). Can you explain what is the difference in different modes and how to use those for running train in distributed mode?

Thanks,

justimyhxu commented 4 years ago

--validate only works for distributed mode.