Closed hpc203 closed 4 years ago
They are constant (x,y') and no need to compute their gradients for updating their values.
On Thu, Sep 3, 2020 at 8:25 PM hpc203 notifications@github.com wrote:
在u2net_train.py第130行,为什么输入张量和标签的requires_grad=False,按理来说,在训练的时候应该设置为True的
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/NathanUA/U-2-Net/issues/63, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADSGORO73UVVC3CLLTEA323SEBFYHANCNFSM4QWYNFFA .
-- Xuebin Qin PhD Department of Computing Science University of Alberta, Edmonton, AB, Canada Homepage:https://webdocs.cs.ualberta.ca/~xuebin/
在u2net_train.py第130行,为什么输入张量和标签的requires_grad=False,按理来说,在训练的时候应该设置为True的