We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In _object_detection.py, line 51, you have:
_object_detection.py
if self.color_mode == "grayscale": if self.data_format == "channels_first": self.image_shape = (*target_size, 1) else: self.image_shape = (1, *target_size)
I believe you should be setting self.image_shape = (1, *target_size) if self.data_format == "channels_first", and the opposite if the check fails.
self.image_shape = (1, *target_size)
self.data_format == "channels_first"
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In
_object_detection.py
, line 51, you have:I believe you should be setting
self.image_shape = (1, *target_size)
ifself.data_format == "channels_first"
, and the opposite if the check fails.The text was updated successfully, but these errors were encountered: