-
Notifications
You must be signed in to change notification settings - Fork 152
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
Bug fixes in read_image_to_tensor #97
Bug fixes in read_image_to_tensor #97
Conversation
stereomatchingkiss
commented
Apr 21, 2021
•
edited by zhiqwang
Loading
edited by zhiqwang
- Select cpu if gpu not available
- Change BGR to RGB before inference, this will fix some bugs in Add a dataloader as ultralytics in detection pipeline #92
- Append sys path, so the notebook can open on windows
2. Change BGR to RGB before inference 3. Append sys path, so the notebook can open on windows
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
Codecov Report
@@ Coverage Diff @@
## master #97 +/- ##
=======================================
Coverage 83.39% 83.39%
=======================================
Files 8 8
Lines 777 777
=======================================
Hits 648 648
Misses 129 129
Flags with carried forward coverage won't be shown. Click here to find out more. Continue to review full report at Codecov.
|
View / edit / reply to this conversation on ReviewNB zhiqwang commented on 2021-04-21T04:49:49Z Actually we assume that the notebooks are decoupled with the path dependence, in other words, we assume this notebook could be working in any path, so I don't recommend adding |
View / edit / reply to this conversation on ReviewNB zhiqwang commented on 2021-04-21T04:49:50Z Hi @stereomatchingkiss , I think that you could move the |
… with the path dependence 2. Remove color conversion because it perform in the function read_image_to_tensor
Thanks for your helps, will fix
Thanks for your help, fixed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Hi @stereomatchingkiss , Thanks for your feedbacks and contributions here, welcome to join yolort community. Besides, it would be more better if you could sign the CLA at . |