Skip to content

error in convert_weights_to_caffemodel.py #4

@sangthian

Description

@sangthian
Traceback (most recent call last):
  File "convert_weights_to_caffemodel.py", line 71, in <module>
    net.params[pr][0].data[...] = np.reshape(netWeights[count:count + weightSize], dims)
  File "/usr/lib/python2.7/dist-packages/numpy/core/fromnumeric.py", line 225, in reshape
    return reshape(newshape, order=order)
ValueError: total size of new array must be unchanged

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions