-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
TypeError: group_keypoints() got an unexpected keyword argument 'demo' #103
Comments
Same problem. |
the same problem: `--------------------------------------------------------------------------- in get_rect(net, images, height_size) TypeError: group_keypoints() got an unexpected keyword argument 'demo'` |
I have the same problem. I’ve been trying it for the past 3 days since Sunday and I’m gettin the same error message. |
I have error that is like below... I don't know how to solve this error.. TypeError Traceback (most recent call last) in get_rect(net, images, height_size) TypeError: group_keypoints() got an unexpected keyword argument 'demo' |
Same issue!! Glad I'm not alone! |
Same Error since yesterday. Like 20 hours ago. |
The error is stating that the function is receiving an unexpected keyword argument named "demo." To get past this problem, stop passing the demo keyword argument to the |
Thank you for your reply. I did the same thing, that is, I deleted the demo keyword, but I don't know if it will bring other effects. |
Same issue |
same issue plzz give some solution |
Please remove the demo=True from this part of code:
Also you can see the fixed code here: |
Alright, but for some reason I am having this error:
The |
Same, my Edit: Actually on the fixed colab sheet it seems to just get stuck somewhere and it never finishes on the |
Same error |
You can remove demo argument in group_keypoints(). I have removed it in the released colab notebook. |
Why is this closed when the problem is NOT FIXED?? |
We are still getting EMPTY rect_files |
Can anyone help me solve the blank _rect file generated? Actually on the fixed colab sheet it seems to just get stuck somewhere and it never finishes on the get_rect(net.cuda(), [image_path], 512) line |
The
|
Just change the last code before the cell with erro to use int instead of np.int, and change the np.bool from pifuhd/lib/sdf.py to use bool |
I try to run the demo on Google collab, but the following errors always appear. All processes are carried out according to the video, and the input image is also used test.png Why do the following errors occur? After trying many solutions, I don't know if anyone has the same problem. Can it be solved?
TypeError Traceback (most recent call last)
in ()
3 load_state(net, checkpoint)
4
----> 5 get_rect(net.cuda(), [image_path], 512)
in get_rect(net, images, height_size)
28 total_keypoints_num += extract_keypoints(heatmaps[:, :, kpt_idx], all_keypoints_by_type, total_keypoints_num)
29
---> 30 pose_entries, all_keypoints = group_keypoints(all_keypoints_by_type, pafs, demo=True)
31 for kpt_id in range(all_keypoints.shape[0]):
32 all_keypoints[kpt_id, 0] = (all_keypoints[kpt_id, 0] * stride / upsample_ratio - pad[1]) / scale
TypeError: group_keypoints() got an unexpected keyword argument 'demo'
The text was updated successfully, but these errors were encountered: