You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
python mpii_dataset.py have error as:
mpii_dataset.py:79: FutureWarning: elementwise != comparison failed and returning scalar instead; this will raise an error or perform elementwise comparison in the future.
if annopoint != []:
mpii_dataset.py:102: DeprecationWarning: The truth value of an empty array is ambiguous. Returning False, but in future this will result in an error. Use array.size > 0 to check that an array is not empty.
for v in annopoint['is_visible'][0]]
Traceback (most recent call last):
File "mpii_dataset.py", line 192, in
save_joints()
File "mpii_dataset.py", line 122, in save_joints
if not ok(feed_dict):
File "/content/drive/MyDrive/HumanPoseDemo/clone/PoseDatasets/img_filter.py", line 56, in ok
keypoint_num = np.sum(vis > 0)
TypeError: '>' not supported between instances of 'dict_values' and 'int'
How to solve?please!
The text was updated successfully, but these errors were encountered:
python mpii_dataset.py have error as:
mpii_dataset.py:79: FutureWarning: elementwise != comparison failed and returning scalar instead; this will raise an error or perform elementwise comparison in the future.
if annopoint != []:
mpii_dataset.py:102: DeprecationWarning: The truth value of an empty array is ambiguous. Returning False, but in future this will result in an error. Use
array.size > 0
to check that an array is not empty.for v in annopoint['is_visible'][0]]
Traceback (most recent call last):
File "mpii_dataset.py", line 192, in
save_joints()
File "mpii_dataset.py", line 122, in save_joints
if not ok(feed_dict):
File "/content/drive/MyDrive/HumanPoseDemo/clone/PoseDatasets/img_filter.py", line 56, in ok
keypoint_num = np.sum(vis > 0)
TypeError: '>' not supported between instances of 'dict_values' and 'int'
How to solve?please!
The text was updated successfully, but these errors were encountered: