Skip to content

Commit

Permalink
fix: correct more imports
Browse files Browse the repository at this point in the history
  • Loading branch information
danellecline committed Mar 5, 2024
1 parent f1c17d3 commit 107a470
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion sdcat/common_args.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

import click

from config.config import default_config_ini
from sdcat.config.config import default_config_ini

# Common arguments for processing commands
config_ini = click.option('--config-ini',
Expand Down
6 changes: 3 additions & 3 deletions sdcat/config/config.ini
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ remove_corners = False
min_saliency = 30
# Alpha is a parameter that controls the linkage. Don't change it unless you know what you are doing.
# See https://hdbscan.readthedocs.io/en/latest/parameter_selection.html
alpha = 1.5
alpha = 0.92
# Epsilon is a parameter that controls the linkage. Don't change it unless you know what you are doing.
# Increasing this will make the clustering more conservative
cluster_selection_epsilon = 0.0
Expand All @@ -37,8 +37,8 @@ min_similarity = 0.70
# dino_vits8 has block_size=8 which can be good for very small objects
# dino_vits14 has block_size=14
# Smaller block_size means more patches and more accurate fine-grained clustering on smaller objects
;model = dino_vits8
model = dinov2_vits14
model = dino_vits8
;model = dinov2_vits14
;model = dinov2_vitb14

[detect]
Expand Down
4 changes: 2 additions & 2 deletions sdcat/reflectance/cleaner.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
import cv2
import numpy as np

from logger import info
from reflectance import specularity as spc
from sdcat.logger import info
from sdcat.reflectance import specularity as spc


def specularity_removal(image: np.ndarray) -> np.ndarray:
Expand Down

0 comments on commit 107a470

Please sign in to comment.