cvat with segment anything 半自动标注

标注效果

cou版的正常运行,gpu显存5G不够,运行就提示显存不够,换了pth-facebookresearch-sam-vit-l模型显存也不够。

附:更换不同尺度模型方法 https://github.com/opencv/cvat/issues/6189

Yes, it was probably because you changed the model name.
I can no longer deploy different fine-tuned SAM models at the same time.
Yes, deploying several SAM models at the same time is not possible, because client part works only with one onnx decoder. And this decoder is different for different SAM weights.
But in general you can use other weights. Just do not change model name in yaml file or another option is to change client source code a little bit. In this file cvat-ui/plugins/sam_plugin/src/ts/index.tsx you can change modelID in line 242. After changing client you need to add -f docker-compose.dev.yaml up -d –build to docker compose command to build CVAT from source code.

希望你能够评论一下我,这样我就可以给你点赞了💖