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

feature(luyd): fix dt new pipeline of mujoco #754

Merged
merged 3 commits into from
Dec 11, 2023

Conversation

AltmanD
Copy link
Collaborator

@AltmanD AltmanD commented Nov 30, 2023

Find some bugs in new pipeline of dt in training mujoco env, and fix them.

context_len=30,
data_dir_prefix='d4rl/walk2d_medium-v2.pkl',
context_len=20,
data_dir_prefix='/mnt/nfs/luyd/d4rl/walker2d_medium.pkl',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

don't add personal info

@@ -2,9 +2,9 @@
from copy import deepcopy

walk2d_dt_config = dict(
exp_name='dt_log/d4rl/walk2d/walk2d_medium_dt_seed0',
exp_name='dt_log/d4rl/walk2d/walk2d_medium_dt_seed0_bs256_random',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use the naive exp_name

state_dim=11,
act_dim=3,
state_dim=17,
act_dim=6,
n_blocks=3,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

simplify hyper-parameters if they are the same as default configs

@@ -231,6 +231,7 @@ def _init_eval(self) -> None:
)
self.state_mean = torch.from_numpy(np.array(self._cfg.state_mean)).to(self._device)
self.state_std = torch.from_numpy(np.array(self._cfg.state_std)).to(self._device)
# print(self.running_rtg, self.state_mean, self.state_std)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove unused print

@PaParaZz1 PaParaZz1 changed the title feature(luyd): Fix dt new pipeline of mujoco feature(luyd): fix dt new pipeline of mujoco Dec 5, 2023
@PaParaZz1 PaParaZz1 marked this pull request as ready for review December 11, 2023 09:26
@PaParaZz1 PaParaZz1 merged commit b959eb1 into opendilab:main Dec 11, 2023
15 of 18 checks passed
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

Successfully merging this pull request may close these issues.

2 participants