Open sujanme25 opened 4 years ago
That is odd, we use a custom training loop following this tensorflow example. The .compile()
call is just to add the metrics, as you can see it's called with loss=None
so it is very odd that it is requiring an optimizer. Maybe you are using an older version of tensorflow, we ran these notebooks on google colab, you can try to train there, or emulate that environment.
I have used tensorflow 2.1.0 now i am getting
RuntimeError: You must compile your model before training/testing. Use model.compile(optimizer, loss)
.
RuntimeError Traceback (most recent call last)
Working in colab but not in jupyter notebook. Thanks
generator = make_generator_model() Giving error please check as below.
TypeError Traceback (most recent call last)