Skip to content
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

RNN/3D model does not work with tubplot #1185

Open
mgagvani opened this issue Jun 11, 2024 · 1 comment
Open

RNN/3D model does not work with tubplot #1185

mgagvani opened this issue Jun 11, 2024 · 1 comment

Comments

@mgagvani
Copy link
Contributor

Example command:

donkey tubplot --tub=data/ --model=models/pilot_24-06-10_4.h5 --type=rnn --limit=30000

Results in error:

Traceback (most recent call last):
  File "/home/mgagvani/miniconda3/envs/donkey/bin/donkey", line 8, in <module>
    sys.exit(execute_from_command_line())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/mnt/f/Projects/TensorKart-master/donkeycar/donkeycar/management/base.py", line 625, in execute_from_command_line
    c.run(args[2:])
  File "/mnt/f/Projects/TensorKart-master/donkeycar/donkeycar/management/base.py", line 522, in run
    self.plot_predictions(cfg, args.tub, args.model, args.limit,
  File "/mnt/f/Projects/TensorKart-master/donkeycar/donkeycar/management/base.py", line 474, in plot_predictions   
    user_angle = tub_record.underlying['user/angle']
                 ^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'list' object has no attribute 'underlying'

Am using donkey v5.2.dev2, developer install on WSL, latest commit. This can be reproduced with both the 3D CNN and RNN for arbitrary length values.

Another minor thing I didn't want to file a whole new issue for, but donkey models shows the length value for RNN values but not for 3D CNN:

4       pilot_24-06-10_4           KerasLSTM-L:6          rnn  data/ 2024-06-10 19:28:59     None    None
5       pilot_24-06-10_5             Keras3D_CNN           3d  data/ 2024-06-10 21:14:06     None    None
@mgagvani
Copy link
Contributor Author

Update: same thing happens with the memory model.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant