cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results for 
Search instead for 
Did you mean: 

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

1 REPLY 1

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

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.

If there isn’t a group near you, start one and help create a community that brings people together.

Request a New Group