You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.
An error was encountered after running the sample code for a while, I use such command line settings:
PYTHONPATH=. python3 -u main.py
setup=metaworld
agent=state_sac
env=metaworld-mt10
agent.multitask.num_envs=10
agent.multitask.should_use_disentangled_alpha=True
How to reproduce
Error in call to target 'mtrl.experiment.metaworld.Experiment':
ConfigAttributeError('Missing key encoder\n full_key: agent.encoder\n object_type=dict')
full_key: experiment.builder
The above exception was the direct cause of the following exception:
File "C:\Users\Tz0942\Downloads\mtrl-main\mtrl\experiment\metaworld.py", line 20, in init
super().init(config, experiment_id)
File "C:\Users\Tz0942\Downloads\mtrl-main\mtrl\experiment\multitask.py", line 25, in init
super().init(config, experiment_id)
File "C:\Users\Tz0942\Downloads\mtrl-main\mtrl\experiment\experiment.py", line 63, in init
self.config = prepare_config(config=self.config, env_metadata=self.env_metadata)
File "C:\Users\Tz0942\Downloads\mtrl-main\mtrl\experiment\experiment.py", line 187, in prepare_config
if key in config.agent.encoder:
The above exception was the direct cause of the following exception:
Description
An error was encountered after running the sample code for a while, I use such command line settings:
PYTHONPATH=. python3 -u main.py
setup=metaworld
agent=state_sac
env=metaworld-mt10
agent.multitask.num_envs=10
agent.multitask.should_use_disentangled_alpha=True
How to reproduce
Error in call to target 'mtrl.experiment.metaworld.Experiment':
ConfigAttributeError('Missing key encoder\n full_key: agent.encoder\n object_type=dict')
full_key: experiment.builder
The above exception was the direct cause of the following exception:
File "C:\Users\Tz0942\Downloads\mtrl-main\mtrl\experiment\metaworld.py", line 20, in init
super().init(config, experiment_id)
File "C:\Users\Tz0942\Downloads\mtrl-main\mtrl\experiment\multitask.py", line 25, in init
super().init(config, experiment_id)
File "C:\Users\Tz0942\Downloads\mtrl-main\mtrl\experiment\experiment.py", line 63, in init
self.config = prepare_config(config=self.config, env_metadata=self.env_metadata)
File "C:\Users\Tz0942\Downloads\mtrl-main\mtrl\experiment\experiment.py", line 187, in prepare_config
if key in config.agent.encoder:
The above exception was the direct cause of the following exception:
System information
Any other information
I have to modify some configuration items in config.yaml can be annotated before I run main.py successfully:
config.yaml like this:
defaults:
- setup: metaworld
- experiment: ${defaults.0.setup}
- agent: sac
- agent/components: ${defaults.0.setup}_actor
#- agent/components: ${defaults.0.setup}_critic
#- agent/components: ${defaults.0.setup}_encoder
#- agent/components: ${defaults.0.setup}_transition_model
#- agent/components: task_to_encoder_cluster
#- agent/components: ${defaults.0.setup}_mask
#- agent/components: ${defaults.0.setup}_multitask
#- agent/components: ${defaults.0.setup}_transition_model
#- agent/components: ${defaults.0.setup}_gradnorm
#- agent/components: ${defaults.0.setup}_task_to_encoder_cluster
- agent/optimizers: ${defaults.0.setup}_actor
#- agent/optimizers: ${defaults.0.setup}_alpha
#- agent/optimizers: ${defaults.0.setup}_critic
#- agent/optimizers: ${defaults.0.setup}_decoder
#- agent/optimizers: ${defaults.0.setup}_encoder
- env: ???
- replay_buffer: mtrl
- logger: mtrl
- metrics: ${defaults.0.setup}
- logbook: mtrl
The text was updated successfully, but these errors were encountered: