mirror of
https://github.com/gaomingqi/Track-Anything.git
synced 2025-12-16 16:37:58 +01:00
note
This commit is contained in:
@@ -29,6 +29,7 @@ class BaseSegmenter:
|
||||
|
||||
@torch.no_grad()
|
||||
def set_image(self, image: np.ndarray):
|
||||
# PIL.open(image_path) 3channel: RGB
|
||||
# image embedding
|
||||
if self.embedded:
|
||||
print('repeat embedding, please reset_image.')
|
||||
|
||||
Reference in New Issue
Block a user