Keypoints-of-humanpose-with-Mask-R-CNN
Keypoints-of-humanpose-with-Mask-R-CNN copied to clipboard
Inference Issue
Hi @chrispolo! While doing Inference I'm getting the following issue:
detections, mrcnn_class, mrcnn_bbox ,mrcnn_mask, rois, rpn_class, rpn_bbox,= self.keras_model.predict([molded_images, image_metas]) ValueError: too many values to unpack (expected 7)
Can you please help me in resolving this? Thank you.
hi,can you solve this problem?@Rubeen-Mohammad
Hi @xiaoxin05, Can you please try this:
detections, mrcnn_class, mrcnn_bbox, rois, rpn_class, rpn_bbox, mrcnn_mask, mrcnn_keypoint_prob = self.keras_model.predict([molded_images, image_metas], verbose=0) Thank you.
hi,while i want to Inference keypoints , i cann't find this function :"model.detect_keypoint([image], verbose=1))" , it shows "cannt find declaration to go to " . somebody knows this question??? at model.py file,i cannt find detect_keypoint()
Run detection
results = model.detect_keypoint([image], verbose=1)