I am working on
def split_data(SOURCE_DIR, TRAINING_DIR, VALIDATION_DIR, SPLIT_SIZE):
Whenever i try to use one of these argments within the function, i get an undefined error eg NameError: name ‘SOURCE_DIR’ is not defined. I dont think i have altered any code that i shouldnt have.
Thanks
Hello @Indigo141
Welcome to our Community! Thanks for reaching out. We are here to help you.
DM me with a copy of your notebook (private) and I’ll help you out.
With reagards,
Ado
Thanks for your help Ado. Turns out that i had parts of my function at the same indentation level as the function def (as in no indentation). I must admit to knowing very little Python. I started learning Python, but then wanted to jump ahead to machine learning.