格式化硬盘并安装Win10和Ubuntu双系统
一枚小白的日常:
您好,想问一下我再训练的时候出现了这个问题,根据网上的方法降低了学习率但还是警告,这个您知道怎么回事吗
[code=python]
Consider using one of the following signatures instead:
nonzero(Tensor input, *, bool as_tuple)
/pytorch/torch/csrc/utils/python_arg_parser.cpp:756: UserWarning: This overload of nonzero is deprecated:
nonzero(Tensor input, *, Tensor out)
Consider using one of the following signatures instead:
nonzero(Tensor input, *, bool as_tuple)
[session 1][epoch 1][iter 0/3400] loss: 1.5680, lr: 1.00e-05
fg/bg=(1/255), time cost: 0.206765
rpn_cls: 0.7051, rpn_box: 0.0572, rcnn_cls: 0.8057, rcnn_box 0.0000
[session 1][epoch 1][iter 100/3400] loss: nan, lr: 1.00e-05
fg/bg=(256/0), time cost: 13.063477
rpn_cls: nan, rpn_box: nan, rcnn_cls: nan, rcnn_box nan
WARNING:root:NaN or Inf found in input tensor.
WARNING:root:NaN or Inf found in input tensor.
WARNING:root:NaN or Inf found in input tensor.
[/code]
