MCPcopy Create free account
hub / github.com/TPCD/DCCL / __init__

Method __init__

project_utils/visualization_utils.py:903–906  ·  view source on GitHub ↗
(self, envs=None, port=8097, server="localhost")

Source from the content-addressed store, hash-verified

901 '''
902
903 def __init__(self, envs=None, port=8097, server="localhost"):
904 super(VisdomSaver, self).__init__()
905 self.envs = envs
906 self.viz = visdom.Visdom(server="http://" + server, port=port)
907
908 def save(self, *args, **kwargs):
909 self.viz.save(self.envs)

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected