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

How to reset goals when picking or pushing objects #30

Open
gautica opened this issue Jun 19, 2023 · 7 comments
Open

How to reset goals when picking or pushing objects #30

gautica opened this issue Jun 19, 2023 · 7 comments

Comments

@gautica
Copy link

gautica commented Jun 19, 2023

Hi,
thanks for the interesting work. I am not sure how you set the goal for the pickup or pushing task, because the goal is the position of the object. As I understand, the goal of all the failure trials before touching the object is set to be the same object position, as it doesn't move. But it doesn't sound very correct to me. Is it set in this way? Thank you very much

@TianhongDai
Copy link
Owner

@gautica In goal-oriented DRL, we have two types of goals: {"achieved goals", "desired goal"}. In "PickAndPlace" and "Pushing" tasks, the desired goal position is the final goal position, which is indicated by the red spot in demo GIF. At the beginning of each episode, the desired goal is randomly sampled from the pre-defined goal space; The achieved goal is the position of the object (the cube in these two tasks.). The aim of these tasks is to control the robotic arm to manipulate the object close to the desired goal position (i.e. dist(achieved goal, desired goal) < threshold). Hope this answer helps you.

@123gzy
Copy link

123gzy commented Nov 7, 2024

请问 在换任务时,直接改任务名称吗,改了任务名称之后发现在push等其他任务成功率为0,还是需要调参数或者更改其他内容吗?

@123gzy
Copy link

123gzy commented Nov 7, 2024

When changing the task name, do I need to change the task name directly, and find that the success rate of other tasks such as push is 0 after changing the task name?

@TianhongDai
Copy link
Owner

@123gzy 请问你可以给我一下你现在用的环境名称吗,包括gym环境以及mujoco的版本。我今天晚上自己测试一下。

@123gzy
Copy link

123gzy commented Nov 8, 2024 via email

@123gzy
Copy link

123gzy commented Nov 8, 2024

@123gzy请问你可以给我一下你现在使用的环境名称吗,包括gym环境以及mujoco的版本。我今天晚上自己测试一下。

哇 !我昨天试了试可以了 就用下面的命令行,可能不同任务,难易程度不一样,线程数不太一样,epoch数目也不同。所以导致我直接运行没什么效果。 感谢你的回消息 太感谢了 你写的代码也特别好!对我的帮助很大!如果方便的话还有一个请教的地方是,如果在一个任务下训练的模型,可以直接迁移到另一个任务吗,我最近在搞元强化学习,不知道是要改任务的环境吗,环境来自gym,这些问题有点头大。

@TianhongDai
Copy link
Owner

@123gzy 直接迁移可能有点困难,但是可以参考一下metaworld以及它相关的一些工作: https://arxiv.org/pdf/1910.10897

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants