Closed ha-nso-li closed 4 years ago
Looks good, I think we should merge this PR. I'm not so sure if this works though. As you said, keras-resnet requires keras. In my previous experience, mixing tf.keras and keras does not work out well. Did this change in keras 2.4 since it is just forwarding the API?
When I tested with latest version it works. At least everything works fine since Keras 2.4 and Tensorflow 2.3. I don't know about previous versions well; but I think so like you said. It must works even if mixed because both are the same API.
Just tried it out and everything seems to work as expected, thanks!
PR #1422 provides keras 2.4 compatibility. Keras 2.4 just redirecting API to
tf.keras
.So we could migration into tf.keras by just replace keras with tf.keras.
mobilenet.BASE_WEIGHT_PATH
so I hard-coded it.