Skip to content

Wrong channel ordering for inputs of multiple Image recognition models? #400

Closed
@ermolenkodev

Description

@ermolenkodev

ImageRecognitionModel.predictObject is a common method for all classification models, and it contains a hardcoded conversion of an input image to BGR format. Meanwhile, most of the models in ModelHub requires input in image in RGB format which is a cause of a drop of classification accuracy.

We should further investigate this issue. If it's indeed an error, we should fix the input format for models that require RGB input, and also input format should be explicitly documented for each model in ModelHub.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions