Skip to content

Releases: SwanHubX/SwanLab

v0.2.3

12 Mar 04:55
Compare
Choose a tag to compare

新增功能

  • 增加折线图平滑功能,支持3种平滑算法
  • 增加图表Pin
  • 增加图表隐藏

改进

  • 支持记住图表分组的折叠状态
  • 多媒体图表默认查看最后一个step

修复问题

  • 修复jupyter notebook初始化SwanLab会报错的问题

What's Changed

Full Changelog: v0.2.2...v0.2.3

v0.2.2

04 Mar 09:06
Compare
Choose a tag to compare

一个补丁版本。

改进

  • 多媒体图表支持通过方向键切换查看

修复问题

  • 修复部分Bug

What's Changed

Full Changelog: v0.2.1...v0.2.2

v0.2.1: Text Chart、Better Line Chart

01 Mar 13:32
Compare
Choose a tag to compare

Frame 2318

What's Changed

Full Changelog: v0.2.0...v0.2.1

v0.2.0: 🧨Image Audio Chart、Mutil-Experiment Chart

08 Feb 08:43
Compare
Choose a tag to compare

往下翻有中文版~

New Features

  • Multi-Experiment Charts: Support for comparing log data from multiple experiments within a project in a single chart.
image
  • Image Charts: Support for log image types (supports files, numpy arrays, PIL.Image, matplotlib).
image
  • Audio Charts: Support for log audio types (supports files, numpy arrays).
image
  • Support for automatically viewing information of other Charts at the same position when viewing information of one Chart.
image

Improvements

  • Added suffix parameter to swanlab.init to support customizing experiment suffixes.
  • Changed the loggings parameter in swanlab.log to logger, which will support controlling the automatically printed content in the form of a dictionary.
  • Changed the default experiment name format to: '%b%d-%h-%m-%s' (example: 'Feb03_14-45-37').
  • Changed the logdir item in Environment to the log file path of the specific experiment.
  • Added hardware data monitoring class.
  • Improved numerous UI details.

Bug Fixes

  • Fixed some line chart display errors caused by the step parameter in swanlab.log.
  • Fixed issues with logs loading unsuccessfully in some cases.

新增功能

  • 多实验对比图表:支持项目下多个实验的日志数据在一张图表中对比
image
  • 图像图表:支持log图像类型(支持文件、numpy array、PIL.Image、matplotlib)
image
  • 音频图表:支持log音频类型(支持文件、numpt array)
image
  • 支持查看1个Chart的信息时,自动查看其他Chart在相同位置的信息
image

改进

  • swanlab.init增加suffix参数支持自定义实验后缀
  • swanlab.log将loggings参数改为logger参数,将支持以字典的形式控制自动打印的内容
  • 将默认实验名称格式改为:'%b%d-%h-%m-%s'(example:'Feb03_14-45-37')
  • 将Environment中的logdir项变更为具体实验的日志文件路径
  • 增加硬件数据监看类
  • 改进大量UI细节

修复问题

  • 修复部分由swanlab.log->step参数引起的折线图显示错误
  • 修复部分情况下logs加载失败的问题

贡献者

@SAKURA-CAT @Feudalman @Nexisato @KashiwaByte @little1d @xiaolin199912

v0.1.6

25 Jan 16:23
a58975b
Compare
Choose a tag to compare

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

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

优化

修复

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

v0.1.5: Use SQLite and Peewee; Experiment List add export CSV; Add API swanlab.config

23 Jan 08:13
d90718d
Compare
Choose a tag to compare

🚨 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

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

新增功能

优化

问题修复

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

Full Changelog: v0.1.4...v0.1.5

v0.1.4: New UI, More environment recording

13 Jan 11:51
19b5b2c
Compare
Choose a tag to compare

New Features

  • New UI & UX By @SAKURA-CAT, @Feudalman in #177
  • Responsive page design: Optimized viewing experience for various resolution devices such as mobile phones and tablets. By @SAKURA-CAT, @Feudalman, #177
  • Addition of automatic environment recording: Command, Git Branch, Git Commit, Memory. By @xiaolin199912 in #169
  • Addition of automatic environment recording for Requirements - Supports automatically recording the pip environment list of the current training environment. By @xiaolin199912 in #169
  • Logs and Requirements support search, copy and download by @Feudalman in #179, #173
  • swanlab.init adds API logdir: Supports setting the save location of log files. By @SAKURA-CAT ,@Feudalman in #142
  • swanlab watch adds API --logdir, supports specifying the location of log files to be read.
  • swanlab.init->config supports calling like Argparse by @xiaolin199912,@SAKURA-CAT in #178 examples:
import swanlab

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

print(run.config.epoch)

Optimization

  • Optimized logic for displaying x-axis on Charts by SAKURA-CAT.
  • Optimized auto-refresh logic for Charts to improve performance by SAKURA-CAT.
  • Optimized record format for extremely small and large numbers on Charts and Summary by SAKURA-CAT,@Feudalman in #196.
  • Added unit tests by Ink in #171.

Bug Fixes

  • Fixed an issue with recording Requirements: by xiaolin199912in 184#
  • Fixed display issue when rounding floating point numbers on Charts: by Feudalman in #105.

新增功能

  • 全新的UI & UX By @SAKURA-CAT@Feudalman in #177
  • 页面响应式:优化手机、平板等各种分辨率设备查看实验看板的体验 By @SAKURA-CAT@Feudalman#177
  • 自动环境记录增加:Command 、Git Branch、Git Commit、内存 By @xiaolin199912 in #169
  • 自动环境记录增加Requirements-支持自动记录当前训练环境的pip环境列表 By @xiaolin199912 in #169
  • Logs、Requirements支持搜索、复制与下载 by @Feudalman in #179#173
  • swanlab.init增加APIlogdir:支持设定日志文件的保存位置 by @SAKURA-CAT@Feudalman in #142
  • swanlab watch增加API--logdir,支持指定要读取的日志文件位置,
  • swanlab.init->config支持形如Argparse的方式调用 by @xiaolin199912、@SAKURA-CAT in #178, examples:
import swanlab

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

print(run.config.epoch)

优化

问题修复

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

Full changes: v0.1.3...v0.1.4

v0.1.3: Delete and Modify

07 Jan 10:28
afcbb50
Compare
Choose a tag to compare

New Features

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

新增功能

优化

  • 完善实验表格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

问题修复

Full change: v0.1.2...v0.1.3

v0.1.2: Fix Some Bugs

31 Dec 16:48
Compare
Choose a tag to compare

💥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

Full change: v0.1.1...v0.1.2

v0.1.1: Increase multiple experimental comparison tables

26 Dec 14:41
Compare
Choose a tag to compare

New Feature

  • Add Experimental Comparison Table to compare various experimental configurations and results, ⚡️find the most critical training optimization points!
  • Add more experimental parameter records in Overview
    • Python executable directory
    • System Hardware
    • Git repository path
    • Swanlab version

Frontend Updates

  • Update the brand new table component to achieve a better interactive experience: #77
  • Adjust the time display format: #80, #67

API Updates

  • swanlab.log adds parameter step

Pull requests