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

The batchsize of trainset using deform conv #2128

Closed
XinMing0411 opened this issue Apr 22, 2020 · 2 comments
Closed

The batchsize of trainset using deform conv #2128

XinMing0411 opened this issue Apr 22, 2020 · 2 comments

Comments

@XinMing0411
Copy link

XinMing0411 commented Apr 22, 2020

❓ Questions and Help

In my project, I want to use the deform conv,but there are some questions for us?

The deform conv which I use is same as demo .

When the batchsize of trainset <10,I can train the net without any problem.

But the batchsize of trainset>10, the project will raise a runtime error on optimizer [an illegal memory access was encountered].

I just change the size of batch, and do not change other

@pmeier
Copy link
Collaborator

pmeier commented Apr 22, 2020

Hi @XinMing0411

please compile a minimal example, i. e. removing everything that is not needed to reproduce the error. Without seeing what exactly you are doing its almost impossible to help you.

@fmassa
Copy link
Member

fmassa commented Apr 27, 2020

Hi,

What version of torchvision are you using?

We have fixed a few bugs in DeformConv2d with latest torchvision release, see #2027 and #2040

If the error still persists with torchvision 0.6.0 (released last week), can you please let us know and share a minimal reproducing script?

I'm closing the issue assuming that it has been fixed with the latest release of torchvision, but please let us know if that isn't the case

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