We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
如题. 在train.py:train()的train_loader循环里, img和target都套上了一层torch.autograd.Variable. 在train.py:validate()的test_loader循环里, img套上了一层torch.autograd.Variable.
train.py:train()
train_loader
torch.autograd.Variable
train.py:validate()
test_loader
为什么要让数据成为可导的??
The text was updated successfully, but these errors were encountered:
感觉应该是用于反向传播的
Sorry, something went wrong.
No branches or pull requests
如题.
在
train.py:train()
的train_loader
循环里, img和target都套上了一层torch.autograd.Variable
.在
train.py:validate()
的test_loader
循环里, img套上了一层torch.autograd.Variable
.为什么要让数据成为可导的??
The text was updated successfully, but these errors were encountered: