question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Thank you for submitting an issue. Please refer to our issue policy for information on what types of issues we address.

Please fill in this installation issue template to ensure a timely and thorough response.

System information

  • OS Platform and Distribution (e.g., Linux Ubuntu 16.04):

  • Edition Windows 11 Enterprise Version 21H2 Installed on ‎6/‎5/‎2021 OS build 22000.613 Experience Windows Feature Experience Pack 1000.22000.613.0

  • MLflow installed from (source or binary): binary

  • MLflow version (run mlflow --version): 1.25.1

  • Python version: 3.10.4

  • Exact command to reproduce: with(mlflow_start_run(), { mlflow_set_tag(“mlflow.runName”, “randomForest”) fit <- train(as.factor(Y_AcceptedOffer) ~ ., data=treatedTrain, method=“rf”, metric=metric, trControl=control)

    jpeg(filename=“1.jpeg”) print(plot(fit)) dev.off()

    Save the plot and log it as an artifact

    mlflow_log_artifact(“1.jpeg”) accu_train <- get_accuracy(fit, treatedTrain) accu_test <- get_accuracy(fit, treatedTest)

    message(" accu_train: “, accu_train) message(” accu_test: “, accu_test) message(” splitPercent: “, splitPercent) message(” seed: “, seed) message(” device: ", getOption(“device”)) mlflow_log_metric(“accu_train”, accu_train) mlflow_log_metric(“accu_test”, accu_test) mlflow_log_param(“splitPercent”, splitPercent) mlflow_log_param(“seed”, seed) mlflow_log_param(“method”, “adaptive_cv”) mlflow_log_param(“number”, “9”)

})

Describe the problem

Provide the exact sequence of commands / steps that you executed before running into the problem.

library(mlflow) #getting this point is done in another script treatedTrain <- training treatedTest <- testing

control <- trainControl(method=“adaptive_cv”, number=9, verboseIter = TRUE,allowParallel = TRUE) metric <- “Accuracy”

Sys.setenv(MLFLOW_PYTHON_BIN = “C://python”) Sys.setenv(MLFLOW_BIN=“C://python//Scripts//mlflow”)

with(mlflow_start_run(), { mlflow_set_tag(“mlflow.runName”, “randomForest”) fit <- train(as.factor(Y_AcceptedOffer) ~ ., data=treatedTrain, method=“rf”, metric=metric, trControl=control)

jpeg(filename=“1.jpeg”) print(plot(fit)) dev.off()

Save the plot and log it as an artifact

mlflow_log_artifact(“1.jpeg”) accu_train <- get_accuracy(fit, treatedTrain) accu_test <- get_accuracy(fit, treatedTest)

message(" accu_train: “, accu_train) message(” accu_test: “, accu_test) message(” splitPercent: “, splitPercent) message(” seed: “, seed) message(” device: ", getOption(“device”)) mlflow_log_metric(“accu_train”, accu_train) mlflow_log_metric(“accu_test”, accu_test) mlflow_log_param(“splitPercent”, splitPercent) mlflow_log_param(“seed”, seed) mlflow_log_param(“method”, “adaptive_cv”) mlflow_log_param(“number”, “9”)

})

Other info / logs

Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached. Error message:

Error in wait_for(function() mlflow_rest(“experiments”, “list”, client = client), : Operation failed after waiting for 10 seconds

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:7

github_iconTop GitHub Comments

1reaction
dbczumarcommented, Apr 15, 2022

@mkspwr What is the error that you’re facing? cc @WeichenXu123

0reactions
WeichenXu123commented, Apr 27, 2022

A fixing PR for mlflow-R was merged: https://github.com/mlflow/mlflow/pull/5767 Could you build latest mlflow-R from master and retry ? 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Set Up a Bug Bounty Program in 10 Steps
Step 1. Launch a vulnerability disclosure program without monetary benefits: · Step 2. Carefully craft and communicate the scope and pricing of your...
Read more >
How to set up a bug-free development environment!
Learn how to set up your bug-free development environment. Get tips for the perfect development machine as well as on the QA and...
Read more >
Setting Up the Classroom for the Bug Theme | Insects ...
This week we are setting up the toddler and preschool classroom for the bug theme. We'll be doing lots of exploring inside and...
Read more >
How to set up a Bug Triage Process?
Understand how and why every software company needs to have a bug triage process for finding anomalies in the product or service offerings....
Read more >
How do I launch a bug bounty program?
Set up a clear means of communication internally in order to help working together, and set up a [email protected] or [email protected]...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found