Giter Club home page Giter Club logo

Comments (4)

nevakanezzar avatar nevakanezzar commented on August 15, 2024

Can confirm, but with a different error.

I ran:
python3 dataset_generator.py --episodes_per_task 1 --processes 1

It errorred out with

Initialization successful.
Process 0 collecting task: take_money_out_safe // variation: 0
Process Process-2:
Traceback (most recent call last):
  File "venv/lib/python3.7/multiprocessing/process.py", line 297, in _bootstrap
    self.run()
  File "venv/lib/python3.7/multiprocessing/process.py", line 99, in run
    self._target(*self._args, **self._kwargs)
  File "dataset_generator.py", line 163, in run
    task_env = rlbench_env.get_task(t)
  File "/home/user/.local/lib/python3.7/site-packages/rlbench/environment.py", line 166, in get_task
    self._prev_task.unload()
  File "/home/user/.local/lib/python3.7/site-packages/rlbench/backend/task.py", line 283, in unload
    self.cleanup()
  File "/home/user/.local/lib/python3.7/site-packages/rlbench/tasks/take_money_out_safe.py", line 110, in cleanup
    for m in self.money_list:
AttributeError: 'TakeMoneyOutSafe' object has no attribute 'money_list'
Data collection done!

I suspect this is due to a version mismatch in multiprocessing, that for some reason _prev_task is being assigned a task before the actual instantiation of the task, triggering unload + cleanup of a task that hasn't even been initialised. Could this be the case? I'm using Python 3.7.6.

Please advise. Thanks a ton.

from rlbench.

stepjam avatar stepjam commented on August 15, 2024

Hi Both,

@sambhavaggarwal . Please make sure you have the latest version of RLBench installed. It looks like you might have just pulled the new dataset_generator without re-installing RLBench.

@nevakanezzar . Thanks for pointing out! Expect a fix very soon.

from rlbench.

stepjam avatar stepjam commented on August 15, 2024

@nevakanezzar . Please reopen if this does not resolve the issue.

from rlbench.

nevakanezzar avatar nevakanezzar commented on August 15, 2024

Seems to be fixed! Thanks, this is great. I see some of the tasks failed to run, I'll post their error messages in a new issue.

from rlbench.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.