shariqiqbal2810 / MAAC

Code for "Actor-Attention-Critic for Multi-Agent Reinforcement Learning" ICML 2019
MIT License
645 stars 169 forks source link

hi,my machine memory always overflow when I run your code,but I don't find the reason. Can you help me? #14

Closed wang88256187 closed 4 years ago

shariqiqbal2810 commented 4 years ago

This is highly dependent on many factors. How much memory does your machine have? The easiest thing to do would be to reduce the size of the replay buffer. Alternatively you could re-write the replay buffer code to be more memory efficient (e.g. not store obs and next_obs separately but instead have a list of indices that point to the next observation, storing actions as single ints rather than one-hot, etc)