Set workers=0 for MPS Train and Val modes (#4697)
This commit is contained in:
parent
2bc6e647c7
commit
a4fabfdacf
14 changed files with 88 additions and 74 deletions
|
|
@ -273,7 +273,7 @@ def safe_download(url,
|
|||
"""
|
||||
|
||||
# Check if the URL is a Google Drive link
|
||||
gdrive = 'drive.google.com' in url
|
||||
gdrive = url.startswith('https://drive.google.com/')
|
||||
if gdrive:
|
||||
url, file = get_google_drive_file_info(url)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue