mirror of
https://github.com/SikongJueluo/Mini-Nav.git
synced 2026-07-13 04:25:32 +08:00
refactor(compressors): consolidate pipeline and improve mask handling
This commit is contained in:
@@ -1,6 +1,12 @@
|
||||
from .common import BinarySign, bits_to_hash, hamming_distance, hamming_similarity, hash_to_bits
|
||||
from .common import (
|
||||
BinarySign,
|
||||
bits_to_hash,
|
||||
hamming_distance,
|
||||
hamming_similarity,
|
||||
hash_to_bits,
|
||||
)
|
||||
from .hash_compressor import HashCompressor, HashLoss, VideoPositiveMask
|
||||
from .pipeline import HashPipeline, SAMHashPipeline, create_pipeline_from_config
|
||||
from .pipeline import HashPipeline, create_pipeline_from_config
|
||||
from .train import train
|
||||
|
||||
__all__ = [
|
||||
@@ -9,7 +15,6 @@ __all__ = [
|
||||
"HashLoss",
|
||||
"VideoPositiveMask",
|
||||
"HashPipeline",
|
||||
"SAMHashPipeline", # Backward compatibility alias
|
||||
"create_pipeline_from_config",
|
||||
"BinarySign",
|
||||
"hamming_distance",
|
||||
|
||||
Reference in New Issue
Block a user