# advanced-need-help


10/24/2022, 7:21 AM
Hello I have one question regarding using kedro to train a tf/keras CNN model: on the keras documentation( ), it is written to use tf.keras.utils.image_dataset_from_directory to load the images. As I am not using 'inferred' labels (I did not manage to sort image by label in my pipeline in sub folder with a partitioned dataset) I am trying to use os.walk to generate the proper label list. However I am failing with os.walk to get the proper list of files. Would someone have an example how to perform this please?