Open OlgaMatt opened 5 years ago
Change the line to this in loop over the training data sub-folders for training_name in train_labels:
dir = os.path.join(train_path, training_name)
# get the current training label
current_label = training_name
file = dir + "/image_" + str(x) + ".jpg"
I am trying to save the output files as .h5 files as instructed, but I keep getting the error "TypeError: Object dtype dtype('O') has no native HDF5 equivalent"
Anyone know how to fix it, or an alternative way of saving this data?