This commit is contained in:
ShangGaoG
2023-04-12 18:16:15 +08:00
parent 41e56213a9
commit 9b9bc62425

View File

@@ -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.')