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

module 'tensorflow.keras.preprocessing' has no attribute 'image_dataset_from_directory' #23

Open
github4mathews opened this issue Oct 24, 2020 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@github4mathews
Copy link

module 'tensorflow.keras.preprocessing' has no attribute 'image_dataset_from_directory'

train_ds = tf.keras.preprocessing.image_dataset_from_directory(
data_dir,
validation_split=0.2,
subset="training",
seed=123,
image_size=(img_height, img_width),
batch_size=batch_size)

in image_classification.py

@Oceania2018
Copy link
Member

There it is but with bug for this moment.

image

@pardont
Copy link

pardont commented Nov 27, 2020

@Oceania2018 is the bug fixed? NullReferenceException thrown when executing the code .
#27

@Oceania2018
Copy link
Member

@pardont Not yet.

@lqdev
Copy link

lqdev commented Dec 13, 2020

@Oceania2018 is there a recommended workaround for this in the meantime?

@Oceania2018
Copy link
Member

@lqdev Same issue as SciSharp/TensorFlow.NET#666, fixed the image_dataset_from_directory, but still has other bug for the rest part of that example.

Oceania2018 added a commit that referenced this issue Dec 19, 2020
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
None yet
Development

No branches or pull requests

4 participants