MCPcopy
hub / github.com/amdegroot/ssd.pytorch / create_vis_plot

Function create_vis_plot

train.py:223–233  ·  view source on GitHub ↗
(_xlabel, _ylabel, _title, _legend)

Source from the content-addressed store, hash-verified

221
222
223def create_vis_plot(_xlabel, _ylabel, _title, _legend):
224 return viz.line(
225 X=torch.zeros((1,)).cpu(),
226 Y=torch.zeros((1, 3)).cpu(),
227 opts=dict(
228 xlabel=_xlabel,
229 ylabel=_ylabel,
230 title=_title,
231 legend=_legend
232 )
233 )
234
235
236def update_vis_plot(iteration, loc, conf, window1, window2, update_type,

Callers 1

trainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected