<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: ML Practioner | ML 11 - XGBoost notebook | cannot import keras.applications.resnet50 in Machine Learning</title>
    <link>https://community.databricks.com/t5/machine-learning/ml-practioner-ml-11-xgboost-notebook-cannot-import-keras/m-p/11736#M591</link>
    <description>&lt;P&gt;You need to choose the runtime for ML instead of the standard.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/1672iF6F98DE019EC53F6/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 22 Nov 2022 19:12:37 GMT</pubDate>
    <dc:creator>Prabakar</dc:creator>
    <dc:date>2022-11-22T19:12:37Z</dc:date>
    <item>
      <title>ML Practioner | ML 11 - XGBoost notebook | cannot import keras.applications.resnet50</title>
      <link>https://community.databricks.com/t5/machine-learning/ml-practioner-ml-11-xgboost-notebook-cannot-import-keras/m-p/11733#M588</link>
      <description>&lt;P&gt;&lt;B&gt;the following code...&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;from sparkdl.xgboost import XgboostRegressor&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;from pyspark.ml import Pipeline&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;params = {"n_estimators": 100, "learning_rate": 0.1, "max_depth": 4, "random_state": 42, "missing": 0}&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;xgboost = XgboostRegressor(**params)&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;pipeline = Pipeline(stages=[string_indexer, vec_assembler, xgboost])&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;pipeline_model = pipeline.fit(train_df)&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;generates the following error...&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;ImportError: cannot import name 'resnet50' from 'keras.applications' (/local_disk0/.ephemeral_nfs/envs/pythonEnv-d671417d-c26e-4e1b-ab99-6ea93e646ec3/lib/python3.8/site-packages/keras/applications/__init__.py)&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;i've looked at the modules in keras.applications and as the screenshots show, there is no resnet50, so I think a dependency needs to be updated.&lt;/B&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Aug 2022 17:12:30 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/ml-practioner-ml-11-xgboost-notebook-cannot-import-keras/m-p/11733#M588</guid>
      <dc:creator>Slalom_Tobias</dc:creator>
      <dc:date>2022-08-01T17:12:30Z</dc:date>
    </item>
    <item>
      <title>Re: ML Practioner | ML 11 - XGBoost notebook | cannot import keras.applications.resnet50</title>
      <link>https://community.databricks.com/t5/machine-learning/ml-practioner-ml-11-xgboost-notebook-cannot-import-keras/m-p/11734#M589</link>
      <description>&lt;P&gt;@Tobias Cortese​&amp;nbsp;&amp;nbsp;I could see you are using the standard DBR version and it is expected. Please use the ML DBR version and it should resolve your issue.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Aug 2022 22:32:55 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/ml-practioner-ml-11-xgboost-notebook-cannot-import-keras/m-p/11734#M589</guid>
      <dc:creator>Prabakar</dc:creator>
      <dc:date>2022-08-01T22:32:55Z</dc:date>
    </item>
    <item>
      <title>Re: ML Practioner | ML 11 - XGBoost notebook | cannot import keras.applications.resnet50</title>
      <link>https://community.databricks.com/t5/machine-learning/ml-practioner-ml-11-xgboost-notebook-cannot-import-keras/m-p/11735#M590</link>
      <description>&lt;P&gt;@Prabakar Ammeappin​&amp;nbsp; I have the same issue. I am getting error and I don’t understand what do you man by ML DBR version. Can you help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image.jpeg"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/1674iAE29831DADFED9CC/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.jpeg" alt="image.jpeg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/1681iB9CFDB81DE9E23AD/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Nov 2022 15:40:47 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/ml-practioner-ml-11-xgboost-notebook-cannot-import-keras/m-p/11735#M590</guid>
      <dc:creator>SaraGHn</dc:creator>
      <dc:date>2022-11-22T15:40:47Z</dc:date>
    </item>
    <item>
      <title>Re: ML Practioner | ML 11 - XGBoost notebook | cannot import keras.applications.resnet50</title>
      <link>https://community.databricks.com/t5/machine-learning/ml-practioner-ml-11-xgboost-notebook-cannot-import-keras/m-p/11736#M591</link>
      <description>&lt;P&gt;You need to choose the runtime for ML instead of the standard.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/1672iF6F98DE019EC53F6/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Nov 2022 19:12:37 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/ml-practioner-ml-11-xgboost-notebook-cannot-import-keras/m-p/11736#M591</guid>
      <dc:creator>Prabakar</dc:creator>
      <dc:date>2022-11-22T19:12:37Z</dc:date>
    </item>
  </channel>
</rss>

