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.

HER+SAC on Robotic Environment

See original GitHub issue

Hi I am getting this error while running this code:

python train.py --algo her --env FetchPickAndPlace-v1 --tensorboard-log "C:\Users\pei-seng.tan\Desktop\Deep_RL\rl-baselines-zoo\USM_RL\SAC+HER" --eval-freq 10000 --eval-episodes 10 --save-freq 100000

It happens when the time-steps=10000

image

May I know how do i solve it?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
araffincommented, Apr 14, 2020

You forgot to give the complete traceback… it is due to the eval env which is not properly wrapped. See the warning:

stable_baselines/common/callbacks.py:277: UserWarning: Training and eval env are not of the same type<stable_baselines.her.utils.HERGoalEnvWrapper object at 0x7f68c48c09e8> != <stable_baselines.common.vec_env.dummy_vec_env.DummyVecEnv object at 0x7f68b00f7908>
  "{} != {}".format(self.training_env, self.eval_env))

I would appreciate a PR that solves this issue.

0reactions
PierreExetercommented, Jun 16, 2020

Ok I’ll give it a try. But I will need to create a PR for Stable Baselines as well since I’m changing HERGoalWrapper

Read more comments on GitHub >

github_iconTop Results From Across the Web

A soft robot that adapts to environments through shape change
Modeling this robot in simulation, we explore its capabili- ties in two environments and demonstrate the existence of environment-specific ...
Read more >
Laying the ground for robotic strategies in environmental ...
Proper soil stabilization is key to sustainable land management in industries such as construction, mining, and agriculture; and land ...
Read more >
Advanced Methods for Robot-Environment Interaction towards ...
A fundamental aspect of robot-environment interaction in industrial ... In this paper, a solution to model the environment of the robot in order...
Read more >
Robotics for Society - ESA Business Applications
Robots are used in multiple areas, especially where they can alleviate strenuous tasks or complete missions that are dangerous for a human to...
Read more >
The Impact of Robotics on Safety and Health | Wolters Kluwer
This is primarily because robots can take the place of employees in potentially hazardous environments. Robots can reduce the risk of falls from...
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