<?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 Mlflow Error in Databricks notebooks in Machine Learning</title>
    <link>https://community.databricks.com/t5/machine-learning/mlflow-error-in-databricks-notebooks/m-p/41329#M2083</link>
    <description>&lt;P&gt;Getting this error in experiments tab of databricks notebook.&lt;BR /&gt;&lt;STRONG&gt;There was an error loading the runs. The experiment resource may no longer exist or you no longer have permission to access it.&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AmanJain1008_0-1692877356155.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/3246iB04A3CA8B67A529C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AmanJain1008_0-1692877356155.png" alt="AmanJain1008_0-1692877356155.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;here is the code I am using&lt;/P&gt;&lt;LI-CODE lang="python"&gt;mlflow.tensorflow.autolog()
with mlflow.start_run(run_name = "sample_run_2") as run:
    mlflow.log_param("eval_result", 4)
    mlflow.log_param("new", 4)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;I am using a GPU cluster with 9.1 runtime and mlflow version in 1.28.0&lt;/P&gt;</description>
    <pubDate>Thu, 24 Aug 2023 11:43:25 GMT</pubDate>
    <dc:creator>AmanJain1008</dc:creator>
    <dc:date>2023-08-24T11:43:25Z</dc:date>
    <item>
      <title>Mlflow Error in Databricks notebooks</title>
      <link>https://community.databricks.com/t5/machine-learning/mlflow-error-in-databricks-notebooks/m-p/41329#M2083</link>
      <description>&lt;P&gt;Getting this error in experiments tab of databricks notebook.&lt;BR /&gt;&lt;STRONG&gt;There was an error loading the runs. The experiment resource may no longer exist or you no longer have permission to access it.&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AmanJain1008_0-1692877356155.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/3246iB04A3CA8B67A529C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AmanJain1008_0-1692877356155.png" alt="AmanJain1008_0-1692877356155.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;here is the code I am using&lt;/P&gt;&lt;LI-CODE lang="python"&gt;mlflow.tensorflow.autolog()
with mlflow.start_run(run_name = "sample_run_2") as run:
    mlflow.log_param("eval_result", 4)
    mlflow.log_param("new", 4)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;I am using a GPU cluster with 9.1 runtime and mlflow version in 1.28.0&lt;/P&gt;</description>
      <pubDate>Thu, 24 Aug 2023 11:43:25 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/mlflow-error-in-databricks-notebooks/m-p/41329#M2083</guid>
      <dc:creator>AmanJain1008</dc:creator>
      <dc:date>2023-08-24T11:43:25Z</dc:date>
    </item>
    <item>
      <title>Re: Mlflow Error in Databricks notebooks</title>
      <link>https://community.databricks.com/t5/machine-learning/mlflow-error-in-databricks-notebooks/m-p/41381#M2086</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/87293"&gt;@AmanJain1008&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Thank you for posting your question in the Databricks Community.&lt;/P&gt;&lt;P&gt;Could you kindly check whether you are able to reproduce the issue with the below code examples:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;# Import Libraries
import pandas as pd
import numpy as np
import mlflow
import mlflow.sklearn

# Load Data
data = {'Feature1': np.random.rand(10), 'Feature2':np.random.rand(10), 'Label': np.random.randint(0,2,10)}
df = pd.DataFrame(data)

# Separating features and target variable
X = df[['Feature1','Feature2']]
y = df['Label']&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;import tensorflow as tf
# enabling autologging for TensorFlow
mlflow.tensorflow.autolog()

# Start an MLflow run with a specified run name
with mlflow.start_run(run_name="sample_run_2") as run:
  
  # Specify evaluations results and new process parameter values
  eval_result = 4
  new = 4

  # Log the evaluations results and new process parameter values
  mlflow.log_param("eval_result", eval_result)
  mlflow.log_param("new", new)
  
  # Train a model using TensorFlow
  model = tf.keras.Sequential([
      tf.keras.layers.Dense(10, input_shape=(X.shape[1],), activation='relu'),
      tf.keras.layers.Dense(1, activation='sigmoid'),
  ])
  
  model.compile(loss='binary_crossentropy', optimizer='adam', metrics=['accuracy'])
  model.fit(X, y, epochs=10, batch_size=1)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Aug 2023 17:09:08 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/mlflow-error-in-databricks-notebooks/m-p/41381#M2086</guid>
      <dc:creator>Kumaran</dc:creator>
      <dc:date>2023-08-24T17:09:08Z</dc:date>
    </item>
  </channel>
</rss>

