Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ADVICE] Support log export #675

Open
13 tasks
Puiching-Memory opened this issue Aug 14, 2024 · 1 comment
Open
13 tasks

[ADVICE] Support log export #675

Puiching-Memory opened this issue Aug 14, 2024 · 1 comment
Labels
🏠 advice advice to the project

Comments

@Puiching-Memory
Copy link
Contributor

🤪 Features description [Please make everyone to understand it]

The plan will support exports in the following formats:

  • csv
  • txt
  • json
  • db(sqlite3)
  • html (single)
  • pdf

After exporting, we can provide compression in the following formats:

  • zip
  • rar
  • 7zip
  • tar
  • gzip

Of course, we also need the ability to load the exported logs back:

  • decode
  • unzip

👍 What problem does this feature solve

#360
#166

👾 What does the proposed API look like

swanlab.export(log_path,format,using_zip)
swanlab.import(log_file,save_path)

cil

swanlab export --log_path {} --format {} --using_zip {}
swanlab import --log_file {} --save_path {}
@Puiching-Memory Puiching-Memory added the 🏠 advice advice to the project label Aug 14, 2024
@SAKURA-CAT
Copy link
Contributor

我比较好奇,这个功能的主要用途在于什么地方呢?我没有太理解

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏠 advice advice to the project
Projects
None yet
Development

No branches or pull requests

2 participants