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
47.93k stars 5.67k forks source link

Decision for the 32 bit embedding #269

Open onurtore opened 1 year ago

onurtore commented 1 year ago

Hi! We run a couple of tests and f16 embeddings perform similar results with the f32, while consuming 50% less memory. I was wondering whether 32 bit is neccessary, or did you do any test regarding this.

LeonidAlekseev commented 1 year ago

f16 the best