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

Issue of action heads for version 1.5 #105

Open
BUAAZhangHaonan opened this issue May 31, 2024 · 0 comments
Open

Issue of action heads for version 1.5 #105

BUAAZhangHaonan opened this issue May 31, 2024 · 0 comments

Comments

@BUAAZhangHaonan
Copy link

Thank you very much for your update and brings us new things!
The performance after the update has indeed improved, but there are still some problems. I have some questions about the new action heads:

1.Problem of DiffusionActionHead

The updated DiffusionActionHead seems to be more unstable than before. After 50,000 steps of fine-tuning in the ALOHA environment, it still cannot be simulated normally, and an error of the MuJoCo will appear.

2.Problem of UNetDDPMActionHead

Thank you for providing the new UNetDDPMActionHead! But there seems to be some problems: In the ConditionalUnet1D of unet.py, the Downsample1d and Upsample1d will cause changes in dimensions, especially when the dimensions are odd, which may lead to wrong results. For example, when the dimension of action is (1, 1, 25, 512), Downsample1d will change it to (1, 1, 13, 1024), but in the Upsample1d, it will become (1, 1, 26, 512), which cannot match the hidden_reps dimension (1, 1, 25, 512). Changing action_horizon to 64 can solve this problem, but it cannot inference correctly. The following are my settings when finetuning:

config["model"]["heads"]["action"] = ModuleSpec.create(
UNetDDPMActionHead,
use_map=True,
flatten_tokens=False,
action_horizon=64,
action_dim=14,
readout_key="readout_action",
)
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

1 participant