Closed wilxy closed 5 years ago
When I use my own dataset and weight to detect picture, this error occurs: RuntimeErroe: The size if tensor a(4) must match the size of tensor b(2) at non-singleton dimension
My yml file is OK when trainning, but have the above error when detect
I got it! If you use torch 0.4.0 to train and 0.3.1 to test, the error will occur. Just use 0.3.1 to train and test!
When I use my own dataset and weight to detect picture, this error occurs: RuntimeErroe: The size if tensor a(4) must match the size of tensor b(2) at non-singleton dimension