-
Notifications
You must be signed in to change notification settings - Fork 31
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
training issue about dsrnn #3
Comments
When i modified that line in srnn_model.py, another error occurred like under line. |
Do you want to add trajectory prediction? If not, change |
Does that mean that the old network's weights can't be trained in the current repository(CrowdNav_Prediction_AttnGraph) yet? |
This repo has several different gym environments (see readme -> training -> ii). S-RNN can be trained with |
Hi @Shuijing725 !.
I have a issue about your code in training with srnn.
I changed robot.policy in config.py from "selfAttn_merge_srnn" to "srnn".
Then when i run the train.py, the error occurred like under line.
`<Monitor<CrowdSimPredRealGST>>
No ghost version.
new gst
new st model
LOADED MODEL
device: cuda:0
Traceback (most recent call last):
File "/root/dsrnn_ws/CrowdNav_Prediction_AttnGraph/train.py", line 247, in
main()
File "/root/dsrnn_ws/CrowdNav_Prediction_AttnGraph/train.py", line 90, in main
actor_critic = Policy(
File "/root/dsrnn_ws/CrowdNav_Prediction_AttnGraph/rl/networks/model.py", line 28, in init
self.base = base(obs_shape, base_kwargs)
File "/root/dsrnn_ws/CrowdNav_Prediction_AttnGraph/rl/networks/srnn_model.py", line 378, in init
robot_size = 7 if args.env_type == 'crowd_sim' else 2
AttributeError: 'Namespace' object has no attribute 'env_type'. Did you mean: 'env_name'`?
Could you solve this issue? Thank you for reading!
The text was updated successfully, but these errors were encountered: