Open nmd2k opened 2 years ago
Describe the bug The default of watch is logging by step. It should be called in every epoch end to monitor the change of gradient of the model.
watch
To Reproduce Run a dummy training with uetai.SummaryWriter
uetai.SummaryWriter
logger = uetai.SummaryWriter(project='uetai') ... logger.watch(model, criterion)
Screenshots
Expected behavior Gradient:
Parameter:
Desktop (please complete the following information):
Nonsense charts
Describe the bug The default of
watch
is logging by step. It should be called in every epoch end to monitor the change of gradient of the model.To Reproduce Run a dummy training with
uetai.SummaryWriter
Screenshots![image](https://user-images.githubusercontent.com/48562727/135239211-ba197ff1-8d34-4951-ac37-46df68470b17.png)
Expected behavior Gradient:![image](https://user-images.githubusercontent.com/48562727/135240558-f3ef4ac9-cdb6-4ec8-923a-438a0b2aebdd.png)
Parameter:![image](https://user-images.githubusercontent.com/48562727/135240638-bfff23e4-c2da-4f1e-b766-4de3c1d8feaf.png)
Desktop (please complete the following information):