question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Reseting env to state from dataset

See original GitHub issue

Hi,

I’m trying to generating skill id / language annotations for the unlabeled frames in the dataset. I was thinking of using the reset_from_storage method in the environment class to reset to a state from the dataset and using the task checker to check for task success. However, the reset function requires a serialized version of the env/robot state which is not provided. Is there a way I could reset the env from offline data or is there another way for me to get skill annotations for the entire dataset?

Thanks!

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
aliang8commented, Jan 10, 2022

Never mind! I could use: env.reset(scene_obs=data["scene_obs"], robot_obs=data["robot_obs"]). Thanks anyways!

0reactions
aliang8commented, Jan 13, 2022

Also I find that with some tasks like “rotate_blue_block_right”, a lot of the annotated intervals are duplicates / overlaps of each other. It says “rotate_blue_block_right” has 150 annotations, but actually there are only 29 distinct ones.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Variables in .env file is not updated. How to reset
Im using dotenv to call the env file. I have tried of course to reset the history in browser as well as running...
Read more >
Step 6: Reset your environment - Amazon Redshift
When you have completed this tutorial, we suggest that you reset your environment to the previous state by deleting your sample cluster.
Read more >
Process Application Environment Variables reset after server ...
You create ENV. it is stored in LSW_ENV_VAR (main value) and LSW_ENV_VAR_DEFAULT (default values for different environments) tables. If you change ENV value ......
Read more >
Using environment settings in Python—ArcGIS Pro
Environment settings are exposed as properties on the arcpy.env class. ... track of environment settings and to reset environments to their default states...
Read more >
How to Modify an Environment Variable for a Service Process ...
This procedure shows how to set a value for an environment variable in the environment where processes started by the service will run....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found