Skip to content
This repository was archived by the owner on Jan 5, 2023. It is now read-only.
This repository was archived by the owner on Jan 5, 2023. It is now read-only.

Error with shortcut layer in yolov3 #2

Description

@EslamHaourn

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions