Skip to content

Commit 34f2e93

Browse files
committed
dont touch the yaml for yolov8
1 parent aff9609 commit 34f2e93

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

.gitignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,5 +154,3 @@ tests/manual/data
154154
README.roboflow.txt
155155
*.zip
156156
.DS_Store
157-
158-
Aerial-Airport-1

roboflow/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
from roboflow.models import CLIPModel, GazeModel # noqa: F401
1616
from roboflow.util.general import write_line
1717

18-
__version__ = "1.1.47"
18+
__version__ = "1.1.48"
1919

2020

2121
def check_key(api_key, model, notebook, num_retries=0):

roboflow/core/version.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ def download(self, model_format=None, location=None, overwrite: bool = False):
233233

234234
self.__download_zip(link, location, model_format)
235235
self.__extract_zip(location, model_format)
236-
self.__reformat_yaml(location, model_format)
236+
self.__reformat_yaml(location, model_format) # TODO: is roboflow-python a place to be munging yaml files?
237237

238238
return Dataset(self.name, self.version, model_format, os.path.abspath(location))
239239

@@ -944,7 +944,7 @@ def data_yaml_callback(content: dict) -> dict:
944944
content["train"] = location + content["train"].lstrip(".")
945945
content["val"] = location + content["val"].lstrip(".")
946946
content["test"] = location + content["test"].lstrip(".")
947-
if format in ["yolov5pytorch", "yolov7pytorch", "yolov8", "yolov9"]:
947+
if format in ["yolov5pytorch", "yolov7pytorch"]:
948948
content["train"] = location + content["train"].lstrip("..")
949949
content["val"] = location + content["val"].lstrip("..")
950950
try:

0 commit comments

Comments
 (0)