Unanswered
Hello, I Am Using The Clearml Integration With Ultralytics. I Have Very Simple Code
Hi @<1644147961996775424:profile|HurtStarfish47> ,
ClearML will automatically upload you model with the original name and data, if not mistaken, best.pt is given by default from the train function.
You can rename it after the training and upload it, something like:
import shutil
# Rename best model checkpoint after training
shutil.move("runs/train/my_model/weights/best.pt", "my_model.pt")
# upload with the StorageManager
model_path = "my_model.pt"
# Define your S3 URL path (bucket and folder), e.g.,
s3_path = "
"
# Upload the file to S3
uploaded_model_path = StorageManager.upload_file(local_path=model_path, remote_url=s3_path)
print(f"Model uploaded to {uploaded_model_path}")
6 Views
0
Answers
18 days ago
18 days ago