VDLdraw
Batch plot the log files exported from VisualDL using Matplotlib.
| VisualDL | VDLdraw |
|---|---|
How to install
It can be installed through pip:
pip install vdldraw
How to use
Online experiences in AI Studio (Chinese).
from vdldraw import get_tags, vdl_draw_folder
## 1.View available tags
get_tags(log_folder)
# Output like this:
# ['Evaluate/F1', 'Train/loss', 'Evaluate/mIoU', 'Evaluate/Acc']
## 2.Make up tags to be displayed
tag_list = ['Evaluate/mIoU', 'Evaluate/Acc']
## 3.Save image
vdl_draw_folder(log_folder, tag_list, save_folder="output", mplstyle=None)
# Args:
# log_folder (str): Folder path where logs are saved.
# tag_list (list): List of tags to be displayed.
# save_folder (str, option): Folder path to save pictures. Default: "output".
# mplstyle (str/path): Matplotlib style system. Default: None(Styles defined using VDLdraw).
Colormap
Colormap reference antv's contrasting orange, 20 colors in total.
Style
If you need use some styles, you could use SciencePlots. This repo has Matplotlib styles to format your figures for scientific papers, presentations and theses.
Release files for vdldraw 0.1.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| vdldraw-0.1.7.tar.gz | 6.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| vdldraw-0.1.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 17.0 kB
Release files / vdldraw-0.1.7.tar.gz
| Download URL | vdldraw-0.1.7.tar.gz |
|---|---|
| Size | 6.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
66ed065de8d552b369c46e42f8d5da332790ea7e379d42408b1b5bae26c362ee
|
|
BLAKE2b-256 checksum How to use checksums |
44ae1ca96a5ca9b15be08ccab46046f06a193215b56a193ac0cb16e4d7453ec4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.8.10
|
Release files / vdldraw-0.1.7-py3-none-any.whl
| Download URL | vdldraw-0.1.7-py3-none-any.whl |
|---|---|
| Size | 10.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
256b9511901f8004ee62312f9003da701056373a13bceb1fa83ee41e612f49d1
|
|
BLAKE2b-256 checksum How to use checksums |
5a1ff8a75b22891b7f699b7fb0e320eb73d79c84889e6b786626ca6055038202
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.8.10
|