pytorch-labs / segment-anything-fast

A batched offline inference oriented version of segment-anything
Apache License 2.0
1.2k stars 71 forks source link

ValueError: ('Unsupported kind: ', 'FRAGMENT') #87

Open 0verlook opened 11 months ago

0verlook commented 11 months ago

Why do I still get an error ValueError: ('Unsupported kind: ', 'FRAGMENT'),when I set an environment variable os.environ['SEGMENT_ANYTHING_FAST_USE_FLASH_4'] = '0' I'm using torch2.0

0verlook commented 11 months ago

Why is the speed slower than the original model after I change the model?

cpuhrsch commented 11 months ago

Hello @0verlook - you'll need to use the latest PyTorch nightly for this project to work. Please see https://github.com/pytorch-labs/segment-anything-fast/issues/84 . Can you try to update and run this again?