Default image classfier model handler fails on black & white JPG
See original GitHub issueRepro: In the quick start, replace kitten.jpg with the attached file. There’s a crash in image_classifier.py
when it attempts to convert the image to a tensor, because it assumes 3 color channels.
Issue Analytics
- State:
- Created 4 years ago
- Comments:9 (8 by maintainers)
Top Results From Across the Web
Classifying Images with Vision and Core ML - Apple Developer
Crop and scale photos using the Vision framework and classify them with a Core ML model.
Read more >Transfer Learning on Greyscale Images: How to Fine-Tune ...
In this article, we shall attempt to demystify all of the considerations needed when finetuning with black-and-white images by exploring the ...
Read more >ImageJ User Guide
The ImageJ User Guide provides a detailed overview of ImageJ (and inherently Fiji), the standard in scientific image analysis (see XXVI Focus on ......
Read more >Image Processing in Python with Pillow - Auth0
By default, when you perform a paste, transparent pixels are pasted as solid pixels, thus the black (white on some OSs) box surrounding...
Read more >Tutorials — OpenDroneMap 3.0.0 documentation
Creating High Quality Orthophotos . image of OpenDroneMap orthophoto. Without any parameter tweaks, ODM chooses a good compromise between quality, speed and ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@fbbradheintz : We agreed to document this and the documentation is available in master branch : https://github.com/pytorch/serve/blob/master/docs/default_handlers.md
Sounds good. Thanks!