Spaces:
Runtime error
Runtime error
Update sam2/modeling/sam2_base.py
Browse files
sam2/modeling/sam2_base.py
CHANGED
|
@@ -15,7 +15,7 @@ from sam2.modeling.sam.prompt_encoder import PromptEncoder
|
|
| 15 |
from sam2.modeling.sam.transformer import TwoWayTransformer
|
| 16 |
from sam2.modeling.sam2_utils import get_1d_sine_pe, MLP, select_closest_cond_frames
|
| 17 |
import pdb
|
| 18 |
-
from fvcore.nn import FlopCountAnalysis
|
| 19 |
# a large negative value as a placeholder score for missing objects
|
| 20 |
NO_OBJ_SCORE = -1024.0
|
| 21 |
|
|
|
|
| 15 |
from sam2.modeling.sam.transformer import TwoWayTransformer
|
| 16 |
from sam2.modeling.sam2_utils import get_1d_sine_pe, MLP, select_closest_cond_frames
|
| 17 |
import pdb
|
| 18 |
+
# from fvcore.nn import FlopCountAnalysis
|
| 19 |
# a large negative value as a placeholder score for missing objects
|
| 20 |
NO_OBJ_SCORE = -1024.0
|
| 21 |
|