How to use the visdom.server.download_scripts function in visdom

To help you get started, we’ve selected a few visdom examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github pytorch / ignite / tests / ignite / contrib / handlers / test_visdom_logger.py View on Github external
def visdom_server():

    import time
    import subprocess

    from visdom.server import download_scripts
    download_scripts()

    hostname = "localhost"
    port = 8098
    p = subprocess.Popen("visdom --hostname {} -port {}".format(hostname, port), shell=True)
    time.sleep(5)
    yield (hostname, port)
    p.terminate()

visdom

A tool for visualizing live, rich data for Torch and Numpy

Apache-2.0
Latest version published 2 years ago

Package Health Score

63 / 100
Full package analysis