-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
I would like to modify the agent's neural network architecture using Hydra on the go, using command line arguments, e.g.:
isaaclab -p scripts/reinforcement_learning/rsl_rl/train.py --task my_task 'agent.policy.actor_hidden_dims=[512, 256, 128, 64]'
However, if the agent's configuration is using the configclass
(as in the rsl_rl
), and the number of layers within the default config does not match the provided Hydra arguments, I encounter an error, specifically, I get the following exception:
File "/workspace/isaaclab/source/isaaclab/isaaclab/utils/dict-py", line 103,
in update_class_from_dict
raise ValueError(
ValueError: [Configl: Incorrect length under namespace: /policy/actor_hidden_dims. Expected: 5,
Received: 4.
Is there any workaround for this?
Thanks in advance!
System Info
- Isaac Sim Version: 4.5
- OS: Ubuntu 22.04
- GPU: 4090 RTX
- CUDA: 12.2
- GPU Driver: 535.129.03
Checklist
- I have checked that there is no similar issue in the repo (required)
- I have checked that the issue is not in running Isaac Sim itself and is related to the repo
Acceptance Criteria
- To be able to use Hydra to modify network structure
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working