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

UserWarning: volatile was removed #149

Open
amrsharaf opened this issue Jun 15, 2018 · 1 comment
Open

UserWarning: volatile was removed #149

amrsharaf opened this issue Jun 15, 2018 · 1 comment

Comments

@amrsharaf
Copy link

Some times I get the warning below when I run the code, will this be fixed in a future version?

/opt/conda/lib/python3.6/site-packages/torchtext/data/field.py:322: UserWarning: volatile was removed and now has no effect. Use with torch.no_grad(): instead. return Variable(arr, volatile=not train)

@tejaswini
Copy link
Member

Hi,
This is torchtext issue. Please follow this discussion: pytorch/text#321

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants