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 runtime error after various number of iterations #95

Open
tobiasxg opened this issue Feb 25, 2020 · 0 comments
Open

cuda runtime error after various number of iterations #95

tobiasxg opened this issue Feb 25, 2020 · 0 comments

Comments

@tobiasxg
Copy link

I am trying to train cuda on my own dataset. I use the same backbone, but I have changed the classifier and the mask, to only contain two classes.

I run the line:
model.train_model(train_set, test_set, learning_rate=2*config.LEARNING_RATE, epochs=5, layers='heads')

I am able to start the training, but after a few iterations, my GPU runs out of memory. I have tried to solve it by deleting variables at the end of the iterations, but it remains. Decreasing the IMAGE_MAX_DIM only allows for more iterations to be ran, before the error pops up. My GPU is a NVIDIA GeForce GTX 1050.

Is there any logical explanation to why my GPU keeps using more memory with each iteration?

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

1 participant