masahi commented on a change in pull request #10849:
URL: https://github.com/apache/tvm/pull/10849#discussion_r839971463
##########
File path: gallery/how_to/compile_models/from_keras.py
##########
@@ -76,7 +77,7 @@
# A single cat dominates the examples!
from PIL import Image
from matplotlib import pyplot as plt
-from keras.applications.resnet50 import preprocess_input
+from tensorflow.keras.applications.resnet50 import preprocess_input
Review comment:
I don't get why I had to make this change. After we upgraded to keras
2.6 in https://github.com/apache/tvm/pull/10084, `keras.applications` no longer
exists. The doc build runs on the gpu image, which should have been updated to
keras 2.6 in https://github.com/apache/tvm/pull/10654. So this error should
have been caught during the update of https://github.com/apache/tvm/pull/10654.
cc @driazati @leandron
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]