Open CriusFission opened 1 year ago
The execution speed is heavily dependent on the make generator algorithm in Segment Anything, which runs 1024 predictions per a single image.
We have two solutions:
Thanks for the reply. Using a smaller model is helpful. I apologize if the question is silly, but how do I go about enhancing the performance of SAM's mask generator?
I made a new algorithm that runs fast on CPU. However, I can not open it because I made it for work. I am sorry for that.
Looks cool! Is it possible to do batched inferencing with this model? As I'm having about 100 images, it would make sense to provide the input as a batch.
@CriusFission it already does 64 batched inferences at once. FYI: https://github.com/facebookresearch/segment-anything/blob/main/segment_anything/automatic_mask_generator.py#L40
I meant running multiple images at a time in different cores.
I meant running multiple images at a time in different cores.
As for this repository, you can run multiple gradio apps at once.
I made a new algorithm that runs fast on CPU. However, I can not open it because I made it for work. I am sorry for that.
FYI, we opened the demo pages on hugging face spaces!
CPU upgrade
instance (8 vCPU, 32GB RAM) of Huggingface space.
Hi, @Curt-Park, thanks for sharing your work. I'm trying to run this on a bunch of images in a folder. It contains around 100 images. It takes a few hours on my RTX 3070. Is it possible to make it a bit faster?