Skip to content

In alpha wgan loss3.backward(retain_graph=True) #16

@shiblyg

Description

@shiblyg

RuntimeError: one of the variables needed for gradient computation has been modified by an inplace operation: [torch.cuda.FloatTensor [1, 64, 3, 3, 3]] is at version 293; expected version 292 instead. Hint: enable anomaly detection to find the operation that failed to compute its gradient, with torch.autograd.set_detect_anomaly(True).
When I comment this it runs but I am guessing for the code_discriminator it should issue as the loss is not backword the weight will not update?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions