mirror of
https://github.com/SikongJueluo/Mini-Nav.git
synced 2026-07-13 04:25:32 +08:00
refactor(compressors): reorganize SAM utilities into proposal module
This commit is contained in:
@@ -4,8 +4,6 @@ from .feature_extractor import (
|
||||
extract_single_image_feature,
|
||||
infer_vector_dim,
|
||||
)
|
||||
from .image import extract_masked_region, segment_image, segment_image_dataset
|
||||
from .model import get_dino_dim, load_dino_model, load_hash_compressor, load_sam_model
|
||||
|
||||
__all__ = [
|
||||
"get_device",
|
||||
@@ -13,11 +11,4 @@ __all__ = [
|
||||
"infer_vector_dim",
|
||||
"extract_single_image_feature",
|
||||
"extract_batch_features",
|
||||
"segment_image",
|
||||
"segment_image_dataset",
|
||||
"extract_masked_region",
|
||||
"load_dino_model",
|
||||
"load_sam_model",
|
||||
"get_dino_dim",
|
||||
"load_hash_compressor",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user