Fewshot_Detection
Fewshot_Detection copied to clipboard
RuntimeError: The size of tensor a (3) must match the size of tensor b (864) at non-singleton dimension 3
I'm having some issues running train_meta. Specifically, I get the above error. All messages are:
~/Fewshot_Detection$ python train_meta.py cfg/metayolo.data cfg/darknet_dynamic.cfg cfg/reweighting_net.cfg darknet19_448.conv.23
/home/elawson/Fewshot_Detection/data/coco.names
save_interval 10
['bird', 'bus', 'cow', 'motorbike', 'sofa']
base_ids [0, 1, 3, 4, 6, 7, 8, 10, 11, 12, 14, 15, 16, 18, 19]
logging to backup/metayolo_novel0_neg1
class_scale 1
Traceback (most recent call last):
File "train_meta.py", line 87, in
Suggestions?
hello, have you fixed it yet? I met the same problem
hello, have you fixed it yet? I met the same problem
hello, have you fixed it yet? I met the same problem
https://github.com/bingykang/Fewshot_Detection/issues/7#issuecomment-753658247 I followed this method and it worked, you can try it
TypeError: only integer tensors of a single element can be converted to an index Have you met this problem?