Hello,
I have a problem with the split_function.
[code…]
trained_images= random.sample(updated_images, multiply)
for file in trained_images:
copyfile(file, TRAINING_DIR)
for file in (images[~trained_images]):
copyfile(file, VALIDATION_DIR)
Now I get the failback that a single file is missing. I am not sure where my failure is. I also converted Split_Size together with the list length into an int to make a multiply possible.