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

cannot reshape array of size 136269 into shape (3,3,1024,1024) #20

Open
easonliyunsheng opened this issue Mar 14, 2018 · 3 comments
Open

Comments

@easonliyunsheng
Copy link

in ()
----> 1 load_weights(model,'./tiny-yolo-voc.weights')

in load_weights(model, yolo_weight_file)
15 bia = data[index:index+np.prod(bshape)].reshape(bshape)
16 index += np.prod(bshape)
---> 17 ker = data[index:index+np.prod(kshape)].reshape(kshape)
18 index += np.prod(kshape)
19 layer.set_weights([ker,bia])

ValueError: cannot reshape array of size 136269 into shape (3,3,1024,1024)

i try to run your code , but it shows something error, i have no idea how to fix it . can you help me ,please?

@VishantVadher
Copy link

Same here i am also stuck with this error

@Garry233
Copy link

try the weight file from the link in the readme ( google drive 172MB )

@VishantVadher
Copy link

VishantVadher commented Mar 30, 2018 via email

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

3 participants