Skip to content

Commit 6ada8db

Browse files
author
Christian Mills
committed
Update colab export notebook and README.
1 parent dfcc2a2 commit 6ada8db

File tree

3 files changed

+45
-10
lines changed

3 files changed

+45
-10
lines changed

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,21 @@ This tutorial provides a step-by-step guide on training YOLOX object detection m
55

66

77

8-
## Training Code
8+
## Training
99

1010
| Jupyter Notebook | Google Colab |
1111
| ------------------------------------------------------------ | ------------------------------------------------------------ |
1212
| [GitHub Repository](https://github.com/cj-mills/pytorch-yolox-object-detection-tutorial-code/blob/main/notebooks/pytorch-yolox-object-detector-training.ipynb) | [Open In Colab](https://colab.research.google.com/github/cj-mills/pytorch-yolox-object-detection-tutorial-code/blob/main/notebooks/pytorch-yolox-object-detector-training-colab.ipynb) |
1313

1414

1515

16+
## ONNX Export
17+
18+
| Jupyter Notebook | Google Colab |
19+
| ------------------------------------------------------------ | ------------------------------------------------------------ |
20+
| [GitHub Repository](https://github.com/cj-mills/pytorch-yolox-object-detection-tutorial-code/blob/main/notebooks/pytorch-yolox-object-detector-onnx-export.ipynb) | [Open In Colab](https://colab.research.google.com/github/cj-mills/pytorch-yolox-object-detection-tutorial-code/blob/main/notebooks/pytorch-yolox-object-detector-onnx-export-colab.ipynb) |
21+
22+
1623

1724
## License
1825

notebooks/pytorch-yolox-object-detector-onnx-export-colab.ipynb

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,18 @@
1515
"metadata": {},
1616
"outputs": [],
1717
"source": [
18-
"# %%capture\n",
19-
"# # Install PyTorch with CUDA\n",
20-
"# !pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118\n",
18+
"%%capture\n",
19+
"# Install PyTorch with CUDA\n",
20+
"!pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118\n",
2121
"\n",
22-
"# # Install additional dependencies\n",
23-
"# !pip install pandas pillow\n",
22+
"# Install additional dependencies\n",
23+
"!pip install pandas pillow\n",
2424
"\n",
25-
"# # Install ONNX packages\n",
26-
"# !pip install onnx onnxruntime onnx-simplifier\n",
25+
"# Install ONNX packages\n",
26+
"!pip install onnx onnxruntime onnx-simplifier\n",
2727
"\n",
28-
"# # Install utility packages\n",
29-
"# !pip install cjm_psl_utils cjm_pil_utils cjm_yolox_pytorch"
28+
"# Install utility packages\n",
29+
"!pip install cjm_psl_utils cjm_pil_utils cjm_yolox_pytorch"
3030
]
3131
},
3232
{

notebooks/pytorch-yolox-object-detector-training.ipynb

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2845,6 +2845,34 @@
28452845
},
28462846
"metadata": {},
28472847
"output_type": "display_data"
2848+
},
2849+
{
2850+
"data": {
2851+
"application/vnd.jupyter.widget-view+json": {
2852+
"model_id": "1c25da16e74a448090294f499b19225c",
2853+
"version_major": 2,
2854+
"version_minor": 0
2855+
},
2856+
"text/plain": [
2857+
"Eval: 0%| | 0/99 [00:00<?, ?it/s]"
2858+
]
2859+
},
2860+
"metadata": {},
2861+
"output_type": "display_data"
2862+
},
2863+
{
2864+
"data": {
2865+
"application/vnd.jupyter.widget-view+json": {
2866+
"model_id": "3c835b13774e4bd8a17c45f4fb320d44",
2867+
"version_major": 2,
2868+
"version_minor": 0
2869+
},
2870+
"text/plain": [
2871+
"Train: 0%| | 0/895 [00:00<?, ?it/s]"
2872+
]
2873+
},
2874+
"metadata": {},
2875+
"output_type": "display_data"
28482876
}
28492877
],
28502878
"source": [

0 commit comments

Comments
 (0)