facebookresearch / segment-anything

The repository provides code for running inference with the SegmentAnything Model (SAM), links for downloading the trained model checkpoints, and example notebooks that show how to use the model.
Apache License 2.0
45.44k stars 5.37k forks source link

Documentation and Tutorial Link Request for Key Code Section #728

Open Emilio942 opened 2 months ago

Emilio942 commented 2 months ago

https://github.com/facebookresearch/segment-anything/blob/6fdee8f2727f4506cfbbe553e23b895e27956588/scripts/export_onnx_model.py#L148

Emilio942 commented 2 months ago

Hi there!

I've noticed that a key section of the code seems to lack accompanying documentation or explanation. This part appears crucial, and I'm very interested in understanding it better. Could we possibly add some comments or provide links to tutorials? For those of us who may be new to this, it would be incredibly helpful to have some guidance on how to implement this properly.

Thank you for your hard work on this project!