Skip to content

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

Open

Description

@github4mathews

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

Activity

  1. Oceania2018 commented on Oct 24, 2020

    @Oceania2018
    Member

    There it is but with bug for this moment.

    image

  2. pardont commented on Nov 27, 2020

    @pardont

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

  3. Oceania2018 commented on Nov 27, 2020

    @Oceania2018
    Member

    @pardont Not yet.

  4. self-assigned this
    on Dec 12, 2020
  5. lqdev commented on Dec 13, 2020

    @lqdev

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

  6. Oceania2018 commented on Dec 14, 2020

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

  7. added a commit that references this issue on Dec 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions