Skip to content
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

ImageDataset.view_random_images plots repeated images #44

Open
abhi8893 opened this issue May 8, 2021 · 0 comments
Open

ImageDataset.view_random_images plots repeated images #44

abhi8893 opened this issue May 8, 2021 · 0 comments
Assignees
Labels
bug Something isn't working
Projects

Comments

@abhi8893
Copy link
Owner

abhi8893 commented May 8, 2021

Reproduce BUG:

from src.image import ClassicImageDataDirectory
import numpy as np
import matplotlib.pyplot as plt

data_dir = '../data/pizza_steak/'
imgdir = ClassicImageDataDirectory(data_dir, target_image_size=(224, 224), dtype=np.uint8)

datagen = imgdir.load(4)
batch = next(datagen)
batch.view_random_images(class_names='all', n_each=3)
plt.show()

44_repeated-class-image-plot

@abhi8893 abhi8893 added the bug Something isn't working label May 8, 2021
@abhi8893 abhi8893 self-assigned this May 8, 2021
@abhi8893 abhi8893 added this to Backlog in Workload via automation May 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Workload
Backlog
Development

No branches or pull requests

1 participant