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

Issue in inferer.py with resizing. #1

Closed
mike-a-fischer opened this issue Jul 11, 2019 · 1 comment
Closed

Issue in inferer.py with resizing. #1

mike-a-fischer opened this issue Jul 11, 2019 · 1 comment

Comments

@mike-a-fischer
Copy link

The variable resizing is passed into _preprocess_image but in the body of the code, the variable shape_correct is passed which has opposite definition as resizing. Suggest changing resizing in the function definition to be shape_correct and change line 277 to be if not shape_correct:.

@yyhhoi
Copy link
Collaborator

yyhhoi commented Jul 11, 2019

Thank you a lot for spotting and reporting the bug! Yes, indeed, currently the behavior is opposite to what should be expected, i.e. frame is resized when not needed, and not resized when needed. Your suggested modifications have been incorporated.

@yyhhoi yyhhoi closed this as completed Jul 19, 2019
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