Are there examples of how to split the data using : os.makedirs… : os.makedirs is not used in notebook (Lab 1) the
Are there examples of how to split the data using : os.makedirs... : os.makedirs is not used in notebook (Lab 1) the
Please read the markdown for
split_data in the notebook. If you have further questions, please be specific about it.
which notebook – Lab1 (ungraded) or Cats vs Dogs (graded) ?
I’m referring to the graded version.
Yes- I see this section; however, is this available in any of the videos or other labs… I would like to understand it in more detail before writing it…
Week 2 graded assignment in the course 2 also has the function to split data.
are you referring to “C2W2_Assignment-Week 2: Tackle Overfitting with Data Augmentation” – if so I do not see the function there…
There is a function called
def split_data(SOURCE_DIR, TRAINING_DIR, VALIDATION_DIR, SPLIT_SIZE): in C2W2 notebook.
Me too , i do not see the function split_data
have you resolved your problem??
i have done it is ok
so when train my model i have
UnknownError: Graph execution error:
and the training stop
2 root error(s) found.
My response was with respect to you not seeing
split_data function in the notebook. Please click my name and message your notebook as an attachment for me to better understand your current issue.
i just send you the docuement
Please fix the following:
- Indentation is incorrect.
- Make use of
root_dirinside the function.
- Don’t rely on
filesglobal variable. Use a local variable instead.
- Splits should be calculated only after discarding empty files and not for every iteration of the for loop.