8000 volatile can only be set on leaf variables · Issue #5 · andrewliao11/dni.pytorch · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
volatile can only be set on leaf variables #5
Open
@yangze0930

Description

@yangze0930

Hi, Andrew

As I run your code, there prints a RuntimeError: 'volatile can only be set on leaf variables' in line 44 of train.py

self.backprop_grads[name].volatile = False

could you check it out?

Thanks

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

      0