Open Fazlik995 opened 4 years ago
Hi,
Please comment the script you used for training and the line where the error occurs. Also, is it occurring during validation or during training?
Script: python3 main.py something-v1 RGB --arch InceptionV3 --num_segments 12 --consensus_type avg --batch-size 16 --iter_size 2 --dropout 0.5 --lr 0.01 --warmup 10 --epochs 60 --eval-freq 5 --gd 20 --run_iter 1 -j 16 --npb --gsm
error:
Epoch: [0][5360/5377], lr: 0.00100 Time 2.036 (0.944) Data 1.384 (0.325) Loss 2.3372 (3.6284) Prec@1 6.250 (3.454) Prec@5 6.250 (12.217)
Traceback (most recent call last):
File "main.py", line 385, in
I got an error after 1st epoch
Any ideas?
Hi,
It seems like the error is triggered in somewhere that is not part of the original implementation shared in this repo. I am unable to help in this case. I would suggest you to try adding "drop_last=True" in the data_loader definition.
Hi, I successfully run your network on Somethin-v1 with num_segment=8
However, when I use num_segment=12, after 1st epoch, I am receiving the following error: RuntimeError: shape '[-1, 8, 4, 27, 27]' is invalid for input of size 34992
Any ideas?