Skip to content

Instantly share code, notes, and snippets.

@Cortys
Cortys / migrate_data.py
Last active March 11, 2022 00:23 — forked from weldpua2008/migrate_data.py
MLFlow migration script from filesystem to database tracking data. Adapted to support MLFlow 1.18+ and SQLite.
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Migration From FileBased store of MLFlow 0.8 up to 1.8.0
Credits:
* Based on work of bnekolny https://gist.github.com/bnekolny/8ec96faa0d57913eea6bb7848c06b912
* Latest version https://gist.github.com/weldpua2008/7f0c4644d247bd0fc7ba9a83c2d337d5
requirements:
pyyaml version 5.1 was required