Skip to content

ValueError: Object arrays cannot be loaded when allow_pickle=False #4

@jhcueva

Description

@jhcueva

Hi, I'm having this error while executing the program, any idea how to fix it?
Traceback (most recent call last): File "detector.py", line 177, in <module> localizer = KneeLocalizer() File "detector.py", line 29, in __init__ self.svm_w, self.svm_b = np.load(svm_model_path, encoding='bytes') File "C:\Users\Humberto\anaconda3\envs\knee_localizer\lib\site-packages\numpy\lib\npyio.py", line 440, in load pickle_kwargs=pickle_kwargs) File "C:\Users\Humberto\anaconda3\envs\knee_localizer\lib\site-packages\numpy\lib\format.py", line 727, in read_array raise ValueError("Object arrays cannot be loaded when " ValueError: Object arrays cannot be loaded when allow_pickle=False

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions