Text-Summarizer-Pytorch-Chinese icon indicating copy to clipboard operation
Text-Summarizer-Pytorch-Chinese copied to clipboard

您好,萌新尝试跑一遍流程,请问报divide是在哪一步修改。

Open DarsonKing opened this issue 3 years ago • 1 comments

/pytorch/aten/src/ATen/native/BinaryOps.cpp:81: UserWarning: Integer division of tensors using div or / is deprecated, and in a future release div will perform true division as in Python 3. Use true_divide or floor_divide (// in Python) instead.

DarsonKing avatar Jul 28 '21 13:07 DarsonKing

这看起来是pytorch安装的问题?

LowinLi avatar Jul 29 '21 09:07 LowinLi