MLflow学习使用笔记
记录学习使用MLflow过程中参考过的记录,和一些代码记录。
1、官方指导手册
《MLflow Documentation》
https://mlflow.org/docs/latest/index.html
2、《【mlflow系列1】mlflow 的搭建使用》
https://blog.csdn.net/monkeyboy_tech/article/details/109381668
3、《MLFlow︱机器学习工作流框架:MLFlow docker 实践(二)》
https://mattzheng.blog.csdn.net/article/details/114134509?utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7Edefault-6.control&depth_1-utm_source=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7Edefault-6.control
4、《MLflow机器学习工作流管理使用教程》
https://blog.csdn.net/crazybean_lwb/article/details/103289614
5、指定run_id,继续resume
6、嵌套使用mlfow
# python代码
mlflow.set_tracking_uri("http://192.168.0.1:5000/")
mlflow.set_experiment("modelname")
with mlflow.start_run(run_id = '7ca808cd94844dda99xxxxxxxxxxxx18e1c') as parent_run:
#mlflow.log_param("parent", "yes")
with mlflow.start_run(run_name='Test', nested=True) as child_run:
mlflow.log_param('conf_value', float(0.15))
eva.main_loop()
7、artifacts添加
《windows下如何生成公钥和私钥》https://www.cnblogs.com/sea-stream/p/12189874.html
在git bash 里把你电脑的 拷过去 ssh-copy-id -i .ssh/id_rsa.pub mlflow@192.168.0.1
训练的时候用mlflow.log_artifact()把日志传到mlflow