bingykang / Fewshot_Detection

Few-shot Object Detection via Feature Reweighting
https://arxiv.org/abs/1812.01866
528 stars 111 forks source link

expected tensor [64 x 32 x 3 x 3] and src [1776] to have the same number of elements, but got 18432 and 1776 elements respectively #93

Open QSJZDDY opened 1 year ago

QSJZDDY commented 1 year ago

RuntimeError: inconsistent tensor size, expected tensor [64 x 32 x 3 x 3] and src [1776] to have the same number of elements, but got 18432 and 1776 elements respectively at /pytorch/torch/lib/TH/generic/THTensorCopy.c:86

how could i sovle this problem,my env is pytorch0.3.1 and torch 0.2.0

qjh666888 commented 7 months ago

请问解决了嘛