keras UserWarning: The input 1303 could not be retrieved. It could be because a worker has died
The solution for me was to copy all training data from the mounted Google Drive file system to the Google Colab file system. I didn't realize before that the mounted Drive file systems has a comparatively bad performance that leads to this error.