Closed opeltre closed 2 years ago
fix #16
Dans unshift_flows.py
essayer:
writer = SummaryWriter(args.output)
def write (name, val, n_it):
writer.add_scalar(name, val, global_step=n_it)
module.write = write
A essayer mais moins sûr que ça marche (si on appelle bien module.write
avec les bons arguments dans module.fit
):
writer = SummaryWriter(args.output)
module.write = writer.add_scalar
Solves #16
TODO:
Module.write
by default