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

Clarification Needed on Activation and Hidden Dimensions Mismatch #49

Open
hamidh1 opened this issue Jan 16, 2025 · 0 comments
Open

Clarification Needed on Activation and Hidden Dimensions Mismatch #49

hamidh1 opened this issue Jan 16, 2025 · 0 comments

Comments

@hamidh1
Copy link

hamidh1 commented Jan 16, 2025

I have corrected the assert len(hidden_dims) + 1 == len(activations) but still facing the below error: How to deal with this?

File "/home/hmd/code/legged_gym/legged_gym/scripts/train.py", line 43, in
train(args)
File "/home/hmd/code/legged_gym/legged_gym/scripts/train.py", line 37, in train
ppo_runner, train_cfg = task_registry.make_alg_runner(env=env, name=args.task, args=args)
File "/home/hmd/code/legged_gym/legged_gym/utils/task_registry.py", line 147, in make_alg_runner
runner = LeggedGymRunner(env, train_cfg_dict, log_dir, device=args.rl_device)
File "/home/hmd/code/rsl_rl/rsl_rl/runners/legacy_runner.py", line 98, in init
agent: Agent = alg_class(env, device=device, **train_cfg["algorithm"])
File "/home/hmd/code/rsl_rl/rsl_rl/algorithms/dppo.py", line 105, in init
super().init(env, **kwargs)
File "/home/hmd/code/rsl_rl/rsl_rl/algorithms/ppo.py", line 90, in init
self.critic = self.critic_network(self._critic_input_size, 1, **self._critic_network_kwargs)
File "/home/hmd/code/rsl_rl/rsl_rl/modules/quantile_network.py", line 195, in init
super().init(
File "/home/hmd/code/rsl_rl/rsl_rl/modules/network.py", line 51, in init
assert len(hidden_dims) + 1 == len(activations)
AssertionError

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