<?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 experiment giving error - RESOURCE_DOES_NOT_EXIST in Machine Learning</title>
    <link>https://community.databricks.com/t5/machine-learning/ml-experiment-giving-error-resource-does-not-exist/m-p/127999#M4193</link>
    <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/146924"&gt;@BS_THE_ANALYST&lt;/a&gt;&amp;nbsp;Thanks for your response, there exists a directory with my username, I have just used a placeholder &amp;lt;username&amp;gt; due to company privacy policy. I have also tried the Shared direc&lt;/P&gt;</description>
    <pubDate>Mon, 11 Aug 2025 09:04:05 GMT</pubDate>
    <dc:creator>dbuser24</dc:creator>
    <dc:date>2025-08-11T09:04:05Z</dc:date>
    <item>
      <title>ML experiment giving error - RESOURCE_DOES_NOT_EXIST</title>
      <link>https://community.databricks.com/t5/machine-learning/ml-experiment-giving-error-resource-does-not-exist/m-p/127989#M4190</link>
      <description>&lt;P&gt;Followed the below documentation to create a ML experiment -&amp;nbsp;&lt;BR /&gt;&lt;A href="https://docs.databricks.com/aws/en/mlflow/experiments" target="_blank" rel="noopener"&gt;https://docs.databricks.com/aws/en/mlflow/experiments&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I created an experiment using the databricks console, then tried running the below code but getting error -&amp;nbsp;getting error -&amp;nbsp;RESOURCE_DOES_NOT_EXIST: Parent directory /Users/&amp;lt;username&amp;gt; does not exist&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;import&lt;/SPAN&gt;&lt;SPAN&gt; mlflow&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;import&lt;/SPAN&gt;&lt;SPAN&gt; os&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;import&lt;/SPAN&gt;&lt;SPAN&gt; numpy &lt;/SPAN&gt;&lt;SPAN&gt;as&lt;/SPAN&gt;&lt;SPAN&gt; np&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;from&lt;/SPAN&gt;&lt;SPAN&gt; sklearn.linear_model &lt;/SPAN&gt;&lt;SPAN&gt;import&lt;/SPAN&gt;&lt;SPAN&gt; LinearRegression&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;experiment_name &lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;"/Users/&amp;lt;username&amp;gt;/my_ml_experiment"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;mlflow.&lt;/SPAN&gt;&lt;SPAN&gt;set_experiment&lt;/SPAN&gt;&lt;SPAN&gt;(experiment_name)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;with&lt;/SPAN&gt;&lt;SPAN&gt; mlflow.&lt;/SPAN&gt;&lt;SPAN&gt;start_run&lt;/SPAN&gt;&lt;SPAN&gt;():&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;mlflow.&lt;/SPAN&gt;&lt;SPAN&gt;log_param&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"alpha"&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;0.01&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;mlflow.&lt;/SPAN&gt;&lt;SPAN&gt;log_param&lt;/SPAN&gt;&l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N&gt;&lt;SPAN&gt; os.path.&lt;/SPAN&gt;&lt;SPAN&gt;join&lt;/SPAN&gt;&lt;SPAN&gt;(artifact_dir, &lt;/SPAN&gt;&lt;SPAN&gt;"info.txt"&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;with&lt;/SPAN&gt; &lt;SPAN&gt;open&lt;/SPAN&gt;&lt;SPAN&gt;(artifact_path, &lt;/SPAN&gt;&lt;SPAN&gt;"w"&lt;/SPAN&gt;&lt;SPAN&gt;) &lt;/SPAN&gt;&lt;SPAN&gt;as&lt;/SPAN&gt;&lt;SPAN&gt; f:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;f.&lt;/SPAN&gt;&lt;SPAN&gt;write&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"This is a sample artifact for MLflow logging in Databricks."&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;mlflow.&lt;/SPAN&gt;&lt;SPAN&gt;log_artifact&lt;/SPAN&gt;&lt;SPAN&gt;(artifact_path)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;X &lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt; np.&lt;/SPAN&gt;&lt;SPAN&gt;array&lt;/SPAN&gt;&lt;SPAN&gt;([[&lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;], [&lt;/SPAN&gt;&lt;SPAN&gt;2&lt;/SPAN&gt;&lt;SPAN&gt;], [&lt;/SPAN&gt;&lt;SPAN&gt;3&lt;/SPAN&gt;&lt;SPAN&gt;], [&lt;/SPAN&gt;&lt;SPAN&gt;4&lt;/SPAN&gt;&lt;SPAN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N&gt;&lt;SPAN&gt;get_experiment_by_name&lt;/SPAN&gt;&lt;SPAN&gt;(experiment_name)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;print&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;f&lt;/SPAN&gt;&lt;SPAN&gt;"Experiment ID: &lt;/SPAN&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;SPAN&gt;experiment.experiment_id&lt;/SPAN&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;print&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;f&lt;/SPAN&gt;&lt;SPAN&gt;"Artifact Location: &lt;/SPAN&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;SPAN&gt;experiment.artifact_location&lt;/SPAN&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Aug 2025 08:35:05 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/ml-experiment-giving-error-resource-does-not-exist/m-p/127989#M4190</guid>
      <dc:creator>dbuser24</dc:creator>
      <dc:date>2025-08-11T08:35:05Z</dc:date>
    </item>
    <item>
      <title>Re: ML experiment giving error - RESOURCE_DOES_NOT_EXIST</title>
      <link>https://community.databricks.com/t5/machine-learning/ml-experiment-giving-error-resource-does-not-exist/m-p/127990#M4191</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/178853"&gt;@dbuser24&lt;/a&gt;&amp;nbsp;I think this is just an innocent oversight.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;In your code you have the following:&lt;BR /&gt;&lt;STRONG&gt;experiment_name&amp;nbsp;=&amp;nbsp;&lt;/STRONG&gt;&lt;SPAN&gt;&lt;STRONG&gt;"/Users/&amp;lt;username&amp;gt;/my_ml_experiment&lt;/STRONG&gt;"&lt;BR /&gt;&lt;BR /&gt;I'm assuming you were meant to fill this in and reference a directory that you have available in Databricks, or create one for this exercise. That's why the error is saying "&lt;STRONG&gt;RESOURCE_DOES_NOT_EXIST: Parent directory /Users/&amp;lt;username&amp;gt; does not exist"&lt;/STRONG&gt; .. it can't find this location.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;All the best,&lt;BR /&gt;BS&lt;/P&gt;</description>
      <pubDate>Mon, 11 Aug 2025 08:38:42 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/ml-experiment-giving-error-resource-does-not-exist/m-p/127990#M4191</guid>
      <dc:creator>BS_THE_ANALYST</dc:creator>
      <dc:date>2025-08-11T08:38:42Z</dc:date>
    </item>
    <item>
      <title>Re: ML experiment giving error - RESOURCE_DOES_NOT_EXIST</title>
      <link>https://community.databricks.com/t5/machine-learning/ml-experiment-giving-error-resource-does-not-exist/m-p/127999#M4193</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/146924"&gt;@BS_THE_ANALYST&lt;/a&gt;&amp;nbsp;Thanks for your response, there exists a directory with my username, I have just used a placeholder &amp;lt;username&amp;gt; due to company privacy policy. I have also tried the Shared direc&lt;/P&gt;</description>
      <pubDate>Mon, 11 Aug 2025 09:04:05 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/ml-experiment-giving-error-resource-does-not-exist/m-p/127999#M4193</guid>
      <dc:creator>dbuser24</dc:creator>
      <dc:date>2025-08-11T09:04:05Z</dc:date>
    </item>
    <item>
      <title>Re: ML experiment giving error - RESOURCE_DOES_NOT_EXIST</title>
      <link>https://community.databricks.com/t5/machine-learning/ml-experiment-giving-error-resource-does-not-exist/m-p/128001#M4194</link>
      <description>&lt;P&gt;Does ML experiments need some king of setting at the admin level ? As, other members in the team are also getting the same error.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Aug 2025 09:04:53 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/ml-experiment-giving-error-resource-does-not-exist/m-p/128001#M4194</guid>
      <dc:creator>dbuser24</dc:creator>
      <dc:date>2025-08-11T09:04:53Z</dc:date>
    </item>
    <item>
      <title>Re: ML experiment giving error - RESOURCE_DOES_NOT_EXIST</title>
      <link>https://community.databricks.com/t5/machine-learning/ml-experiment-giving-error-resource-does-not-exist/m-p/128019#M4195</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/178853"&gt;@dbuser24&lt;/a&gt;&amp;nbsp;perhaps a way to determine this would be trying this in the Databricks Free Edition? This could provide some insight.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;By the sounds of the error message, it seems more like a permissioning issue with regard to be able to create/read from a directory.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;If you have a Free Edition, could you try one of the following notebooks/guides (they've worked for me previously)&lt;/P&gt;&lt;P&gt;I imported this notebook from this resource:&amp;nbsp;&lt;A href="https://docs.databricks.com/aws/en/mlflow/end-to-end-example" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.databricks.com/aws/en/mlflow/end-to-end-example&lt;/A&gt;&amp;nbsp;If you look at the navigation bar on the left hand side of the website, you'll see there's a few out of the box examples you can just import into your environment.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I tried this one:&amp;nbsp;&lt;A href="https://docs.databricks.com/aws/en/notebooks/source/mlflow/mlflow-classic-ml-e2e-mlflow-3.html" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.databricks.com/aws/en/notebooks/source/mlflow/mlflow-classic-ml-e2e-mlflow-3.html&lt;/A&gt;&amp;nbsp;and it's worked perfectly fine in my databricks free environment. I'm not too familiar with all the ML components in Databricks but it's working. All it required was for me to create a Catalog called "main". I didn't want to change all the catalog names in the paths that get referenced haha!&lt;/P&gt;&lt;P&gt;Definitely a really cool resource that I've linked though. I'll be learning ML by examples through that. For what it's worth, below is a picture of the ML Notebook working in my environment:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BS_THE_ANALYST_0-1754905331019.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/18924i34EAC0620891C122/image-size/medium?v=v2&amp;amp;px=400" role="button" title="BS_THE_ANALYST_0-1754905331019.png" alt="BS_THE_ANALYST_0-1754905331019.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;All the best,&lt;BR /&gt;BS&lt;/P&gt;</description>
      <pubDate>Mon, 11 Aug 2025 09:43:37 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/ml-experiment-giving-error-resource-does-not-exist/m-p/128019#M4195</guid>
      <dc:creator>BS_THE_ANALYST</dc:creator>
      <dc:date>2025-08-11T09:43:37Z</dc:date>
    </item>
    <item>
      <title>Re: ML experiment giving error - RESOURCE_DOES_NOT_EXIST</title>
      <link>https://community.databricks.com/t5/machine-learning/ml-experiment-giving-error-resource-does-not-exist/m-p/128024#M4196</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/178853"&gt;@dbuser24&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;What type of cluster do you use? Which access mode and runtime?&lt;/P&gt;</description>
      <pubDate>Mon, 11 Aug 2025 10:05:45 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/ml-experiment-giving-error-resource-does-not-exist/m-p/128024#M4196</guid>
      <dc:creator>szymon_dybczak</dc:creator>
      <dc:date>2025-08-11T10:05:45Z</dc:date>
    </item>
    <item>
      <title>Re: ML experiment giving error - RESOURCE_DOES_NOT_EXIST</title>
      <link>https://community.databricks.com/t5/machine-learning/ml-experiment-giving-error-resource-does-not-exist/m-p/128028#M4197</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/110502"&gt;@szymon_dybczak&lt;/a&gt;&amp;nbsp;- I am using the 16.1 ML cluster&lt;/P&gt;</description>
      <pubDate>Mon, 11 Aug 2025 10:19:01 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/ml-experiment-giving-error-resource-does-not-exist/m-p/128028#M4197</guid>
      <dc:creator>dbuser24</dc:creator>
      <dc:date>2025-08-11T10:19:01Z</dc:date>
    </item>
    <item>
      <title>Re: ML experiment giving error - RESOURCE_DOES_NOT_EXIST</title>
      <link>https://community.databricks.com/t5/machine-learning/ml-experiment-giving-error-resource-does-not-exist/m-p/128030#M4198</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/146924"&gt;@BS_THE_ANALYST&lt;/a&gt;&amp;nbsp;- Let me&amp;nbsp;try using the above references, and get back on this. Much appreciated !!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Aug 2025 10:20:14 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/ml-experiment-giving-error-resource-does-not-exist/m-p/128030#M4198</guid>
      <dc:creator>dbuser24</dc:creator>
      <dc:date>2025-08-11T10:20:14Z</dc:date>
    </item>
    <item>
      <title>Re: ML experiment giving error - RESOURCE_DOES_NOT_EXIST</title>
      <link>https://community.databricks.com/t5/machine-learning/ml-experiment-giving-error-resource-does-not-exist/m-p/128034#M4199</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/146924"&gt;@BS_THE_ANALYST&lt;/a&gt;&amp;nbsp;I imported the notebook -&amp;nbsp;&lt;A href="https://docs.databricks.com/aws/en/notebooks/source/mlflow/mlflow-classic-ml-e2e-mlflow-3.html" target="_blank"&gt;https://docs.databricks.com/aws/en/notebooks/source/mlflow/mlflow-classic-ml-e2e-mlflow-3.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;still, getting the same error - RESOURCE DOES NOT EXISTS at the step :&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;with&lt;/SPAN&gt;&lt;SPAN&gt; mlflow.&lt;/SPAN&gt;&lt;SPAN&gt;start_run&lt;/SPAN&gt;&lt;SPAN&gt;() &lt;/SPAN&gt;&lt;SPAN&gt;as&lt;/SPAN&gt;&lt;SPAN&gt; run:&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2025-08-11 at 3.58.49 PM.png" style="width: 999px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/18926iBDE0B8BF120C4835/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2025-08-11 at 3.58.49 PM.png" alt="Screenshot 2025-08-11 at 3.58.49 PM.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 11 Aug 2025 10:34:25 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/ml-experiment-giving-error-resource-does-not-exist/m-p/128034#M4199</guid>
      <dc:creator>dbuser24</dc:creator>
      <dc:date>2025-08-11T10:34:25Z</dc:date>
    </item>
    <item>
      <title>Re: ML experiment giving error - RESOURCE_DOES_NOT_EXIST</title>
      <link>https://community.databricks.com/t5/machine-learning/ml-experiment-giving-error-resource-does-not-exist/m-p/128044#M4200</link>
      <description>&lt;P&gt;I've tried run your code on my sandbox environment and I didn't encounter any issues.&lt;BR /&gt;&lt;BR /&gt;I did following steps:&lt;BR /&gt;&lt;BR /&gt;-&amp;nbsp;(1) In my workspace under my username directory I've created ML folder:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="szymon_dybczak_0-1754911903637.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/18927i7525FCF90EDB25FB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="szymon_dybczak_0-1754911903637.png" alt="szymon_dybczak_0-1754911903637.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;- (2) Next, I went to my target folder (in this case I've create ML directory) and clicked create MfFLow experiment&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="szymon_dybczak_1-1754911977108.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/18928iBBDCDE76F913C6E0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="szymon_dybczak_1-1754911977108.png" alt="szymon_dybczak_1-1754911977108.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;- (3) Now, I typed in my expirement name. If you leave artificat location, by default databricks will use following one&amp;nbsp;&lt;STRONG&gt;dbfs:/databricks/mlflow-tracking/&amp;lt;experiment-id&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="szymon_dybczak_2-1754912106997.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/18929iFBEFCC383F8F78F4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="szymon_dybczak_2-1754912106997.png" alt="szymon_dybczak_2-1754912106997.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;- (4) Now, I created a new notebook and run the code:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="szymon_dybczak_4-1754912444633.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/18931i3F3D21814BA63741/image-size/medium?v=v2&amp;amp;px=400" role="button" title="szymon_dybczak_4-1754912444633.png" alt="szymon_dybczak_4-1754912444633.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you check if you did the same kind of steps?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Aug 2025 11:52:39 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/ml-experiment-giving-error-resource-does-not-exist/m-p/128044#M4200</guid>
      <dc:creator>szymon_dybczak</dc:creator>
      <dc:date>2025-08-11T11:52:39Z</dc:date>
    </item>
    <item>
      <title>Re: ML experiment giving error - RESOURCE_DOES_NOT_EXIST</title>
      <link>https://community.databricks.com/t5/machine-learning/ml-experiment-giving-error-resource-does-not-exist/m-p/128046#M4201</link>
      <description>&lt;P&gt;sure&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/110502"&gt;@szymon_dybczak&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Aug 2025 11:49:40 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/ml-experiment-giving-error-resource-does-not-exist/m-p/128046#M4201</guid>
      <dc:creator>dbuser24</dc:creator>
      <dc:date>2025-08-11T11:49:40Z</dc:date>
    </item>
    <item>
      <title>Re: ML experiment giving error - RESOURCE_DOES_NOT_EXIST</title>
      <link>https://community.databricks.com/t5/machine-learning/ml-experiment-giving-error-resource-does-not-exist/m-p/128061#M4202</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/110502"&gt;@szymon_dybczak&lt;/a&gt;&amp;nbsp;for the detailed steps. In addition to the above I had to write the logic to create directory if not present to get it working -&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;parent_dir &lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt; os.path.&lt;/SPAN&gt;&lt;SPAN&gt;dirname&lt;/SPAN&gt;&lt;SPAN&gt;(experiment_name)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;dbutils.fs.&lt;/SPAN&gt;&lt;SPAN&gt;mkdirs&lt;/SPAN&gt;&lt;SPAN&gt;(parent_dir)&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;To summarise -&amp;nbsp;&lt;BR /&gt;1. Created the ML experiment from within the directory.&lt;BR /&gt;2. Verified and corrected the full path of the experiment.&lt;/DIV&gt;&lt;DIV&gt;3. Added permission at the experiment level.&lt;/DIV&gt;&lt;DIV&gt;4. Added logic to create the directory if not present.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2025-08-11 at 5.44.04 PM.png" style="width: 278px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/18940i60B1697AA40275AB/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2025-08-11 at 5.44.04 PM.png" alt="Screenshot 2025-08-11 at 5.44.04 PM.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2025-08-11 at 5.54.32 PM.png" style="width: 999px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/18941iA0173C3021ABBDFE/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2025-08-11 at 5.54.32 PM.png" alt="Screenshot 2025-08-11 at 5.54.32 PM.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2025-08-11 at 5.53.43 PM.png" style="width: 999px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/18942i020DD3B3CAE25302/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2025-08-11 at 5.53.43 PM.png" alt="Screenshot 2025-08-11 at 5.53.43 PM.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2025-08-11 at 5.43.52 PM.png" style="width: 256px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/18943i16A49CE3F8A955D1/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2025-08-11 at 5.43.52 PM.png" alt="Screenshot 2025-08-11 at 5.43.52 PM.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 11 Aug 2025 12:32:02 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/ml-experiment-giving-error-resource-does-not-exist/m-p/128061#M4202</guid>
      <dc:creator>dbuser24</dc:creator>
      <dc:date>2025-08-11T12:32:02Z</dc:date>
    </item>
    <item>
      <title>Re: ML experiment giving error - RESOURCE_DOES_NOT_EXIST</title>
      <link>https://community.databricks.com/t5/machine-learning/ml-experiment-giving-error-resource-does-not-exist/m-p/128063#M4203</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/110502"&gt;@szymon_dybczak&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/146924"&gt;@BS_THE_ANALYST&lt;/a&gt;&amp;nbsp;- This is resolved, appreciate all the support.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Aug 2025 12:33:30 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/ml-experiment-giving-error-resource-does-not-exist/m-p/128063#M4203</guid>
      <dc:creator>dbuser24</dc:creator>
      <dc:date>2025-08-11T12:33:30Z</dc:date>
    </item>
    <item>
      <title>Re: ML experiment giving error - RESOURCE_DOES_NOT_EXIST</title>
      <link>https://community.databricks.com/t5/machine-learning/ml-experiment-giving-error-resource-does-not-exist/m-p/128064#M4204</link>
      <description>&lt;P&gt;Great, glad that we were able to help!&lt;/P&gt;</description>
      <pubDate>Mon, 11 Aug 2025 12:38:45 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/ml-experiment-giving-error-resource-does-not-exist/m-p/128064#M4204</guid>
      <dc:creator>szymon_dybczak</dc:creator>
      <dc:date>2025-08-11T12:38:45Z</dc:date>
    </item>
    <item>
      <title>Re: ML experiment giving error - RESOURCE_DOES_NOT_EXIST</title>
      <link>https://community.databricks.com/t5/machine-learning/ml-experiment-giving-error-resource-does-not-exist/m-p/128065#M4205</link>
      <description>&lt;P&gt;can you mark your own post as a solution as well&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/178853"&gt;@dbuser24&lt;/a&gt;? (would be useful for the additional steps)&lt;BR /&gt;&lt;BR /&gt;Appreciate you feeding back your findings.Congrats on getting it working.&lt;BR /&gt;&lt;BR /&gt;All the best,&lt;BR /&gt;BS&lt;/P&gt;</description>
      <pubDate>Mon, 11 Aug 2025 12:45:01 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/ml-experiment-giving-error-resource-does-not-exist/m-p/128065#M4205</guid>
      <dc:creator>BS_THE_ANALYST</dc:creator>
      <dc:date>2025-08-11T12:45:01Z</dc:date>
    </item>
  </channel>
</rss>

