Skip to main content

Batch plot the log files exported from VisualDL using Matplotlib.

Project description

VDLdraw

Batch plot the log files exported from VisualDL using Matplotlib.

VisualDL VDLdraw
vdlmiou Evaluate@mIoU

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.

colors

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vdldraw-0.1.7.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

vdldraw-0.1.7-py3-none-any.whl (10.6 kB view details)

Uploaded Python 3

File details

Details for the file vdldraw-0.1.7.tar.gz.

File metadata

  • Download URL: vdldraw-0.1.7.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for vdldraw-0.1.7.tar.gz
Algorithm Hash digest
SHA256 66ed065de8d552b369c46e42f8d5da332790ea7e379d42408b1b5bae26c362ee
MD5 20a5f3dff0a6f37984c51e228cefa6be
BLAKE2b-256 44ae1ca96a5ca9b15be08ccab46046f06a193215b56a193ac0cb16e4d7453ec4

See more details on using hashes here.

File details

Details for the file vdldraw-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: vdldraw-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 10.6 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for vdldraw-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 256b9511901f8004ee62312f9003da701056373a13bceb1fa83ee41e612f49d1
MD5 90e3bc6b6c2c5501e9f39a1be7f814bc
BLAKE2b-256 5a1ff8a75b22891b7f699b7fb0e320eb73d79c84889e6b786626ca6055038202

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page