fix: Update imports.

Make imports in colab consistent  with non-colab code.
Esse commit está contido em:
AntonMu
2021-05-30 15:09:23 -07:00
commit f7bdfca980
2 arquivos alterados com 3 adições e 6 exclusões
+1 -2
Ver Arquivo
@@ -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(
+2 -4
Ver Arquivo
@@ -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": []
}
]
}