ขั้นตอนการแก้ไขคําอธิบายการเปลี่ยนสินค้าแบบกําหนดเองในไฟล์ JavaScript Object Notation (JSON) ในส่วนที่เกี่ยวกับชื่อโหนดของรุ่น
- แปลงโมเดล R-CNN TensorFlow ที่เร็วขึ้นแบบกําหนดเองเป็น IR สําเร็จ
- สร้างโมเดล R-CNN TensorFlow ที่เร็วขึ้นใหม่โดยการปรับเปลี่ยนรุ่นก่อนหน้า
- แปลงโมเดลใหม่นั้นเป็น IR
- ข้อผิดพลาดที่ได้รับ:
It means model and custom replacement description are incompatible. Failed to match nodes from custom replacement description with id 'ObjectDetectionAPIProposalReplacement'
Try to correct custom replacement description according to documentation with respect to model node names.
- ถ่ายโอน กราฟอินพุตของรุ่น
mo --input_model= --tensorboard_logdir= - แสดงภาพ กราฟอินพุตของรุ่นใน TensorBoard
- tensorboard --logdir=
- คัดลอก และ วาง URL ผลลัพธ์ในเบราว์เซอร์
- ตรวจสอบว่า ชื่อโหนดทั้งหมดในไฟล์ JSON ตรงกันกับชื่อโหนดของรุ่นหรือไม่ ชื่อโหนดเหล่านี้จะระบุอยู่ภายใต้ "start_points" และ "end_points" ของ "id: ObjectDetectionAPIProposalReplacement" ในไฟล์ JSON
- ปรับเปลี่ยน ชื่อโหนดในไฟล์ JSON
- แปลง โมเดลเป็น IR ด้วยคําสั่ง:
mo --input_model= --transformations_config= --tensorflow_object_detection_api_pipeline_config= --input_shape= --output=detection_scores,detection_boxes,num_detections --input=image_tensor --reverse_input_channels