getaround-api / export_trained_model.py
AntOG96's picture
Initial commit
173ba95
Raw History Blame Contribute Delete
413 Bytes
import shutil
# Chemin complet du modèle que tu veux exporter
source_path = "mlruns/181198585705168272/models/m-ad163c4e6fa94a90ad9d38f10f938577/artifacts"
# Destination où tu veux sauvegarder le modèle “en dur”
destination_path = "./exported_model"
# Copie tout le dossier
shutil.copytree(source_path, destination_path, dirs_exist_ok=True)
print(f"✅ Modèle exporté en dur dans {destination_path}")