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

ValueError #784

Closed
lee-junho21 opened this issue Feb 5, 2021 · 4 comments
Closed

ValueError #784

lee-junho21 opened this issue Feb 5, 2021 · 4 comments

Comments

@lee-junho21
Copy link

I trained my data on my window OS , so I could get mypilot.h5. And I moved mypilor.h5 from window to jetson nano.
But, When I start autonomous driving, I faced ValueError.

I entered code
: python manage.py drive --model ~/mycar/models/mypilot.h5,

After the code had started, I changed my mode by using my ps4(share button) to local pilot or local angle.
Then ValueError occurs.

ValueError : Input 0 of layer dense_1 is incompatible with the layer : expected axis -1 of input shape to have value 6656 but received input with shape [None, 28224]

How can I resolve my Error? I really hope to drive my car autonomously

@DocGarbanzo
Copy link
Contributor

Which tensorflow version have you installed on nano? And which version of tf and DC are you running on your PC?

@lee-junho21
Copy link
Author

lee-junho21 commented Feb 15, 2021

Which tensorflow version have you installed on nano? And which version of tf and DC are you running on your PC?

I used tensorflow2.2.0 in nano and I also used tf2.2.0, docopt0.6.2 on my PC. Is that any problem?

@DocGarbanzo
Copy link
Contributor

This is the right version. Can you try with --type tensorrt_linear?

@DocGarbanzo
Copy link
Contributor

Closing b/c of lack of activity.

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

2 participants