From f92160b091ef820a6710c446f16d5a0aab0a8ad6 Mon Sep 17 00:00:00 2001
From: Kalen Michael
Date: Sun, 7 Aug 2022 12:21:21 +0200
Subject: [PATCH 1/4] fix: added transparent image and empty alt to social bar
---
README.md | 26 +++++++++++++-------------
1 file changed, 13 insertions(+), 13 deletions(-)
diff --git a/README.md b/README.md
index 5bc3c1c41b93..21800e853a1c 100644
--- a/README.md
+++ b/README.md
@@ -24,31 +24,31 @@ YOLOv5 🚀 is a family of object detection architectures and models pretrained
From e606eabef97dd21231c084d32afa0355882b809f Mon Sep 17 00:00:00 2001
From: Kalen Michael
Date: Sun, 7 Aug 2022 12:24:32 +0200
Subject: [PATCH 2/4] fix: remove underlines
---
README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README.md b/README.md
index 21800e853a1c..34e6a91d6ccd 100644
--- a/README.md
+++ b/README.md
@@ -23,7 +23,7 @@ YOLOv5 🚀 is a family of object detection architectures and models pretrained
From bea5bdd5d49f79a19dfc8682fb972425995601db Mon Sep 17 00:00:00 2001
From: Kalen Michael
Date: Fri, 12 Aug 2022 12:49:20 +0200
Subject: [PATCH 4/4] fix: always unzip into folder
---
utils/general.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/utils/general.py b/utils/general.py
index 85f98cb140b9..c592d022e58c 100755
--- a/utils/general.py
+++ b/utils/general.py
@@ -480,7 +480,7 @@ def check_dataset(data, autodownload=True):
# Download (optional)
extract_dir = ''
if isinstance(data, (str, Path)) and str(data).endswith('.zip'): # i.e. gs://bucket/dir/coco128.zip
- download(data, dir=DATASETS_DIR, unzip=True, delete=False, curl=False, threads=1)
+ download(data, dir=f'{DATASETS_DIR}/{Path(data).stem}', unzip=True, delete=False, curl=False, threads=1)
data = next((DATASETS_DIR / Path(data).stem).rglob('*.yaml'))
extract_dir, autodownload = data.parent, False