Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need to modify kdl/transformers/keras_applications to be able to use resnet50 #247

Open
yobdoy opened this issue Apr 7, 2022 · 1 comment

Comments

@yobdoy
Copy link

yobdoy commented Apr 7, 2022

Hi,

Per this overflow question one needs to modify /home/user/.local/lib/python3.8/site-packages/sparkdl/transformers/keras_applications.py
. This happened in databricks using v 10.3.

Have to change
from keras.applications import inception_v3, xception, resnet50

to

from keras.applications import inception_v3, xception
from tensorflow.keras.applications import resnet50

@AlessiOrl
Copy link

AlessiOrl commented Jun 2, 2022

did you find a way to import the library? i'm having the same problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants