あまり起こりえないことのようですが、発生した場合の対処方法です。
■エラー内容
RuntimeError: Missing implementation that supports: loader(*(‘C:\\Users\\Alber\\AppData\\Local\\Temp\\tfhub_modules\\xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx’,), **{})
■原因
以下のディレクトリ内が空っぽになっていることで起こっているようです。
‘C:\\Users\\Alber\\AppData\\Local\\Temp\\tfhub_modules\\xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx’
■対処方法
tfhub_modulesフォルダを削除し、retrain.pyを実行します。
実行すると、tfhub_modulesフォルダは再作成されます。
■参考文献
https://stackoverflow.com/questions/54029556/how-to-fix-runtimeerror-missing-implementation-that-supports-loader-when-cal
https://github.com/tensorflow/hub/issues/212