rpg_event_representation_learning icon indicating copy to clipboard operation
rpg_event_representation_learning copied to clipboard

Test accuracy lower with higher batch size

Open agirbau opened this issue 1 year ago • 0 comments

Hello! I was testing a trained model, and found that the testing accuracy reported by the code is lower for bigger batch sizes.

For instance: python testing.py --test $TEST_PATH--checkpoint log/model_best_caltech101.pth --batch_size 12 --num_workers 12 reports: image

While: python testing.py --test $TEST_PATH--checkpoint log/model_best_caltech101.pth --batch_size 48 --num_workers 12 reports: image

Any idea why this might be happening?

Edit: It gets weirder, as running again the evaluation reports different accuracies (all tested with --batch_size 48). Run 1: image

Run2: image

Run3: image

agirbau avatar Apr 05 '23 00:04 agirbau