keras-retinanet: AttributeError: 'Model' object has no attribute '_get_distribution_strategy'

I am trying to train model in Google Colab using tensorflow 2.x bundle package for Colab and Getting Error as mention Below:

AttributeError:'Model' object has no attribute _get_distribution_strategy'

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Reactions: 3
  • Comments: 17 (8 by maintainers)

Most upvoted comments

It is a problem with keras, right? I mean, you cannot solve it in this implementation, right?

i solved it by --tensorboard-dir ""

Tensorflow just released version 2.2, this should fix this issue.

https://github.com/tensorflow/tensorflow/pull/34870

you can also remove the tensorboard callback for now.