项目场景:
tensorflow calculate inception score
问题描述:
Traceback (most recent call last):
File "keras_fid.py", line 12, in <module>
real_embeddings = inception_model.predict(image)
File "/root/anaconda3/envs/tf35/lib/python3.7/site-packages/tensorflow/python/keras/engine/training.py", line 130, in _method_wrapper
return method(self, *args, **kwargs)
File "/root/anaconda3/envs/tf35/lib/python3.7/site-packages/tensorflow/python/keras/engine/training.py", line 1599, in predict
tmp_batch_outputs = predict_function(iterator)
File "/root/anaconda3/envs/tf35/lib/python3.7/site-packages/tensorflow/python/eager/def_function.py", line 780, in __call__
result = self._call(*args, **kwds)
File "/root/anaconda3/envs/tf35/lib/python3.7/site-packages/tensorflow/python/eager/def_function.py", line 846, in _call
return s
|