-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Model conversion from onnx to blob format #74
Comments
Hi, could you also try with the model from here? I've tried it some time ago and it worked. If it doesn't, we'll have to look into it further. |
Hi @jkbmrz |
Okay, I see. I've actually used this tool instead of blobconverter. Can you please try and report back? |
Hi @jkbmrz, when I try to initialize the docker I get the following error:
I tried to create a symbolic link from Thanks for your help. |
Hi @jkbmrz , we are still trying to fix the docker initialization error but with no success so far. We will appreciate any advice or guidance to make modelconverter work. Thank you very much for your help. |
@Link199292 @martin0496 we are looking into the issue. In the meantime, I'm sharing the model we've converted before (HERE). |
@jkbmrz Thank you very much for all the support. |
@Link199292, @martin0496 I tried to build the modelconverter on Ubuntu manually, and it was successful. What are the specs of your device? One thing you could do is to build the docker file only until the erroneous step (by commenting out everything after including the problematic step) and then browse the filesystem inside the Docker image to check if the previous step:
did extract the OpenVino archive, and the To browse the filesystem of the Docker image, use this command:
Best, |
Thanks for your reply @HonzaCuhel, I am running Ubuntu 22.04 on Windows 11 through wsl. While trying to build the modelconverter on Windows I had an issue at a previous step during the building, that's why I switched to Ubuntu. The specs of my device are the following:
I'll also check for the steps you suggested. Thanks for your support. |
I see; yeah, my guess would be that the issue lies in the extraction of the archive; either it's not extracted, or it's extracted to a different location, so you might have to change some of the commands in the Dockerfile in order for it to work. Best, |
We really appreciate your help and guidance. The model is working fine but still we are not able to do the conversion ourselves with the dockerfile. Thank you very much for all your patience and support. |
@martin0496 sure, we'll convert the model for you and send it to you! Best, |
@HonzaCuhel Thank you so much |
Hi @HonzaCuhel. Any updates on the converted models ? |
Hi @martin0496, @Link199292, I apologize for the delay in getting back to you. I exported the model for the following shapes: 322x322 and 518x518. The height must be divisible by 14, so that's why I chose the input shape 322x322 as the one closest to 320x320. Unfortunately, exporting the 518x518 model to UINT8 blob is impossible, so I converted the model without quantization. Furthermore, conversion of 252x252 fails as the export from onnx to blob never stops, which is an issue we'll investigate further. The converted blobs can be found here. Best, |
Thank you very much for the help. best regards |
No problem! Glad to help! Kind regards, |
Hi all ,
I am trying to convert a model from onnx to blob format .
I am attempting to convert the DepthAnythingV2 small model (https://huggingface.co/onnx-community/depth-anything-v2-small/blob/main/onnx/model_fp16.onnx) using BlobConverter (https://blobconverter.luxonis.com/), but the conversion process seems to be running indefinitely. It has been going for several hours with no progress.
In the attempt of solving the issue I tried to host locally the blobconverter library, but I unfortunately got the following error :
requests.exceptions.HTTPError: 400 Client Error: BAD REQUEST for url: https://blobconverter.luxonis.com/compile?version=2022.1&no_cache=False
I would greatly appreciate any assistance or guidance you can provide. Thank you in advance for your help.
The text was updated successfully, but these errors were encountered: