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

Error when running kitti_extrap_finetune.py #77

Open
lwtt opened this issue Apr 17, 2020 · 1 comment
Open

Error when running kitti_extrap_finetune.py #77

lwtt opened this issue Apr 17, 2020 · 1 comment

Comments

@lwtt
Copy link

lwtt commented Apr 17, 2020

When I reproduced your code, the following error appeared, I did not modify anything.
Hope you can answer me, thank you

--->predictions = prednet(inputs)
ValueError: You called set_weights(weights) on layer "pred_net_1" with a weight list of length 46, but the layer was expecting 47 weights. Provided weights: [array([[[[ 1.83418002e-02, -6.57398626e-02, -1.06...

@Siamul
Copy link

Siamul commented Oct 6, 2021

I found that downgrading keras and tensorflow fixes this.
pip install tensorflow==1.15.5
pip install tensorflow-gpu==1.15.5
pip install keras==2.2.4

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