Skip to content

Dataset support plot_image_gallery breaks OD tutorial #2015

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

Open
jbischof opened this issue Aug 7, 2023 · 3 comments · May be fixed by #2019
Open

Dataset support plot_image_gallery breaks OD tutorial #2015

jbischof opened this issue Aug 7, 2023 · 3 comments · May be fixed by #2019

Comments

@jbischof
Copy link
Contributor

jbischof commented Aug 7, 2023

PR #1837 expects a batch dimension or no batching at all when parsing input data. However, our OD tutorial passes a single image as [image] at the beginning, which throws plot_image_gallery.

We should remove the list wrapper and immediately pass around

image_batch = np.expand_dims(image, 0)

since there's a lot of downstream logic about image batches anyway.

See gist.

Update: I get the same issue in 0.6.1 and 0.5.1 (gist).

@Zekrom-7780
Copy link
Contributor

@jbischof I would like to take this issue up

@sachinprasadhs
Copy link
Collaborator

Thanks for reporting the issue! We have consolidated the development of KerasCV into the new KerasHub package, which supports image, text, and multi-modal models. Please read the announcement. KerasHub will support all the core functionality of KerasCV.

KerasHub can be installed with !pip install -U keras-hub. Documentation and guides are available at keras.io/keras_hub.

With our focus shifted to KerasHub, we are not planning any further development or releases in KerasCV. If you encounter a KerasCV feature that is missing from KerasHub, or would like to propose an addition to the library, please file an issue with KerasHub.

Copy link

This issue is stale because it has been open for 14 days with no activity. It will be closed if no further activity occurs. Thank you.

@github-actions github-actions bot added the stale label May 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants