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

BaseModel().cuda() out of memory #19

Open
PhoenixZ810 opened this issue Aug 8, 2023 · 1 comment
Open

BaseModel().cuda() out of memory #19

PhoenixZ810 opened this issue Aug 8, 2023 · 1 comment

Comments

@PhoenixZ810
Copy link

When I run
def build_model(cls, cfg):
model = BaseModel(cfg, build_model(cfg)).cuda()
in train_net.py
the memory-usage will increase without stop. Finally cuda out of memory.
I have tried lots of times and I don't know where it comes from.

@HaoZhang534
Copy link
Contributor

Hello, can you provide more information to help me reproduce your error, such as the command you use?

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

2 participants