Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

2 keypoints detection #31

Open
ghost opened this issue Nov 16, 2018 · 6 comments
Open

2 keypoints detection #31

ghost opened this issue Nov 16, 2018 · 6 comments

Comments

@ghost
Copy link

ghost commented Nov 16, 2018

Hey, thank you for your fast reply.
I tried to run the model for training data with 2 keypoints detection (not human pose estimation), but the loss of the keypoint mask branch is high, and the model does not detect the correct bboxes (regular mask r cnn does and detects very well) do you have any suggestion how transform the current implementation for 2 keypoints detection? (besides changing the number of keypoints of course)

thank you very much

@Superlee506
Copy link
Owner

L58 in the config.

@ghost
Copy link
Author

ghost commented Nov 16, 2018

Yeah, i changed it, but besides that no more changes needed?

@Superlee506
Copy link
Owner

As far as I know, you just need to modify this place. However you also need to implement your own dataloader.

@ghost
Copy link
Author

ghost commented Nov 17, 2018

i tried it, but it still not working well (high loss, really poor detection results)

i tried to use the inspect_humanpose.ipynb for debugging my code, but when i try to Inspect the DetectionKeypointTargetLayer if i use test mode of 'training' the rois, target_bbox, target_bbox, target_keypoint_lables, target_keypoint_weight are all zero, otherwise it throws me the following error:

tensorflow.python.framework.errors_impl.InvalidArgumentError: You must feed a value for placeholder tensor 'input_gt_keypoints' with dtype float and shape [?,?,1,3]
[[Node: input_gt_keypoints = Placeholderdtype=DT_FLOAT, shape=[?,?,1,3], _device="/job:localhost/replica:0/task:0/device:GPU:0"]]
[[Node: proposal_targets/rois/_2851 = _Recv[client_terminated=false, recv_device="/job:localhost/replica:0/task:0/device:CPU:0", send_device="/job:

@ShafatRahman
Copy link

Hi @Superlee506 ,

By writing a new dataloader do you mean I have to rewrite the load mask function?

@t1t0n
Copy link

t1t0n commented May 15, 2019

#35

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants