Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Input width and height #22

Closed
Nuzhny007 opened this issue Jul 17, 2020 · 2 comments
Closed

Input width and height #22

Nuzhny007 opened this issue Jul 17, 2020 · 2 comments

Comments

@Nuzhny007
Copy link

Nuzhny007 commented Jul 17, 2020

Some questions.

  1. In yolo.cpp you set condition: assert(m_InputW == m_InputH);
    Why? AlexeyAB write: set network size width=416 height=416 or any value multiple of 32
    And darknet trains and works with input size 960x768

  2. And second question about this assert:

if (weights.size() != weightPtr)
     {
         std::cout << "Number of unused weights left : " << weights.size() - weightPtr << std::endl;
         assert(0);
     }

In my yolov4-tiny with size 608x608 this condition goes to assert but in release it works. And in my case weights.size() < weightPtr

@enazoe
Copy link
Owner

enazoe commented Jul 20, 2020

1.yeah , current version does not support daynamic input dimension.
2.the yolov4-tiny is not yet supported, but I am working on it and support soon. Because the yolov4-tiny route layer is different from yolov4. you could check this link. We need add a plugin layer at tensorrt like pytorch chunk to implementation the tiny route layer.

@Nuzhny007
Copy link
Author

Thnx!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants