fizyr / keras-retinanet

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

Fatal crash in the code after the latest commit 83d724a015b88f65a603f83b1be36f556b83135a #1442

Closed Msnkhosravi closed 4 years ago

Msnkhosravi commented 4 years ago

It's not possible to train the code since 2 days ago when the commit 83d724a015b88f65a603f83b1be36f556b83135a was pushed.

ValueError: Tensor-typed variable initializers must either be wrapped in an init_scope or callable (e.g., tf.Variable(lambda : tf.truncated_normal([10, 40]))) when building functions. Please file a feature request if this restriction inconveniences you.

ha-nso-li commented 4 years ago

I could train a model with my custom csv dataset without any problems.

Could you check version of your environment? I currently using tensorflow 2.3.0 and keras 2.4.3

Msnkhosravi commented 4 years ago

I could train a model with my custom csv dataset without any problems.

Could you check version of your environment? I currently using tensorflow 2.3.0 and keras 2.4.3

Thanks, Tensorflow version was the problem and now is fixed.

stale[bot] commented 4 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.