SciSharp-Stack-Examples
SciSharp-Stack-Examples copied to clipboard
module 'tensorflow.keras.preprocessing' has no attribute 'image_dataset_from_directory'
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
There it is but with bug for this moment.
@Oceania2018 is the bug fixed? NullReferenceException thrown when executing the code . https://github.com/SciSharp/SciSharp-Stack-Examples/issues/27
@pardont Not yet.
@Oceania2018 is there a recommended workaround for this in the meantime?
@lqdev Same issue as https://github.com/SciSharp/TensorFlow.NET/issues/666, fixed the image_dataset_from_directory
, but still has other bug for the rest part of that example.