SwanLab

⚡️SwanLab: your ML experiment notebook. 你的AI实验笔记本,跟踪与可视化你的机器学习全流程

APACHE-2.0 License

Downloads
4.3K
Stars
269
Committers
15

Bot releases are hidden (Show)

SwanLab - v0.2.0

Published by SAKURA-CAT 9 months ago

SwanLab - v0.1.6

Published by xiaolin199912 9 months ago

New Features

  • Added APIloggings to swanlab.init and swanlab.log, which automatically prints metrics to the terminal when loggings are enabled by @xiaolin199912 @Feudalman in #277
  • New Config/Summary table component with support for parameter search by @Feudalman @SAKURA-CAT in #271

Improvement

  • improve web page fonts by @xiaolin199912 in #278
  • improve web page header by @little1d in #260
  • Fixed an problem where NaN appears in swanlab.log by @SAKURA-CAT @Feudalman in #273

Bug Fixes

  • Fixed an issue where running "swanlab watch" in Python 3.8 would result in an error by @Feudalman in #271
  • Fixed a problem where incompatible data types in swanlab.log would cause GridView and Summary components to crash by @SAKURA-CAT @Feudalman in #273

新增功能

  • swanlab.init与swanlab.log增加APIloggings,开启loggings时将自动打印指标到终端 by @xiaolin199912 @Feudalman in #277
  • 新的Config/Summary表格组件,支持参数搜索 by @Feudalman @SAKURA-CAT in #271

优化

  • 优化网页字体 by @xiaolin199912 in #278
  • 优化网页Header by @little1d in #260
  • 优化swanlab.log出现NaN的情况 by @SAKURA-CAT @Feudalman in #273

修复

  • 修复在python3.8版本时运行swanlab watch会报错的问题 by @Feudalman in #271
  • 修复当swanlab.log出现非兼容类型数据时会导致GridView和Summary组件崩溃的问题 by @SAKURA-CAT @Feudalman in #273

🚨 Breaking News

In the version, we replaced the previous basic configuration information read/write solution with SQLite database and Peewee library. This is a major change that is highly beneficial for the future of the project, but it is not compatible with old versions (swanlab<=v0.1.4) of log data files. Therefore, if you need to visualize log files generated by old versions, please use transfer script.

在此版本,我们使用SQLite数据库和Peewee库替代了之前的基础配置信息读写方案。这是个极大有利于项目未来的改动,但缺陷是不兼容旧版本(swanlab<=v0.1.4)的日志数据文件,所以如需可视化旧版本产生的日志文件,使用转换脚本

New Features

  • Replaced the previous basic configuration information read/write solution with SQLite database and Peewee library (#114) by @SAKURA-CAT @Feudalman in #203 #202.
  • Experiment list supports quick export of CSV files by @Feudalman in #206
  • Experiment list supports "Summary Only" view by @Feudalman in #230
  • Experiment list supports search by @Feudalman in #230
  • Environment item added "Quick Copy" interaction by @Feudalman in #250
  • Automatic environment recording adds logdir and Run path by @Feudalman @KashiwaByte in #205
  • New API swanlab.config by @xiaolin199912 @SAKURA-CAT in #248

Optimization

  • Optimized part of UI by @SAKURA-CAT @Feudalman in #209
  • Added Y-axis line to line chartby @SAKURA-CATin #214
  • Optimized error message: The path to the log file read by swanlab watch does not exist by @xiaolin199912 in #239
  • Added Prisma support for @swpfY in #255

Bug Fixes

 - Fixed an issue where an error would occur when passing parameters into the hydra library by @xiaolin199912 in #237
 - Fixed an issue where swanlab.log would throw an error when encountering a key with spaces in a dictionary passed as input by @SAKURA-CAT in #211
 - Fixed an issue where an error would occur when running a training script in a path without initializing git by @xiaolin199912 in #217

新增功能

  • 使用SQLite数据库和Peewee库替代了之前的基础配置信息读写方案(#114) by @SAKURA-CAT @Feudalman in #203 #202
  • 实验列表支持快速导出CSV文件 @Feudalman in #206
  • 实验列表支持“仅看Summary” @Feudalman in #230
  • 实验列表支持搜索 @Feudalman in #230
  • 环境项增加“快捷复制”交互 @Feudalman in #250
  • 自动环境记录增加 logdir、Run path @Feudalman @KashiwaByte in #205
  • 新的APIswanlab.config @xiaolin199912 @SAKURA-CAT in #248

优化

  • 优化部分UI @SAKURA-CAT @Feudalman in #209
  • 折线图增加Y轴线 @SAKURA-CAT in #214
  • 优化报错信息:swanlab watch读取的日志文件路径不存在 @xiaolin199912 in #239
  • 增加Prisma支持 @swpfY in #255

问题修复

  • 修复在hydra库传入参数时会报错的问题 @xiaolin199912 in #237
  • 修复swanlab.log传入字典的key在出现空格时报错的问题 @SAKURA-CAT in #211
  • 修复运行训练脚本的路径下没有初始化git时会出现报错的问题 @xiaolin199912 in #217

Full Changelog: https://github.com/SwanHubX/SwanLab/compare/v0.1.4...v0.1.5

SwanLab - v0.1.4

Published by SAKURA-CAT 9 months ago

新增功能

  • 全新的UI & UX By @SAKURA-CAT@Feudalman in #177

  • 页面响应式:优化手机、平板等各种分辨率设备查看实验看板的体验 By @SAKURA-CAT@Feudalman,#177

  • 自动环境记录增加 By @xiaolin199912,#169:

    • Command
    • Git Branch
    • Git Commit
    • 内存
    • Requirements-支持自动记录当前训练环境的pip环境列表
  • Logs、Requirements支持搜索、复制与下载 by @Feudalman,#179,#173

  • 新API by @SAKURA-CAT@Feudalman@xiaolin199912,#142:

    • swanlab.init增加APIlogdir:支持设定日志文件的保存位置,
    • swanlab watch增加API--logdir:支持指定要读取的日志文件位置,
  • swanlab.init->config支持形如Argparse的方式调用 by @xiaolin199912@SAKURA-CAT, #178:

import swanlab 

run = swanlab.init(
    config={'epoch': 20}
    )

print(run.config.epoch)
#输出20

优化

  • 优化Charts横坐标的显示逻辑 by @SAKURA-CAT
  • 优化Charts的自动刷新逻辑,提高性能 by @SAKURA-CAT
  • 优化Charts、Summary对极小数、极大数的记录方式 by @SAKURA-CAT@Feudalman in #196
  • 增加单元测试 by @Ink in #171

问题修复

  • 修复记录Requirements时的问题:by@xiaolin199912 in #184
  • 修复Charts记录取整的浮点数时的显示问题:by in #105

贡献者

@SAKURA-CAT@Feudalman@xiaolin199912@Ink

SwanLab - v0.1.3: Delete and Modify

Published by SAKURA-CAT 10 months ago

New Features

  • Support for deleting projects and experiments on the web by @Feudalman in #109, #140, #128
  • Support for modifying names and descriptions of projects and experiments on the web by @Feudalman in #109, #158, #116
  • Add experiment time suffix by @SAKURA-CAT in #96
  • Default project name is the folder name where the training script runs by @SAKURA-CAT in #127

Optimization

  • Improve the interaction and performance of the experimental table component in Table @Feudalman in #156, #110,
  • Optimize pypi display information @SAKURA-CAT in #137
  • Add message popup component and placeholder @Feudalman in #131
  • Improve the style of the message popup component @Feudalman in #144
  • Add function to get git branch name and latest commit hash @xiaolin199912 in #159
  • Rename OverView to Project Dashboard

Problem Fix

  • Fixed the formatting issue when recording terminal logs in Logs @Feudalman in #124
  • Fixed the duplicate name problem @Feudalman in #130
  • Fixed the error of port occupation in experimental dashboard @SAKURA-CAT in #100
  • Improved error page redirection @Feudalman in #149
  • Fixed the error warning issue when running experimental dashboard @SAKURA-CAT in #150

新增功能

  • 项目和实验支持在网页端删除 by @Feudalman in #109 , #140 , #128
  • 项目和实验支持在网页端修改名称和描述 by @Feudalman in #109, #158 , #116
  • 增加实验时间后缀名 by @SAKURA-CAT in #96
  • 默认项目名为运行训练脚本的文件夹名 by @SAKURA-CAT in #127

优化

  • 完善实验表格Table组件的交互与性能 @Feudalman in #156, #110 ,
  • 优化pypi展示信息 @SAKURA-CAT in #137
  • 增加消息弹窗组件、占位符 @Feudalman in #131
  • 完善消息弹窗组件样式 @Feudalman in #144
  • 增加git分支名和最新commit hash的函数 @xiaolin199912 in #159
  • OverView 改名为 Project Dashboard

问题修复

  • 修复记录终端日志Logs时出现的格式错乱问题 @Feudalman in #124
  • 修复重名问题 @Feudalman in #130
  • 修复实验看板端口占用报错问题 @SAKURA-CAT in #100
  • 完善错误页面跳转 @Feudalman in #149
  • 修复运行实验看板时的错误warning问题 @SAKURA-CAT in #150

Full change: https://github.com/SwanHubX/SwanLab/compare/v0.1.2...v0.1.3

SwanLab - v0.1.2: Fix Some Bugs

Published by SAKURA-CAT 10 months ago

💥Breaking News

Strongly recommend updating to this version, because a large number of issues in version 0.1.1 have been resolved.

pip install -U swanlab

What's changed

  • Improved the data update frequency of Charts, added request status mapping by @SAKURA-CAT , #91
  • Fixed the issue where the OverView status of projects and experiments was not updated when training is completed by @SAKURA-CAT , #92
  • Fixed the error that occurs when there is a slash in the key of the data parameter in swanlab.log by @SAKURA-CAT #79
  • Fixed the display issue when the value of the data parameter in swanlab.log is a string or other non-standard type by @SAKURA-CAT , #86
  • Optimized the range of values for Chart, now determined by the maximum and minimum values ​​of recorded data by @SAKURA-CAT , #102
  • Optimized experiment table component by @Feudalman , #106 and #88
  • Added functions to record command and requirements by @xiaolin199912 ,#111
  • Added git hooks for formatting code execution or test submission  by @swpfY ,#113
  • Fixed duplicate column issue in experiment table when uploading keys with slashes by @Feudalman ,#118

New contributors

  • @swpfY made their first contribution in #113

Full change: https://github.com/SwanHubX/SwanLab/compare/v0.1.1...v0.1.2

SwanLab - v0.1.1

Published by SAKURA-CAT 10 months ago

SwanLab - v0.1.0

Published by SAKURA-CAT 10 months ago

SwanLab - v0.0.2

Published by SAKURA-CAT 10 months ago

New Feature

  • Record terminal print logs and capture errors @SAKURA-CAT @Feudalman
  • Restructured log file format (no longer compatible with log structure of version 0.0.1) @SAKURA-CAT

Frontend Updates

  • Error pages @Feudalman @SAKURA-CAT
  • Modified chart grouping names and styles @Feudalman
  • Updated default project name @Feudalman
  • Chart style (line chart) updates with bold titles @SAKURA-CAT

Other Updates

  • Optimized terminal print messages @SAKURA-CAT @Feudalman
  • Selection of chart colors @xiaolin199912
  • Experiment sorting changed to reverse order #20 @Feudalman
  • Use 'host' parameter instead of 'share' parameter #17 @SAKURA-CAT
Package Rankings
Top 20.83% on Pypi.org
Badges
Extracted from project README
Overview swanlab
Related Projects