diff --git a/app/yolov5/utils/downloads.py b/app/yolov5/utils/downloads.py index bc0d660..79b25dd 100644 --- a/app/yolov5/utils/downloads.py +++ b/app/yolov5/utils/downloads.py @@ -41,7 +41,7 @@ def url_getsize(url='https://ultralytics.com/images/bus.jpg'): def safe_download(file, url, url2=None, min_bytes=1E0, error_msg=''): # Attempts to download file from url or url2, checks and removes incomplete downloads < min_bytes - from utils.general import LOGGER + from app.yolov5.utils.general import LOGGER file = Path(file) assert_msg = f"Downloaded file '{file}' does not exist or size is < min_bytes={min_bytes}"