Need Help with Split_data function.
I am getting “FileNotFoundError: [Errno 2] No such file or directory: ‘3783.jpg’” error.
please help me.
[snippet deleted by mentor]
Need Help with Split_data function.
I am getting “FileNotFoundError: [Errno 2] No such file or directory: ‘3783.jpg’” error.
please help me.
[snippet deleted by mentor]
there are many mistakes with your implementation of the function split_data
. Here are a few hints to get you started:
getsize
function and not just the image name.os.listdir
outside a for loop.