Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update L. 116 of backbone.py #999

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Feb 16, 2023

  1. Update L. 116 of backbone.py

    When fine-tuning the network for our own problem, we encountered the error RuntimeError: one of the variables needed for gradient computation has been modified by an inplace operation: [torch.cuda.FloatTensor [32, 768, 248]].
    
    This seemed to be triggered by the in place operation occuring L. 116.  To solve this we replaced `x += x_conv` by `x = x.clone() + x_conv`
    BenCretois committed Feb 16, 2023
    Configuration menu
    Copy the full SHA
    6fecc25 View commit details
    Browse the repository at this point in the history