Skip to content

Instantly share code, notes, and snippets.

View RogerioLS's full-sized avatar
🎯
Focusing

Merovingio RogerioLS

🎯
Focusing
View GitHub Profile
@RogerioLS
RogerioLS / gist_mlflow_with_s3.md
Created February 21, 2025 20:45
Solution on how to work around the issue with logging mlflow artifacts with s3.

Hello everyone, I recently came across this problem where MLflow artifacts were not registered in S3 even though I provided the artifact address. I saw that some colleagues were also experiencing this, so I decided to share the code that helped me solve this problem. It is very simple. Here is the code.

import mlflow
import mlflow.pytorch
from ultralytics import YOLO
import os
import time
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.