Skip to content

Dataset support plot_image_gallery breaks OD tutorial #2015

@jbischof

Description

@jbischof
Contributor

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).

Activity

Zekrom-7780

Zekrom-7780 commented on Aug 12, 2023

@Zekrom-7780
Contributor

@jbischof I would like to take this issue up

sachinprasadhs

sachinprasadhs commented on May 7, 2025

@sachinprasadhs
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.

github-actions

github-actions commented on May 22, 2025

@github-actions

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 commented on Jun 5, 2025

@github-actions

This issue was closed because it has been inactive for 28 days. Please reopen if you'd like to work on this further.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Participants

      @jbischof@sachinprasadhs@Zekrom-7780

      Issue actions

        Dataset support `plot_image_gallery` breaks OD tutorial · Issue #2015 · keras-team/keras-cv