tranleanh / edn-gtm

EDN-GTM Scheme for Single Image Dehazing
MIT License
32 stars 6 forks source link

tf.function only supports singleton tf.Variables created on the first call. Make sure the tf.Variable is only created once or created outside tf.function. #7

Open railgun-zyy opened 1 year ago

railgun-zyy commented 1 year ago

I compiled as required, and the following problems occurred:tf.function only supports singleton tf.Variables created on the first call. Make sure the tf.Variable is only created once or created outside tf.function.

What do I need to modify?

tranleanh commented 1 year ago

Hi,

Make sure that you installed the proper versions of tensorflow and keras.

The best way is to install via the command: pip install -r requirements.txt

Good luck.