lindawangg / COVID-Net

COVID-Net Open Source Initiative
Other
1.15k stars 482 forks source link

An error occurred when using eval.py #139

Closed huang1030 closed 3 years ago

huang1030 commented 3 years ago

When I use ev.py, tf.train. Import_Meta_Graph (os.path.join(args.weightSpath, args.metaname)), I get the error: KeyError: 'fusedBatchNormv3' Looking forward to your reply.

haydengunraj commented 3 years ago

Which version of TensorFlow are you using? This can sometimes occur due to a version mismatch.

huang1030 commented 3 years ago

Thank you, I'm using Tensorflow1.13.1

haydengunraj commented 3 years ago

In that case, I strongly suspect that it's a version mismatch. The COVID-Net models were built using TensorFlow 1.15, and I believe that the error appears because FusedBatchNormV3 does not exist in TensorFlow 1.13.1. Upgrading to TensorFlow 1.15 should resolve the issue.

huang1030 commented 3 years ago

Thanks for your advice, it has been successfully run