knowledge icon indicating copy to clipboard operation
knowledge copied to clipboard

Error with shortcut layer in yolov3

Open EslamHaourn opened this issue 4 years ago • 1 comments

I’m beginner. I try to run the model in that link: https://github.com/ayooshkathuria/YOLO_v3_tutorial_from_scratch in darknet file: elif module_type == "shortcut": from_ = int(module["from"]) x = outputs[i-1] + outputs[i+from_]

I got the following error with this line x = outputs[i-1] + outputs[i+from_] RuntimeError: The size of tensor a (210) must match the size of tensor b (208) at non-singleton dimension 3 the output is dictionary caches the outputs for the route layer I would like to know the source of error and help me fix that thanks in advance

EslamHaourn avatar Jan 24 '21 21:01 EslamHaourn

I don't understand the question. What the link has to do with this repo?

Also, please format your code properly.

cedrickchee avatar Jan 26 '21 13:01 cedrickchee