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

A problem with RAM. DSQN. #545

Open
1 of 4 tasks
timswim opened this issue Jun 4, 2024 · 0 comments
Open
1 of 4 tasks

A problem with RAM. DSQN. #545

timswim opened this issue Jun 4, 2024 · 0 comments

Comments

@timswim
Copy link

timswim commented Jun 4, 2024

For faster response

| Reinforcement Learning | lucifer2859

Issue type

  • Bug Report
  • Feature Request
  • Help wanted
  • Other

SpikingJelly version

master

Description

Hello, I am working on the DSQN project, but I can't finish the training, because the RAM is gradually filling up (within a few thousand frames after the training has started). Could this be a bug in the code/compatibility issue or do I just need more memory (I have 32GB)?

Thanks in advance!

# Lines of code where memory is filled
loss_v = common.calc_loss_dqn(batch, net, tgt_net.target_model, gamma=params['gamma'], cuda=args.cuda, cuda_async=True)
loss_v.backward()
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