Creado con Colaboratory
parent
fed5d9cdfb
commit
58f8ba771e
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue