From cb67d64a5f83facedef3d4a662703db326dae591 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fatih=20Baltac=C4=B1?= Date: Wed, 27 Mar 2019 17:44:19 +0300 Subject: [PATCH 1/2] Update datasets.py (#169) --- utils/datasets.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/datasets.py b/utils/datasets.py index be127210..5128bfe8 100755 --- a/utils/datasets.py +++ b/utils/datasets.py @@ -100,7 +100,7 @@ class LoadImagesAndLabels(Dataset): # for training/testing assert len(self.img_files) > 0, 'No images found in %s' % path self.img_size = img_size self.augment = augment - self.label_files = [x.replace('images', 'labels').replace('.bmp', '.txt').replace('.jpg', '.txt') + self.label_files = [x.replace('images', 'labels').replace('.bmp', '.txt').replace('.jpg', '.txt').replace('.png', '.txt') for x in self.img_files] def __len__(self): From fdc02115b5422027e5b4592f7de9ed392897c164 Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Thu, 28 Mar 2019 13:46:23 +0100 Subject: [PATCH 2/2] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ea6c356e..dfa50321 100755 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ This directory contains python software and an iOS App developed by Ultralytics # Description -The https://github.com/ultralytics/yolov3 repo contains inference and training code for YOLOv3 in PyTorch. The code works on Linux, MacOS and Windows. Training is done on the COCO dataset by default: https://cocodataset.org/#home. **Credit to Joseph Redmon for YOLO: ** https://pjreddie.com/darknet/yolo/. +The https://github.com/ultralytics/yolov3 repo contains inference and training code for YOLOv3 in PyTorch. The code works on Linux, MacOS and Windows. Training is done on the COCO dataset by default: https://cocodataset.org/#home. **Credit to Joseph Redmon for YOLO:** https://pjreddie.com/darknet/yolo/. # Requirements