updates
This commit is contained in:
+1
-1
@@ -574,7 +574,7 @@ def coco_single_class_labels(path='../coco/labels/train2014/', label_class=43):
|
||||
shutil.copyfile(src=img_file, dst='new/images/' + Path(file).name.replace('txt', 'jpg')) # copy images
|
||||
|
||||
|
||||
def kmeans_targets(path='data/coco_64img.txt', n=9, img_size=416): # from utils.utils import *; kmeans_targets()
|
||||
def kmeans_targets(path='../coco/trainvalno5k.txt', n=9, img_size=416): # from utils.utils import *; kmeans_targets()
|
||||
# Produces a list of target kmeans suitable for use in *.cfg files
|
||||
from utils.datasets import LoadImagesAndLabels
|
||||
from scipy import cluster
|
||||
|
||||
Reference in New Issue
Block a user