Args: fields: Currently unused plot_type: The name of the plot type, in Visdom
(self, plot_type, pad_value=1, nrow=2, fields=None, win=None, env=None, opts={}, port=8097, server="localhost")
| 948 | ''' |
| 949 | |
| 950 | def __init__(self, plot_type, pad_value=1, nrow=2, fields=None, win=None, env=None, opts={}, port=8097, server="localhost"): |
| 951 | ''' |
| 952 | Args: |
| 953 | fields: Currently unused |
| 954 | plot_type: The name of the plot type, in Visdom |
| 955 | |
| 956 | |
| 957 | ''' |
| 958 | super(VisdomFeatureMapsLogger, self).__init__(fields, win, env, opts, port, server) |
| 959 | self.plot_type = plot_type |
| 960 | self.pad_value = pad_value |
| 961 | self.nrow = nrow |
| 962 | self.chart = getattr(self.viz, plot_type) |
| 963 | self.viz_logger = self._viz_prototype(self.chart) |
| 964 | |
| 965 | def log(self, *args, **kwargs): |
| 966 | self.viz_logger(*args, **kwargs) |
nothing calls this directly
no test coverage detected