pytorchHair
  • Pytorch Hair Segmentation
  • Introduction
    • Semantic Segmentation 이란?
    • Figaro1k Dataset
  • 모델
    • PSPNet
    • DeepLab V3+
    • MobileNet
  • Utils
    • Ignite Utils
    • Visdom
Powered by GitBook
On this page

Was this helpful?

  1. Utils

Visdom

PreviousIgnite Utils

Last updated 6 years ago

Was this helpful?

은 데이터를 시각화하기 위한 툴입니다. torch, numpy를 지원하고 있습니다.

from https://github.com/facebookresearch/visdom

쉬운 시작

1.Visdom server 켜기

pip install visdom
python -m visdom.server
# localhost:8097에 접속합니다.

2. Visdom에 로그 남기기

DEFAULT_PORT = 8097
DEFAULT_HOSTNAME = "http://localhost"

vis = visdom.Visdom(port=DEFAULT_PORT, server=DEFAULT_HOSTNAME)
vis.text('텍스트 써보기') vis.images(img:numpy_type) # numpy type의 이미지를 변수에 할당 vis.matplot(plt) # matplotlib의 plot type의 변수에 할당

더 자세한 사항은 를 참조해주세요

Visdom 문서
Visdom