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

cuda error: an illegal memory access was encountered #5

Closed
visonpon opened this issue Mar 27, 2021 · 3 comments
Closed

cuda error: an illegal memory access was encountered #5

visonpon opened this issue Mar 27, 2021 · 3 comments

Comments

@visonpon
Copy link

visonpon commented Mar 27, 2021

Hi @pureexe, thanks for your great work, but when I trained on m own datasets for a while, I got a Cuda error, when I change to train on only one GPU, it can train for a longer time, but can also trigger this error

the error messages like below:
train.py in forward cof=pt.repeat_interleave(cof,args.sublayers,0)
runtimeerror: an illegal memory access was encountered

But when I use the demo-room datasets to train, it seems the training phase is normal. I use the colmap to preprocess the datasets and get the hwf_cxxy.txt and poses_bounds.npy using the scripts you provided.

btw, when train on my own datasets, how to set the plane.txt? hope you can give some advice, thanks~

@pureexe
Copy link
Contributor

pureexe commented Mar 27, 2021

Could you give the command that you use to run the train.py code? What config that you used?

Do you set up the environment with our environment.yml? If you use your own environment, what is your PyTorch version?

Could you give us your dataset? We will test it on our side.

Also, what is your machine spec? (GPU, CPU, RAM)

@visonpon
Copy link
Author

visonpon commented Mar 29, 2021

my GPU is TITAN X,Cuda version is 10.1,drive version is 418.56,torch1.4.0. it seems that this error is related to my environment, but since trying to reinstall all the dependence is complex, I will try to debug this error and see if there are other ways to solve it, thanks~

@X-kimna
Copy link

X-kimna commented May 27, 2021

I also encountered this problem,have you solved it?

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

No branches or pull requests

3 participants