모델의 노드 이름과 관련하여 JSON(JavaScript Object Notation) 파일에서 사용자 지정 교체 설명을 수정하는 단계
- 사용자 지정 빠른 R-CNN TensorFlow 모델을 IR로 성공적으로 변환했습니다.
- 이전 모델을 수정하여 새로운 더 빠른 R-CNN TensorFlow 모델을 생성했습니다.
- 새 모델을 IR로 변환했습니다.
- 수신된 오류:
Failed to match nodes from custom replacement description with id 'ObjectDetectionAPIProposalReplacement'
It means model and custom replacement description are incompatible.
Try to correct custom replacement description according to documentation with respect to model node names.
- 모델의 입력 그래프를 덤프합니다.
mo --input_model= --tensorboard_logdir= - 시각화 텐서보드에 있는 모델의 입력 그래프입니다.
- tensorboard --logdir=
- 브라우저에서 출력 URL을 복사하여 붙여넣습니다.
- JSON 파일의 모든 노드 이름이 모델의 노드 이름과 일치하는지 확인하십시오. 이러한 노드 이름은 JSON 파일의 "id: ObjectDetectionAPIProposalReplacement"의 "start_points" 및 "end_points" 아래에 명시되어 있습니다.
- JSON 파일의 노드 이름을 수정합니다.
- 다음 명령을 통해 모델을 IR로 변환합니다.
mo --input_model= --transformations_config= --tensorflow_object_detection_api_pipeline_config= --input_shape= --출력=detection_scores,detection_boxes,num_detections --input=image_tensor --reverse_input_channels