You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I increase the batch size for testing/validation in a config for spatio-temporal action detection, I run into the following error: AssertionError: only accept 1 sample at test mode
Question: How do I run testing/validation with batch size > 1 for spatio-temporal action detection tasks?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
When I increase the batch size for testing/validation in a config for spatio-temporal action detection, I run into the following error:
AssertionError: only accept 1 sample at test mode
Question: How do I run testing/validation with batch size > 1 for spatio-temporal action detection tasks?
Details
I am using a config based on the following config that is given in the mmaction2 codebase: configs/detection/ava/slowfast_kinetics_pretrained_r50_4x16x1_20e_ava_rgb.py
In this config I modify the videos_per_gpu field for the val and test dataloaders in the data dictionary (starting on line 120) in the config:
When I run the testing code (tools/test.py) with this config, I run into the AssertionError.
Help is much appreciated!
Beta Was this translation helpful? Give feedback.
All reactions