Skip to content

Commit

Permalink
Merge pull request #117 from twosixlabs/71-cull-uninteresting-examples
Browse files Browse the repository at this point in the history
71 cull uninteresting examples
  • Loading branch information
treubig26 authored Jan 18, 2024
2 parents 553332d + edccd89 commit 2949e2d
Show file tree
Hide file tree
Showing 38 changed files with 1,840 additions and 7,634 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,12 @@ jobs:
- name: Image Classification Food-101 TorchVision
dir: examples/src/armory/examples/image_classification
script: food101.py --batch-size 2 --num-batches 1 --export-every-n-batches 1 --dataset torchvision
- name: Object Detection
- name: Object Detection License Plates YOLOS
dir: examples/src/armory/examples/object_detection
script: license_plates_yolov5_robustdpatch.py --batch-size 2 --num-batches 1 --export-every-n-batches 1
script: license_plates_yolos.py --batch-size 2 --num-batches 1 --export-every-n-batches 1
- name: Object Detection License Plates YOLOv5
dir: examples/src/armory/examples/object_detection
script: license_plates_yolov5.py --batch-size 2 --num-batches 1 --export-every-n-batches 1
python-version: ["3.8"]
steps:
- name: Checkout
Expand Down
6 changes: 6 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ repos:
examples/src/.*|
matrix/src/.*
)$
# Notebooks
- repo: https://github.com/nbQA-dev/nbQA
rev: 1.7.0
hooks:
Expand All @@ -45,6 +46,11 @@ repos:
tutorials/notebooks/.*|
examples/notebooks/.*
)$
- repo: https://github.com/kynan/nbstripout
rev: 0.6.1
hooks:
- id: nbstripout
# Misc
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
Expand Down
2,111 changes: 883 additions & 1,228 deletions examples/notebooks/armory_colab_example.ipynb

Large diffs are not rendered by default.

30 changes: 21 additions & 9 deletions examples/notebooks/image_classification_food101.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
{
"cell_type": "code",
"execution_count": 11,
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -20,7 +20,7 @@
},
{
"cell_type": "code",
"execution_count": 12,
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
Expand Down Expand Up @@ -120,7 +120,7 @@
},
{
"cell_type": "code",
"execution_count": 16,
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -144,7 +144,7 @@
},
{
"cell_type": "code",
"execution_count": 17,
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
Expand Down Expand Up @@ -194,16 +194,24 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"metadata": {
"tags": [
"keep_output"
]
},
"outputs": [],
"source": [
"pprint(results)"
]
},
{
"cell_type": "code",
"execution_count": 20,
"metadata": {},
"execution_count": null,
"metadata": {
"tags": [
"keep_output"
]
},
"outputs": [
{
"data": {
Expand All @@ -228,8 +236,12 @@
},
{
"cell_type": "code",
"execution_count": 21,
"metadata": {},
"execution_count": null,
"metadata": {
"tags": [
"keep_output"
]
},
"outputs": [
{
"data": {
Expand Down
Loading

0 comments on commit 2949e2d

Please sign in to comment.