-
Notifications
You must be signed in to change notification settings - Fork 14
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
Mask generator #8
Comments
Hi, HxW in this case is the height and width of the human parsing labels array, it can be anything depending on how you generate them (and generally it depends on the output tensor size of the model you used to extract them): all labels will be resized within the BPBreID code so you shouldn't care too much about it. Let me know if I can do something else to help! |
Thank you :D |
The Python script from @samihormi to generate human parsing labels based on PifPaf and MaskRCNN has been released, please have a look at the "Generate human parsing labels" section in the README. |
Hello,
I'm asking about how to generate a mask which shape: .npy contains a 36xHxW array (H and W).
keypoints = predictions[0].data for x, y in predictions[0].skeleton: joint_array = (keypoints[x-1]+ keypoints[y-1])/2
The text was updated successfully, but these errors were encountered: