解决KeyError: “The name ‘FID_Inception_Net/pool_3:0’ refers to a Tensor which does not exist. The operation, ‘FID_Inception_Net/pool_3’, does not exist in the graph.”
参考:https://github.com/bioinf-jku/TTUR/issues/42
在Linux服务器上运行TransGAN,载入训练完成的模型时遇到的问题
GANs 中计算Fréchet Inception Distance (FID)部分出现的问题。原作者在2020年将fid.py代码做了更新但还有问题。
解决方法
将三个函数“create_inception_graph”,“_get_inception_layer”,“get_activations” 中 FID_Inception_Net 删去。