KTH-Action-Recognition
KTH-Action-Recognition copied to clipboard
Runtime Error: Expected object of scalar type Long but got scalar type Byte for argument #2 'target'
Loading Dataset
Start training
Traceback (most recent call last):
File "train_cnn_single_frame.py", line 59, in
Add this line
labels = labels.long()
in the train method before calling criterion(....
@ashuezy Hi, I tried adding this line yet I am getting same error.
@ashuezy @vkhoi @immkapoor can you please tell me how u solved it guys ?