- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
When I try to run the 3rd cell in the Jupyter Notebook for the Brain Segmentation exercise I get the error:
[ ERROR ] Exception occurred during running replacer "REPLACEMENT_ID" (<class 'extensions.front.override_batch.OverrideBatch'>): The input layer saver_filename has a shape [] defined in the model.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
thank you for your patience, I encounter the same issue as you when launching the Edge AI Certificate. I will get the respective team fix the issue.
meanwhile to proceed with your training, here is some workaround.
1. before cell 3, add a new cell.
2. Incert this line of code
print ("OpenVINO Model Directory = ",openvino_model_dir)
print ("OpenVINO Model Name = ",openvino_model_name)
path_to_xml_file = "{}.xml".format(os.path.join(openvino_model_dir, openvino_model_name))
path_to_bin_file = "{}.bin".format(os.path.join(openvino_model_dir, openvino_model_name))
print("OpenVINO IR: {}, {}".format(path_to_xml_file, path_to_bin_file))
3. If you could see the following results where the .xml and .bin file is generated, skip the mo.py 's cell and the remaining cell should work.
OpenVINO Model Directory = output/FP32 OpenVINO Model Name = 2d_unet_decathlon OpenVINO IR: output/FP32/2d_unet_decathlon.xml, output/FP32/2d_unet_decathlon.bin
Hope this information help.
Thank you
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank for contacting us, I have a quick run on my end for the Brain Tumor Segmentation, I manage to generate IR file successfully.
Can you check if your 3rd cell brain Segmentation looks similar to mind 3rd cell?
# Create FP16 IR files
!mo.py \
--input_model /data/Healthcare_app/data/saved_model_frozen.pb \
--input_shape=[1,144,144,4] \
--data_type FP16 \
--output_dir models/FP16 \
--model_name saved_model
# Create FP32 IR files
!mo.py \
--input_model /data/Healthcare_app/data/saved_model_frozen.pb \
--input_shape=[1,144,144,4] \
--data_type FP32 \
--output_dir models/FP32 \
--model_name saved_model
# find all resulting IR files
!echo "\nAll IR files that were created:"
!find ./models -name "*.xml" -o -name "*.bin"
If the cell looks similar to mine, maybe you can restart the kernel by clicking the Kernel Tab, then click on "Restart Kernel and Clear all output" or you can run all cell.
FYI, model downloader might take some time to download the model and convert to IR file, once complete, you can see a "Successful message" show in the attachment
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
After looking at your message, it seems that you may have a different notebook than I do.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, @Beverly_K_Intel thank you for the screenshot. I will get back to you soon once I got the same sample.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
thank you for your patience, I encounter the same issue as you when launching the Edge AI Certificate. I will get the respective team fix the issue.
meanwhile to proceed with your training, here is some workaround.
1. before cell 3, add a new cell.
2. Incert this line of code
print ("OpenVINO Model Directory = ",openvino_model_dir)
print ("OpenVINO Model Name = ",openvino_model_name)
path_to_xml_file = "{}.xml".format(os.path.join(openvino_model_dir, openvino_model_name))
path_to_bin_file = "{}.bin".format(os.path.join(openvino_model_dir, openvino_model_name))
print("OpenVINO IR: {}, {}".format(path_to_xml_file, path_to_bin_file))
3. If you could see the following results where the .xml and .bin file is generated, skip the mo.py 's cell and the remaining cell should work.
OpenVINO Model Directory = output/FP32 OpenVINO Model Name = 2d_unet_decathlon OpenVINO IR: output/FP32/2d_unet_decathlon.xml, output/FP32/2d_unet_decathlon.bin
Hope this information help.
Thank you
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page