thuml / MDD

Code released for ICML 2019 paper "Bridging Theory and Algorithm for Domain Adaptation".
131 stars 27 forks source link

Legacy autograd function #6

Open chilung opened 3 years ago

chilung commented 3 years ago

I got an error on: 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)

Could you spent some time to fix it?

zjq-learn commented 2 months ago

Excuse me, have you solved this problem?