Creado con Colaboratory

pull/1316/head
Glenn Jocher 2020-11-06 17:12:23 +01:00
parent fed5d9cdfb
commit 58f8ba771e
1 changed files with 2 additions and 3 deletions

5
tutorial.ipynb vendored
View File

@ -559,7 +559,6 @@
"\n",
"import torch\n",
"from IPython.display import Image, clear_output # to display images\n",
"from utils.google_utils import gdrive_download # to download models/datasets\n",
"\n",
"clear_output()\n",
"print('Setup complete. Using torch %s %s' % (torch.__version__, torch.cuda.get_device_properties(0) if torch.cuda.is_available() else 'CPU'))"
@ -1159,8 +1158,8 @@
"source": [
"# Run unit tests\n",
"%%shell\n",
"#git clone https://github.com/ultralytics/yolov5\n",
"#cd yolov5\n",
"# git clone https://github.com/ultralytics/yolov5\n",
"# cd yolov5\n",
"pip install -qr requirements.txt onnx\n",
"\n",
"export PYTHONPATH=\"$PWD\" # to run *.py. files in subdirectories\n",