Skip to content

Commit

Permalink
replace "squeeze" with "group" III
Browse files Browse the repository at this point in the history
  • Loading branch information
phinik committed Jan 9, 2024
1 parent e18d3a7 commit e68eb45
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions yoeo/detect.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
from torch.utils.data import DataLoader
from torch.autograd import Variable

from typing import Optional, List
from typing import Optional

from imgaug.augmentables.segmaps import SegmentationMapsOnImage

Expand Down Expand Up @@ -66,7 +66,7 @@ def detect_directory(model_path, weights_path, img_path, class_config: ClassConf
class_config.get_group_config()
)
_draw_and_save_output_images(
img_detections, segmentations, imgs, img_size, output_path, class_config.get_unsqueezed_det_class_names())
img_detections, segmentations, imgs, img_size, output_path, class_config.get_ungrouped_det_class_names())

print(f"---- Detections were saved to: '{output_path}' ----")

Expand Down

0 comments on commit e68eb45

Please sign in to comment.