New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ValueError: The input size of each GPU must be 1 in testing mode #99
Comments
|
Hi, set batch size to 1 here, please. |
In OpenGait, we should make batch size equal to the number of used GPUs during testing for models that perform compressing operations over temporal dimension, i.e., GaitGL. |
Moreover, the same to the training phase once we take the unfix-length sequence as input. |
ChaoFan996
changed the title
test GaitGL
ValueError: The input size of each GPU must be 1 in testing mode
Dec 17, 2022
Ok, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
After training GaitGL for 80000 epochs, I test GaitGL by running "CUDA_VISIBLE_DEVICES=0 python -m torch.distributed.launch --master_port 12345 --nproc_per_node=1 opengait/main.py --cfgs ./config/gaitgl/gaitgl.yaml --phase test", but get "ValueError: The input size of each GPU must be 1 in testing mode, but got 4!"
The text was updated successfully, but these errors were encountered: