Spaces:
Sleeping
Sleeping
debug: indendation error
Browse files
yolov8.py
CHANGED
@@ -161,7 +161,7 @@ def dff_nmf(image, target_lyr, n_components):
|
|
161 |
|
162 |
|
163 |
#yolov5_categories_url = \
|
164 |
-
|
165 |
#yaml_data = requests.get(yolov5_categories_url).text
|
166 |
# labels = yaml.safe_load(yaml_data)['names'] # Parse the YAML file to get class names
|
167 |
num_classes = model.model.model[-1].nc
|
|
|
161 |
|
162 |
|
163 |
#yolov5_categories_url = \
|
164 |
+
# "https://github.com/ultralytics/yolov5/raw/master/data/coco128.yaml" # URL to the YOLOv5 categories file
|
165 |
#yaml_data = requests.get(yolov5_categories_url).text
|
166 |
# labels = yaml.safe_load(yaml_data)['names'] # Parse the YAML file to get class names
|
167 |
num_classes = model.model.model[-1].nc
|