C2W1 assignment / Problem with the Split function

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.

Hello @Marc001

Welcome to our Community! Thanks for reaching out. We are here to help you.
Can you send me a DM with the notebook to see the parameters and check if maybe the problem is there?

Thank you,