AttributeError: 'TorchModel' object has no attribute 'get_actor_params'
Closed this issue · 1 comments
ConaniLJH commented
Traceback (most recent call last):
File "train.py", line 144, in
main()
File "train.py", line 66, in main
critic_lr=CRITIC_LR)
File "/home/conan/final project/RL_CARLA/torch_base/torch_sac.py", line 47, in init
self.model.get_actor_params(), lr=actor_lr)
File "/home/conan/anaconda3/envs/rl_carla/lib/python3.6/site-packages/torch/nn/modules/module.py", line 1178, in getattr
type(self).name, name))
AttributeError: 'TorchModel' object has no attribute 'get_actor_params'
I am using torch frame to train the model, but this error occurs.
ShuaibinLi commented
fixed