-
Notifications
You must be signed in to change notification settings - Fork 184
Unable to export model to onnx format #101
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
Comments
@isaacrob-roboflow any idea what's happening here? |
Nothing comes to mind! Can you do a pip freeze and provide versions? |
Sure @isaacrob-roboflow
|
interesting, no obvious issues. would you be comfortable sharing your checkpoint? or a minimal reproduction checkpoint that shows the issue without violating your model / data privacy |
I was able to successfully convert my checkpoint to an ONNX model using Google Colab, but I'm still encountering issues when attempting the same conversion on my local machine (Tried it on multiple machines). |
我也遇到了相同的问题,转换一直持续,没有报错 |
@PranavDV-VCTI have you tried any non-Windows machine? |
@SkalskiP it worked in colab which is non windows. @PranavDV-VCTI are all the machines on which it has failed windows? |
@isaacrob-roboflow I know Colab is non windows... @PranavDV-VCTI said: "I'm still encountering issues when attempting the same conversion on my local machine (Tried it on multiple machines)". I'm curious if any of those machines was non-Windows? Mostly because I'm curious if that problem exist only on Windows. |
Oh apologies! :) |
@SkalskiP @isaacrob-roboflow |
@PranavDV-VCTI didn't you mention WSL? |
@SkalskiP Apologies, I mistakenly added WSL2. |
Search before asking
Bug
When I execute the code, I don't encounter any errors, but the execution never completes, even after waiting for several hours. Instead, I only receive the following warnings:
Note: I face no issues when using model.predict()
Environment
RF-DETR 1.0.8
OS. Ubuntu 22.04
python 3.11.11
Minimal Reproducible Example
from rfdetr import RFDETRBase
best_checkpoint = "/home/RF-DETR/output/checkpoint_best_ema.pth"
model = RFDETRBase(resolution=672, num_classes=1, pretrain_weights=best_checkpoint)
model.export()
Additional
No response
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: