Hi
I am trying to run the segmentation model (by fit_generator) on the local machine using the 20 pache files that has been provided in the ‘processed’ folder. But I am getting this error in the first epoch…
The input 0 could not be retrieved. It could be because a worker has died.
And then it times out.
Any help wpuld be appreciated,
Mina
The error itself is a common mistake due to the process was trying to get the input but it couldn’t get it in time but the cause vary on many things.
So, I suggest that you try
- double check on ImageDataGenerator, try print out the first item (since your error indicate that cannot get input_0) with matplotlib to see if it can be loaded or not.
- running in another machine or just Google Colab and see the difference to see if it’s happened only on your hardware or not.