Comments (5)
Hi,
Thanks for raising. What happens if you run your script a few times? Does it always give this error?
Best,
Stephen
from rlbench.
No it's not every time. The demo = task.get_demos(1, live_demos=True)[0]
line is actually in a for loop that tries to get 100 demos in a row (note I only get 1 at a time because I'm rendering a progress bar on the terminal). I can sometimes collect 15-20 demos before I get the error.
I can post my full code if that's helpful but I think I picked out the parts that are RLBench-specific.
from rlbench.
I just got the same error for OpenBox as well after successfully getting 18 demos.
from rlbench.
Hi Adam,
OK, so first let me explain why this is happening. When you get a demo, the task is placed randomly inside the workspace boundary. RLBench does this by sampling. Sometimes you can get unlucky and get bad samples and if it samples too many times, it assume the task has been badly designed. But I know that the 2 tasks you refer to are fine, so I either need to increase the sampling threshold, or I need to adjust the task so it doesn't reach the current threshold.
Regardless, for now I suggest wrapping the get_demos call in a try-catch clause. I'll take a look at the tasks after I get back from CoRL.
from rlbench.
Thanks for your help, Stephen. I will note that I'm running data collection on all 100 tasks and I see this error come up occasionally in many of them. The try/except approach works fine though and it often recovers after one error. I put it in a while-loop to make 10 consecutive attempts just to be robust to consecutive errors.
from rlbench.
Related Issues (20)
- Draw a graph
- Missing objects in block tasks?
- Error about libsimExtROS2 HOT 1
- Kuka LBR iiwa 14 R820
- BUG: assertion condition mismatching
- Question: How to set the table texture (domain randomization) HOT 1
- randomization after reset_to_demo HOT 2
- Does RLBench have instance segmentation masks?
- tools/dataset_generator.py HOT 2
- [Feature Request] Can the gym environment provide depth images and point clouds?
- Please add a detailed description of the data.
- Saving ttm issue
- utils.get_stored_demos and dataset_generator.py don't agree on mask image format, results in corrupted handles for stored demos
- How to edit obj part textures
- The robotic arm vibrates continuously when executing the example in example
- Loading demos at different resolutions causes incorrect data
- Missing actions for some timestep when using dataset_generator
- Action Execution Failed
- Why are depth images striped?
- Open box with Domain randomization at episode >=2 failed
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rlbench.