Skip to content

TypeError: Cannot cast array data from dtype('float64') to dtype('<U32') according to the rule 'safe' #34

@handale88

Description

@handale88

Hello!
I am testing with your code, however I got dtype typeerror when training with shell scripts..
Is there any solution that I can fix this?


File "/home/seungheelee/download/caffe/scripts/dataset.py", line 169, in get_example
image, joints = self.apply_rotate(image, joints, ignore_joints)
File "/home/seungheelee/download/caffe/scripts/dataset.py", line 133, in apply_rotate
joints = ((rot_mat.dot((joints - joint_center).T)).T) + joint_center
TypeError: Cannot cast array data from dtype('float64') to dtype('<U32') according to the rule 'safe'

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