Intel® Distribution of OpenVINO™ Toolkit
Community assistance about the Intel® Distribution of OpenVINO™ toolkit, OpenCV, and all aspects of computer vision-related on Intel® platforms.
6482 Discussions

Unable to import custom yolov4 tensorflow model

elpida
Beginner
1,540 Views

I have followed the instructions as stated in https://docs.openvino.ai/nightly/workbench_docs_Workbench_DG_Tutorial_Import_YOLO.html

. My yolov4.saved_model folder looks like this in the picture. When I try to upload the folder it takes way too much time and I keep getting this error after uploading 50%-70% of the folder:

Can't retry wb.main.tasks.task.Task] args:(None, 'WaitModelUploadJob', 165) kwargs:{}

 

0 Kudos
6 Replies
Zulkifli_Intel
Moderator
1,484 Views

Hello Elpida,

 

Thank you for reaching out to us.

 

I'm able to import my YOLO-v4 model to DL Workbench and converted it to IR without any problem.

DL_import.PNGDL_IR.PNG

 

In your attached image, the files are marked with a red circle and a white cross. It means that the files have sync issues. The files haven't properly synchronized from SharePoint. I recommend you reach out to your IT provider or the relevant team for support.

 

Sincerely,

Zulkifli 

 

0 Kudos
elpida
Beginner
1,481 Views

Hello Zulkifli,

 

Thanks for your response. 

 

The files are stored locally and the red circle indicates that they haven't been uploaded to OneDrive, which shouldn't affect the upload process on DL Workbench.

The files for upload are in the correct format, right?

0 Kudos
Zulkifli_Intel
Moderator
1,474 Views

Hello Elpida,

 

To import the model in DL Workbench, you need to select the folder that contains the model (.pb file). For more detail, please refer to Import Original Model.


Can you share your custom YOLO-v4 model with us for replication purposes?

 

Sincerely,

Zulkifli 


0 Kudos
elpida
Beginner
1,451 Views

I have imported the model following the given instructions.

 

I attach the folder of my model: 

https://drive.google.com/drive/folders/1i7CYZ2zuXX67bwjCdAtW9Vn8MIDIvVtt?usp=sharing

0 Kudos
Zulkifli_Intel
Moderator
1,437 Views

Hello Elpida,

 

Thank you for sharing with us your model. 

 

I'm able to import and convert your custom YOLO-v4 model using DL Workbench without error.

dl_cutomer.PNGDL_customer_IR.PNG

 

For your information, the recommended browser for DL Workbench is Google Chrome, and please ensure that your system met all the recommended requirements to make sure all features are available.

 

Sincerely,

Zulkifli

 

0 Kudos
Zulkifli_Intel
Moderator
1,390 Views

Hello Elpida,


Thank you for your question. If you need any additional information from Intel, please submit a new question as this thread is no longer being monitored.


Sincerely,

Zulkifli


0 Kudos
Reply