My shuffled list is retuning empty when I run it but it catches the bad files in the data
Can you be a bit more specific about which assignment you are talking about? And what you mean by “bad files”. The only shuffling I can remember off hand in DLS Course 2 is in the Optimization Assignment in Week 2, but there the point is to shuffle the samples in the input dataset to form the minibatches.
In general, the best way to get help is to show us the actual error output you are getting. Well, in addition to giving us enough context to know which function in which assignment you are asking about …
My mistake, it is a Tensorflow developers course 2,week 1 assessment.
But still in case help can be rendered
It is different from the expected output
Sorry, I am not familiar with the TF Developer Course, but I edited the title of this thread to move it to TF Course 2. I hope one of the mentors over there will be able to help you out.