wei-yuma / multitrident

I combine trident net and refinedet to detect objects of different scales at the same time in one forward propagation
Apache License 2.0
91 stars 24 forks source link

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

Open vishaldhull09 opened 3 years ago

vishaldhull09 commented 3 years ago

"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)

Any idea how to solve it?