Fewshot_Detection icon indicating copy to clipboard operation
Fewshot_Detection copied to clipboard

Base Training error

Open Miracle-hpf opened this issue 5 years ago • 3 comments

Sorry for troubling you.I follow your instruction and when I run train_meta.py, a runtimeerror occured as follow: 1

Could you tell me how to solve it?

Miracle-hpf avatar Jan 28 '20 13:01 Miracle-hpf

you can solve it as follows tmp = buf[start:start+num_w] tmp = tmp.view(conv_model.weight.shape) conv_model.weight.data.copy(tmp)

eghouti avatar Jan 29 '20 13:01 eghouti

you can solve it as follows tmp = buf[start:start+num_w] tmp = tmp.view(conv_model.weight.shape) conv_model.weight.data.copy(tmp)

Thanks for your reply!I reduce the torch version to 0.3.1 and now can run.

Miracle-hpf avatar Jan 29 '20 13:01 Miracle-hpf

you can solve it as follows tmp = buf[start:start+num_w] tmp = tmp.view(conv_model.weight.shape) conv_model.weight.data.copy(tmp)

Hello, i have some questions about the training samplse, can you help me? 'train = ./voc_train.txt' in the 'cfg/metayolo.data', it contains 20 categories, so it contains the novel categories. Should we use 15 base categories instead?

zhongdajian avatar Feb 16 '20 15:02 zhongdajian