CVHub520 / X-AnyLabeling

Effortless data labeling with AI support from Segment Anything and other awesome models.
GNU General Public License v3.0
4.16k stars 474 forks source link

about input #653

Closed yyy1998-i closed 1 month ago

yyy1998-i commented 1 month ago

Search before asking

Description

Hello, thank you for your excellent achievement, I want to have my own Sam model is loaded into the X-ray AnyLabeling inside, I use netron print sam_model_best_large_ssl_buidnewprocess decoder. Onnx input and output, What should I do if my model has no output from masks? Also, num_points how to define numbers (unlike fixed input image_embeddings: [1,256,64,64]), how can I modify and export the onnx model, I hope you can guide me. image

Use case

No response

Additional

No response

Are you willing to submit a PR?

CVHub520 commented 1 month ago

If you're not familiar with ONNX, you can use the PyTorch inference engine directly. For guidance, check out this example in the X-AnyLabeling repository.

yyy1998-i commented 1 month ago

If you're not familiar with ONNX, you can use the PyTorch inference engine directly. For guidance, check out this example in the X-AnyLabeling repository.

Hello author, I did not find The ONNX Export of the SAM in X-AnyLabeling/tools/onnx_exporter. I want to import my own sam model. Will you consider releasing it in the future?

CVHub520 commented 1 month ago

If you're not familiar with ONNX, you can use the PyTorch inference engine directly. For guidance, check out this example in the X-AnyLabeling repository.

Hello author, I did not find The ONNX Export of the SAM in X-AnyLabeling/tools/onnx_exporter. I want to import my own sam model. Will you consider releasing it in the future?

You can refer this.

yyy1998-i commented 1 month ago

If you're not familiar with ONNX, you can use the PyTorch inference engine directly. For guidance, check out this example in the X-AnyLabeling repository.

Hello author, I did not find The ONNX Export of the SAM in X-AnyLabeling/tools/onnx_exporter. I want to import my own sam model. Will you consider releasing it in the future?

You can refer this.

Thank you very much!