Tencent / FaceDetection-DSFD

腾讯优图高精度双分支人脸检测器
Other
2.91k stars 728 forks source link

Legacy autograd function with non-static forward method is deprecated. #91

Open nanhailongwang opened 1 year ago

nanhailongwang commented 1 year ago

How to solve this problems? "Legacy autograd function with non-static forward method is deprecated. " RuntimeError: Legacy autograd function with non-static forward method is deprecated. Please use new-style autograd function with static forward method. (Example: https://pytorch.org/docs/stable/autograd.html#torch.autograd.Function)

arthasking123 commented 5 months ago

+1