Qihoo360 / tensornet

Apache License 2.0
315 stars 72 forks source link

fix warning when reload model #14

Closed zhangys-lucky closed 3 years ago

zhangys-lucky commented 3 years ago

warning info:

WARNING:tensorflow:Inconsistent references when loading the checkpoint into this object graph. Either the Trackable object references in the Python program have changed in an incompatible way, or the checkpoint was generated in an incompatible program.

Two checkpoint references resolved to different objects (<tensorflow.python.keras.layers.core.Dense object at 0x7f57bc16ea90> and <tensorflow.python.keras.layers.merge.Concatenate object at 0x7f57bc14a6d0>).
WARNING:tensorflow:Inconsistent references when loading the checkpoint into this object graph. Either the Trackable object references in the Python program have changed in an incompatible way, or the checkpoint was generated in an incompatible program.

Two checkpoint references resolved to different objects (<tensorflow.python.keras.layers.core.Dense object at 0x7f3b9c301410> and <tensorflow.python.keras.layers.merge.Concatenate object at 0x7f3ba410a150>).
WARNING:tensorflow:Inconsistent references when loading the checkpoint into this object graph. Either the Trackable object references in the Python program have changed in an incompatible way, or the checkpoint was generated in an incompatible program.

Two checkpoint references resolved to different objects (<tensorflow.python.keras.layers.core.Dense object at 0x7f559ca903d0> and <tensorflow.python.keras.layers.core.Dense object at 0x7f57bc16ea90>).
WARNING:tensorflow:Inconsistent references when loading the checkpoint into this object graph. Either the Trackable object references in the Python program have changed in an incompatible way, or the checkpoint was generated in an incompatible program.

Two checkpoint references resolved to different objects (<tensorflow.python.keras.layers.core.Dense object at 0x7f3be2c0ff90> and <tensorflow.python.keras.layers.core.Dense object at 0x7f3b9c301410>).