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