fix: Update imports.
Make imports in colab consistent with non-colab code.
Esse commit está contido em:
@@ -50,8 +50,7 @@ if __name__ == "__main__":
|
||||
# Original URL: https://pjreddie.com/media/files/yolov3-tiny.weights
|
||||
gdrive_id = "1mIEZthXBcEguMvuVAHKLXQX3mA1oZUuC"
|
||||
|
||||
# if not os.path.isfile(os.path.join(download_folder, weights_file)):
|
||||
if True:
|
||||
if not os.path.isfile(os.path.join(download_folder, weights_file)):
|
||||
print(f"\nDownloading Raw {weights_file}\n")
|
||||
start = time.time()
|
||||
call_string = " ".join(
|
||||
|
||||
@@ -99,8 +99,8 @@
|
||||
"if to_run:\n",
|
||||
" !git clone https://github.com/AntonMu/TrainYourOwnYOLO\n",
|
||||
" %cd TrainYourOwnYOLO\n",
|
||||
" !pip install -r requirements.txt\n",
|
||||
" to_run = False\n",
|
||||
" !pip -q install wandb\n",
|
||||
" !wandb login"
|
||||
],
|
||||
"execution_count": 2,
|
||||
@@ -2430,9 +2430,7 @@
|
||||
"metadata": {
|
||||
"id": "TgcPDOKucqkH"
|
||||
},
|
||||
"source": [
|
||||
""
|
||||
]
|
||||
"source": []
|
||||
}
|
||||
]
|
||||
}
|
||||
Referência em uma Nova Issue
Bloquear um usuário