fizyr / keras-retinanet

Keras implementation of RetinaNet object detection.
Apache License 2.0
4.38k stars 1.96k forks source link

Unable to load Trained model - `ValueError: Unknown layer: Functional` #1480

Closed Karthik-U-94 closed 3 years ago

Karthik-U-94 commented 4 years ago

I have trained RetinaNet on my own dataset for 300 epochs, when I tried to load the 300th epoch model I am facing an issue, ValueError: Unknown layer: Functional Unable to proceed. I am running this on Ubuntu 18.04 with 2080Ti GPU.

Screenshot from 2020-11-03 12-34-53 Screenshot from 2020-11-03 12-34-58

cbodenst commented 4 years ago

Got the seem error today. For me the issue was that I trained with tf 2.3 but tried to load the model with tf 2.2. To resolve this update to tensorflow 2.3

stale[bot] commented 3 years ago

This issue has been automatically marked as stale due to the lack of recent activity. It will be closed if no further activity occurs. Thank you for your contributions.