Hi,
I’m running the code:
"# grader-required-cell
Test your split_data function"
It has been running for over 3 hours and so far it has only shown the message:
“666.jpg is zero length, so ignoring.”
I’m using CPU with 25GB of RAM in Colab.
How can I speed this up? How long does it take?
I even purchased a GPU plan but it made no difference, in fact the system itself indicated that the GPU was not being used.
I ask for guidance.
Hello @Raphael_Garcia_Morei ,
It is not supposed to be like this. Seems there is some issue in your code.
Send me your notebook via dm such that I can check where it went wrong. By clicking on the profile picture, you will see an option to message. There you can attach your notebook. Then we can discuss the issues here.
With regards,
Nilosree Sengupta
Hello @nilosreesengupta ,
Did you receive my notebook?
Best regards
Hi,
I’ve reanalyzed the code and still haven’t found any errors.
I changed small things but still the problem persists.
It’s been running for almost 1 hour and very slowly. I have already left it for 6 hours and the job has not been completed.
I ask for guidance,
Best regards
[Code removed by mentor based on Community guidelines]
Hello @Raphael_Garcia_Morei ,
I checked your code.
Issue is in the indentation.
In your code, calculation of training_length, testing_length, shuffled_set, training_set, and testing_set are indented inside the loop where files are checked for their size.
This is not supposed to be.
Fix the indentation, it will work.
With regards,
Nilosree Sengupta
Hello @nilosreesengupta
Thanks! It worked fine now!
Best Regards
Hello @Raphael_Garcia_Morei ,
You’re welcome!!
Happy learning!!
With regards,
Nilosree Sengupta