Skip to content

Commit

Permalink
fix: correct some bugs calling libaries
Browse files Browse the repository at this point in the history
  • Loading branch information
Fernanda Lecaros Saavedra authored and Fernanda Lecaros Saavedra committed Mar 5, 2024
1 parent 404036b commit d69171b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sdcat/detect/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
from sdcat.config.config import default_config_ini
from sdcat.detect.sahi_detector import run_sahi_detect_bulk, run_sahi_detect
from sdcat.detect.saliency_detector import run_saliency_detect, run_saliency_detect_bulk
from sdcat.logger import exception, info, warn
from sdcat.logger import exception, info, warn, create_logger_file

default_model = 'MBARI/megamidwater'

Expand Down Expand Up @@ -55,7 +55,7 @@ def run_detect(show: bool, image_dir: str, save_dir: str, model: str,
allowable_classes = allowable_classes.split(',')
clahe = config('detect', 'clahe') == 'True'

logger.create_logger_file(Path.cwd(), 'detect')
create_logger_file(Path.cwd(), 'detect')

if not skip_sahi:
if model == 'yolov8s':
Expand Down

0 comments on commit d69171b

Please sign in to comment.