2022-04-28 18:36:09,822 - PCN - INFO - [Epoch 1/150][Batch 3601/3621] BatchTime = 0.418 (s) DataTime = 0.001 (s) Losses = ['3.2145', '2.9331'] lr = 0.000100
/home/zyc/miniconda3/lib/python3.7/site-packages/torch/optim/lr_scheduler.py:154: UserWarning: The epoch parameter in `scheduler.step()` was not necessary and is being deprecated where possible. Please use `scheduler.step()` to step the scheduler. During the deprecation, if epoch is different from None, the closed form is used instead of the new chainable form, where available. Please open an issue if you are unable to replicate your use case: https://github.com/pytorch/pytorch/issues/new/choose.
warnings.warn(EPOCH_DEPRECATION_WARNING, UserWarning)
2022-04-28 18:36:18,431 - PCN - INFO - [Training] EPOCH: 1 EpochTime = 1518.137 (s) Losses = ['4.0280', '6.7910']
此warning 来源 link
具体排除方法也可借鉴此isuue
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)