Skip to content
This repository was archived by the owner on May 9, 2025. It is now read-only.
This repository was archived by the owner on May 9, 2025. It is now read-only.

TypeError: learn() got an unexpected keyword argument 'seed' #58

@HankerSia

Description

@HankerSia

for some network reasons, i download this code, and installed related package. When testing, I got a error.

Describe the bug
Traceback (most recent call last):
File "/home/kai/anaconda3/envs/tf_torch/lib/python3.7/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/home/kai/anaconda3/envs/tf_torch/lib/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/home/kai/robotics-rl-srl/rl_baselines/train.py", line 337, in
main()
File "/home/kai/robotics-rl-srl/rl_baselines/train.py", line 333, in main
algo.train(args, callback, env_kwargs=env_kwargs, train_kwargs=hyperparams)
File "/home/kai/robotics-rl-srl/rl_baselines/rl_algorithm/ppo2.py", line 73, in train
super().train(args, callback, env_kwargs, {**param_kwargs, **train_kwargs})
File "/home/kai/robotics-rl-srl/rl_baselines/base_classes.py", line 252, in train
self.model.learn(total_timesteps=args.num_timesteps, seed=args.seed, callback=callback)
TypeError: learn() got an unexpected keyword argument 'seed'

can anyone give me some advice. thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions