cvat with segment anything 半自动标注




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 up -d –build to docker compose command to build CVAT from source code.