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文件的第98行代码: image = torch.FloatTensor(opt.batchSize, 3, opt.imgH, opt.imgH) 按照常理来说,应该是image = torch.FloatTensor(opt.batchSize, 3, opt.imgH, opt.imgW) 可是我改成这样之后重新训练,不收敛的。请问作者,这里的image为什么要定义成torch.FloatTensor(opt.batchSize, 3, opt.imgH, opt.imgH)而不是torch.FloatTensor(opt.batchSize, 3, opt.imgH, opt.imgW)呢?
The text was updated successfully, but these errors were encountered:
我也很奇怪。。。这里不应该是imgH, imgW么,为什么会是两个imgH呢??
Sorry, something went wrong.
No branches or pull requests
看train.py文件的第98行代码:
image = torch.FloatTensor(opt.batchSize, 3, opt.imgH, opt.imgH)
按照常理来说,应该是image = torch.FloatTensor(opt.batchSize, 3, opt.imgH, opt.imgW)
可是我改成这样之后重新训练,不收敛的。请问作者,这里的image为什么要定义成torch.FloatTensor(opt.batchSize, 3, opt.imgH, opt.imgH)而不是torch.FloatTensor(opt.batchSize, 3, opt.imgH, opt.imgW)呢?
The text was updated successfully, but these errors were encountered: