Error for sparkdl.xgboost import XgboostRegressor

SaraGHn
New Contributor III

I get the error :

cannot import name 'resnet50' from 'keras.applications' (/local_disk0/.ephemeral_nfs/envs/pythonEnv-a3e7b0cc-064d-4585-abfd-6473ed1c1a5b/lib/python3.8/site-packages/keras/applications/__init__.py)

It looks like the Keras.applications dependency hasn’t been updated to import resnet50. any suggestion?

image

Aviral-Bhardwaj
Esteemed Contributor III

try to install these libraries via init script some time this happen due to spark version in databricks , libraries can make conflict with Runtime version

AviralBhardwaj