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

[Bug] APPO #73

Open
RyanXXX123 opened this issue Nov 8, 2023 · 0 comments
Open

[Bug] APPO #73

RyanXXX123 opened this issue Nov 8, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@RyanXXX123
Copy link

RyanXXX123 commented Nov 8, 2023

Operating system

Ubuntu
No response

Bug description

The buffer load without an end.

2023-11-08 09:27:34,872][06994] Worker 39 awakens!
[2023-11-08 09:27:34,879][06994] Waiting for 20 trajectory buffers...
[2023-11-08 09:27:35,186][06936] Waiting for 14 trajectory buffers...
[2023-11-08 09:27:35,194][06916] Waiting for 20 trajectory buffers..

Steps to reproduce

Execute: python examples/sample_factory_files/run_sample_factory.py algorithm=APPO

Relevant log output

2023-11-08 09:27:25,050][06984] Worker 35, sleep for 8.750 sec to decorrelate experience collection
Process Process-1:
Traceback (most recent call last):
  File "/root/anaconda3/envs/nocturne/lib/python3.8/multiprocessing/process.py", line 315, in _bootstrap
    self.run()
  File "/root/anaconda3/envs/nocturne/lib/python3.8/multiprocessing/process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
  File "/root/anaconda3/envs/nocturne/lib/python3.8/site-packages/sample_factory/algorithms/appo/learner.py", line 1414, in _run
    rollouts = self._process_rollouts(rollouts, timing)
  File "/root/anaconda3/envs/nocturne/lib/python3.8/site-packages/sample_factory/algorithms/appo/learner.py", line 565, in _process_rollouts
    self._process_macro_batch(rollouts_to_process, batch_size, timing)
  File "/root/anaconda3/envs/nocturne/lib/python3.8/site-packages/sample_factory/algorithms/appo/learner.py", line 495, in _process_macro_batch
    assert macro_batch_size % self.cfg.rollout == 0
AssertionError
@RyanXXX123 RyanXXX123 added the bug Something isn't working label Nov 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant