Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Newest changes #1

Merged
merged 172 commits into from
Mar 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
172 commits
Select commit Hold shift + click to select a range
5941128
Explorer API video https://youtu.be/3VryynorQeo (#7838)
RizwanMunawar Jan 26, 2024
ee88882
Add HUB-SDK Docs reference section (#7781)
glenn-jocher Jan 26, 2024
5f00fbd
Link checks SSL insecure robustness (#7853)
glenn-jocher Jan 27, 2024
1435f0e
Add new @Retry() decorator (#7854)
glenn-jocher Jan 27, 2024
6183b59
Add TensorRT Docs Integrations Page (#7855)
abirami-vina Jan 28, 2024
afb0cb1
Cleanup Docs languages (#7865)
glenn-jocher Jan 28, 2024
492f397
Add millimeters in `solutions/distance_caculation.py` + `object-cropp…
RizwanMunawar Jan 28, 2024
e096edc
`ultralytics 8.1.7` `USER_CONFIG_DIR` Explorer ops (#7861)
AyushExel Jan 28, 2024
18d7ab0
Ultralytics Actions with OpenAI GPT-4 PR Summary (#7867)
pderrenger Jan 28, 2024
80a6e20
Bump slackapi/slack-github-action from 1.24.0 to 1.25.0 in /.github/w…
dependabot[bot] Jan 29, 2024
51fb3d6
Add visuals in `guides/distance-calculation.md` (#7876)
RizwanMunawar Jan 29, 2024
9bdd784
TensorRT FP16 export with `dynamic=True` (#7870)
developer0hye Jan 29, 2024
7ac65dc
Add https://youtu.be/3VryynorQeo to README and fix `converter.py` Doc…
RizwanMunawar Jan 29, 2024
8c15882
`ultralytics 8.1.8` new `model.save('filename.pt')` method (#7886)
glenn-jocher Jan 30, 2024
1cbfee3
Compress explorer image in `dataset/index.md` + description added for…
RizwanMunawar Jan 31, 2024
2881cda
Fix OpenVINO links (#7930)
glenn-jocher Jan 31, 2024
ba48492
Add `integrations/gradio` Docs page (#7935)
glenn-jocher Feb 1, 2024
68de79d
Add https://youtu.be/96NkhsV-W1U to docs and `heatmaps` fix (#7944)
RizwanMunawar Feb 1, 2024
66b32bb
Segment TensorRT `batch=3` fix (#7952)
DieterTimmers Feb 1, 2024
70d4a37
`ultralytics 8.1.9` replace `.size(0)` with `.shape[0]` (#7957)
glenn-jocher Feb 1, 2024
9d35ecb
Add YouTube iframe `loading="lazy"` (#8001)
glenn-jocher Feb 3, 2024
afc5dcb
Mkdocs updates (#8008)
glenn-jocher Feb 4, 2024
c26e497
Tracker: clean up GMC (#8003)
Laughing-q Feb 4, 2024
c567af3
Bump nick-invision/retry from 2 to 3 in /.github/workflows (#8023)
dependabot[bot] Feb 6, 2024
e62d9cf
Bump codecov/codecov-action from 3 to 4 in /.github/workflows (#8022)
dependabot[bot] Feb 6, 2024
70a6ef9
Fix TFLite INT8 for OBB (#7989)
adamp87 Feb 6, 2024
77b21db
Add CoreML Docs Integrations Page (#8063)
abirami-vina Feb 7, 2024
beada6e
Add Roboflow 100 Dataset Docs Page (#8065)
abirami-vina Feb 7, 2024
da40839
`ultralytics 8.1.10` MLFlow, OBB, TFLite and INT8 fixes (#8016)
Youho99 Feb 7, 2024
215ec30
Add https://youtu.be/R42s2zFtNIY to `hub/datasets.md` and CoreML imag…
RizwanMunawar Feb 7, 2024
d8f64b2
Update Roboflow segmentation Docs pages (#8094)
RizwanMunawar Feb 8, 2024
e6247b7
FROM pytorch/pytorch:2.2.0-cuda12.1-cudnn8-runtime (#8104)
glenn-jocher Feb 9, 2024
5cb05a8
`ultralytics 8.1.11` expand OpenVINO INT8 ops for improved mAP (#7516)
glenn-jocher Feb 9, 2024
f5db31f
Add https://youtu.be/q7LwPoM7tSQ to `guides/yolo-performance-metrics.…
RizwanMunawar Feb 9, 2024
bcd4225
Compress docs images (#8124)
RizwanMunawar Feb 10, 2024
22364dc
Updated SQL Query Plot Code (#8120)
0xSynapse Feb 11, 2024
e9ab4de
Elaborate Train and Predict mode docs arguments (#8137)
glenn-jocher Feb 12, 2024
7169ce8
Move Google Drive to slow tests (#8163)
glenn-jocher Feb 12, 2024
8a41bed
Improve Coral Edge TPU guide (#8160)
Skillnoob Feb 12, 2024
21d5ebd
Try Apple M1 runners for Tests and Benchmarks CI (#8162)
glenn-jocher Feb 12, 2024
ebf6507
Retry once for Docker CI failures (#8164)
glenn-jocher Feb 12, 2024
5260408
`ultralytics 8.1.12` new `Results.show()` and `Results.save()` (#8166)
glenn-jocher Feb 13, 2024
78f7e47
Fix solution functions description + `integrations/openvino.md` cover…
RizwanMunawar Feb 13, 2024
79e0d59
Pin `duckdb<=0.9.2` to avoid 0.10.0 errors (#8181)
AyushExel Feb 13, 2024
920ce66
New HUB Cloud Training docs page (#8174)
priytosh-tripathi Feb 13, 2024
863c788
`ultralytics 8.1.13` fix `yolo train time=` bug (#8179)
glenn-jocher Feb 13, 2024
22feb68
Docs updates and improvements (#8183)
glenn-jocher Feb 13, 2024
f9e9cdf
Fix xyxyxyxyn calculation in obb result (#8188)
KybernetikJo Feb 13, 2024
850ca85
`ultralytics 8.1.14` new YOLOv8-World models (#8054)
Laughing-q Feb 14, 2024
5e81651
Fix PIL `show()` and `save()` (#8202)
glenn-jocher Feb 14, 2024
2f22ff4
Remove OpenVINO INT8 RTDETRDecoder ops (#8219)
glenn-jocher Feb 15, 2024
8aa73c4
Fix xyxyxyxyn calculation, swap axis (#8249)
KybernetikJo Feb 17, 2024
e38c7a3
Improve Docs Modes tables (#8266)
glenn-jocher Feb 17, 2024
fbed849
`ultralytics 8.1.15` add Python 3.12 compatibility (#8210)
glenn-jocher Feb 17, 2024
42744a1
Expand `Model` method type hinting (#8279)
glenn-jocher Feb 19, 2024
de01212
`ultralytics 8.1.16` OBB ConfusionMatrix support (#8299)
Laughing-q Feb 19, 2024
d8b8b71
Move Explorer tests to scheduled CI (#8305)
glenn-jocher Feb 19, 2024
e4a62f9
Remove JAX constraints in Exporter (#8309)
glenn-jocher Feb 19, 2024
7f0d5ef
`Model` typehints Docker fix (#8306)
glenn-jocher Feb 19, 2024
9e24743
Fix an issue with flatbuffer version for Raspberry Pi (#8311)
lakshanthad Feb 19, 2024
61088b4
Update Dockerfile for Raspberry Pi Support (#8123)
lakshanthad Feb 19, 2024
d03928f
Avoid creating `-hub` dir without processing images (#8334)
glenn-jocher Feb 20, 2024
5171d66
Added check of parameter type before setting `required_grad=True` for…
alexsu52 Feb 20, 2024
a5605b5
Add `estimate_speed(region_color)` parameter (#8285)
hi-sushanta Feb 20, 2024
3faea8c
Add simple-utilities.md Docs page (#8269)
Burhan-Q Feb 20, 2024
604b9d0
Update `mkdocs-ultralytics-plugin>=0.0.44` (#8347)
glenn-jocher Feb 20, 2024
2945cfc
`ultralytics 8.1.17` fix `ClassificationDataset` caching (#8358)
glenn-jocher Feb 21, 2024
8c28e0c
Add missing single-line docstrings (#8362)
glenn-jocher Feb 22, 2024
0572b29
`ultralytics 8.1.18` add cmake for building onnxsim on aarch64 (#8395)
lakshanthad Feb 22, 2024
21088e3
Allow Annotator PIL.Image inputs (#8397)
glenn-jocher Feb 23, 2024
d6edf1c
Add Non-Maximum Suppression (NMS) `inplace` flag (#8368)
AlainSchoebi Feb 23, 2024
60b6cab
Compare `plt.get_backend()` in lowercase (#8409)
Mactarvish Feb 23, 2024
30729d7
Improve Docs arguments tables (#8415)
Burhan-Q Feb 25, 2024
2d75f72
Add plot_images `conf_thresh` parameter (#8446)
deanmark Feb 25, 2024
0efbd2d
Add YOLOv9 Docs page (#8478)
glenn-jocher Feb 26, 2024
70f533f
Rename `model_id` to `model.id` (#8447)
kaikai23 Feb 26, 2024
f8e681c
`ultralytics 8.1.19` PNNX `aarch64` linux fix (#8480)
glenn-jocher Feb 26, 2024
1db8e91
Add TorchScript Docs Integrations Page (#8501)
abirami-vina Feb 29, 2024
55ce6fa
Do RTDETR file suffix check using pathlib instead of string manipulat…
birdcolour Feb 29, 2024
fcff64c
Auto-format by https://ultralytics.com/actions
UltralyticsAssistant Feb 29, 2024
aa592ef
Add TFLite Docs Integrations Page (#8522)
abirami-vina Feb 29, 2024
6bdf8df
Fix undefined ‘im_array’ bug in predict.md (#8565)
glenn-jocher Feb 29, 2024
33fff69
Add https://youtu.be/ie3vLUDNYZo and other YT videos in Docs (#8551)
RizwanMunawar Mar 1, 2024
31cf94e
Hold failed upload metrics and upload with next upload metrics (#8513)
hassaanfarooq01 Mar 1, 2024
59ed47c
`ultralytics 8.1.20` add YOLOv8x-World support (#8539)
Laughing-q Mar 1, 2024
3c6b9b6
Fix device counting method to account for double-digit device IDs (#8…
omarzd Mar 1, 2024
5e14db8
Remove unused variables (#8511)
Kayzwer Mar 1, 2024
4d3e0da
Add NCNN Docs Integrations Page (#8562)
abirami-vina Mar 1, 2024
14dbfea
Optimize function calls to method calls (#8507)
Kayzwer Mar 1, 2024
a3fdcd0
Replacing Images for torchscript.md (#8596)
abirami-vina Mar 2, 2024
2100d28
Fix cmake requirements for ARM64 (#8589)
lakshanthad Mar 2, 2024
668bbcb
Add https://youtu.be/rCggzXRRSRo to Speed Estimation Docs (#8577)
RizwanMunawar Mar 2, 2024
28a9d41
Add KaTeX support + updates to YOLOv9 model page (#8531)
Burhan-Q Mar 2, 2024
e0b8b36
Replace `onnx2tf` usage from CLI to Python (#8429)
ALMerrill Mar 2, 2024
1146bb0
Update IoU capitalization (#8604)
glenn-jocher Mar 2, 2024
36408c9
Update TFLite Docs images (#8605)
glenn-jocher Mar 3, 2024
906b8d3
Add `distance calculation` feature in `vision-eye` (#8616)
glenn-jocher Mar 3, 2024
946e18f
`ultralytics 8.1.21` Add YOLOv8-World-v2 models (#8580)
Laughing-q Mar 3, 2024
e138d70
`ultralytics 8.1.22` HUB model `pathlib` fix (#8621)
glenn-jocher Mar 4, 2024
2071776
`ultralytics 8.1.23` add YOLOv9-C and E models (#8571)
Laughing-q Mar 4, 2024
ad65855
Add settings `runs_dir` == `datasets_dir` warning (#8653)
glenn-jocher Mar 4, 2024
374c6ad
Add Ultralytics HUB Cloud Training banner to Docs (#8656)
sergiuwaxmann Mar 4, 2024
67d2c36
Update CITATION.cff with cffinit corrections (#8658)
glenn-jocher Mar 4, 2024
16a91a9
Update Colab notebook for YOLOv8.1 (#8660)
glenn-jocher Mar 4, 2024
a7cfd83
`ultralytics 8.1.24` new OpenVINO 2023.3 export updates (#8417)
adrianboguszewski Mar 5, 2024
ddc94a6
OBB: Fix when training on zip data (#8680)
Laughing-q Mar 5, 2024
3596a77
Object Counter improvements (#8648)
hdnh2006 Mar 5, 2024
9c42596
Clarify triton server boolean value (#8532)
bobyard-com Mar 5, 2024
609a0ce
Add `model.eval()` in TensorBoad graph visualization to avoid BN stat…
Y-T-G Mar 6, 2024
6da7c9f
Add domain checks to CI docs page (#8714)
glenn-jocher Mar 6, 2024
9094394
`ultralytics 8.1.25` OpenVINO `LATENCY` and `THROUGHPUT` modes (#8058)
glenn-jocher Mar 6, 2024
f5d883b
Add https://youtu.be/OpWpBI35A5Y to inference-api Docs (#8717)
RizwanMunawar Mar 6, 2024
b53a398
OpenVino 2024.0.0 (#8726)
johnnynunez Mar 6, 2024
e45146f
Fix tfjs exports for ARM64 Dockerfile (#8766)
lakshanthad Mar 7, 2024
10bb39d
Modify tuner best.pt logic to train first (#8792)
finlaymorrison Mar 8, 2024
083fd02
Update CI.md with CI links (#8786)
glenn-jocher Mar 8, 2024
f8f62bc
Add https://youtu.be/ZzUSXQkLbNw to Integration Docs (#8793)
RizwanMunawar Mar 8, 2024
2bc605f
`ultralytics 8.1.25` fix `**kwargs: (dict)` warnings (#8815)
glenn-jocher Mar 9, 2024
911d18e
Add docs guide terminal images (#8819)
Burhan-Q Mar 9, 2024
af6c02c
`RTDETRDetectionModel` TorchScript, ONNX Predict and Val support (#8818)
glenn-jocher Mar 9, 2024
1f9667f
New `MLFLOW_KEEP_RUN_ACTIVE` flag for enhanced MLflow run management …
massimiliano96 Mar 10, 2024
7451ca1
`ultralytics 8.1.26` `LoadImagesAndVideos` batched inference (#8817)
glenn-jocher Mar 10, 2024
5893d44
Update `fraction` arg to employ a random selection (#8234)
johnnynunez Mar 11, 2024
ff8ae0d
Batch inference fixes (#8854)
Burhan-Q Mar 11, 2024
7638c5c
Integrate OpenVINO `CUMULATIVE_THROUGHPUT` mode batched inference (#8…
glenn-jocher Mar 11, 2024
3555785
Add PaddlePaddle Docs Integrations Page (#8858)
abirami-vina Mar 11, 2024
2ea6b2b
`ultralytics 8.1.27` batched tracking fixes (#8842)
Laughing-q Mar 11, 2024
617ab21
Faster batch `same_shapes` (#8851)
glenn-jocher Mar 11, 2024
d24ead4
More robust PNNX downloads (#8866)
glenn-jocher Mar 11, 2024
3623d62
Fix `test_mlflow_keep_run_active()` (#8868)
glenn-jocher Mar 11, 2024
014f0b4
Add polygon regions drawing support in `object-counting.md` and minor…
RizwanMunawar Mar 12, 2024
e8de3fa
Add TFLite Edge TPU Docs Integrations Page (#8900)
abirami-vina Mar 13, 2024
5c12771
Update Docs README (#8919)
glenn-jocher Mar 13, 2024
58a05f8
Fix `names` bug when exporting YOLOv8-World to ONNX (#8941)
jamjamjon Mar 14, 2024
82e8dae
New test for labels and crops (#8861)
Burhan-Q Mar 14, 2024
368abb4
Optimize TFJS export on ARM64 (#8946)
lakshanthad Mar 15, 2024
bc34ae5
Auto-format by https://ultralytics.com/actions
UltralyticsAssistant Mar 15, 2024
2d513a9
`ultralytics 8.1.28` avoid * ops on bool Tensors for RT-DETR OpenVINO…
Kayzwer Mar 15, 2024
b44e184
Add https://youtu.be/YDXKa1EljmU and https://youtu.be/5BO0Il_YYAg to …
RizwanMunawar Mar 15, 2024
ab71228
`ultralytics 8.1.29` improved disk space checking on correct path (#8…
glenn-jocher Mar 16, 2024
f9edac6
Add OpenVINO Latency vs Throughput modes Docs page (#9001)
glenn-jocher Mar 17, 2024
e4afd47
Add `brain-tumor` dataset docs page (#9041)
RizwanMunawar Mar 19, 2024
630ee45
Fix Neural Magic links (#9144)
glenn-jocher Mar 20, 2024
a62cdab
Updating a typo on paddlepaddle.md (#9108)
abirami-vina Mar 20, 2024
8617fcf
`ultralytics 8.1.30` add advanced HUB train arguments (#9110)
kalenmike Mar 20, 2024
292e028
fix yolo classify model loading error (#9196)
DseidLi Mar 22, 2024
41c2d8d
Add TF GraphDef Docs Integrations Page (#9203)
abirami-vina Mar 22, 2024
3c179f8
`ultralytics 8.1.31` NCNN and CLIP updates (#9235)
glenn-jocher Mar 22, 2024
528793f
Fix TypeError in check_cfg() (#9245)
zhaoruibing Mar 23, 2024
fbb180d
Add https://youtu.be/aeAX6vWpfR0 to docs & `african-wildlife` dataset…
RizwanMunawar Mar 23, 2024
8bb2cda
Add TF SavedModel Docs Integrations Page (#9162)
abirami-vina Mar 23, 2024
7d2e94b
Limit `ray<2.9.3` due to bug in `ray==2.10.0` (#9254)
glenn-jocher Mar 23, 2024
6de99a2
`ultralytics 8.1.32` fix CLIP backwards compatibility (#9253)
glenn-jocher Mar 23, 2024
3523382
Conda cv2 ImportError libEGL.so.1 fix (#9255)
glenn-jocher Mar 23, 2024
ebbbdd7
Fix `IS_PYTHON_3_12` bug (#9258)
glenn-jocher Mar 23, 2024
e706c7f
Reverse IoU threshold for NMS docs descriptions (#9151)
plashchynski Mar 23, 2024
33607ca
Add `bgr` hyperparameter (#9139)
Laughing-q Mar 23, 2024
8d31c50
Update pyproject.toml `[tool.pytest.ini_options]` (#9259)
glenn-jocher Mar 24, 2024
fc6c66a
Fix OpenVINO missing batch-size bug (#9264)
glenn-jocher Mar 24, 2024
ec1d110
`ultralytics 8.1.33` fix HUB model checks (#9153)
kalenmike Mar 24, 2024
281e07d
Update Discord and Contributing Guide URLs (#9270)
glenn-jocher Mar 24, 2024
dcb953b
Add https://youtu.be/uDrn9QZJ2lk and `object_counting.py`, `ai_gym.py…
RizwanMunawar Mar 24, 2024
5be2ffb
`ultralytics 8.1.34` Inference API robust imgsz checks (#9274)
glenn-jocher Mar 25, 2024
6a2fddf
Bump contributor-assistant/github-action from 2.3.1 to 2.3.2 in /.git…
dependabot[bot] Mar 25, 2024
898cbcd
Add https://youtu.be/u3pLlgzUeV8 to docs (#9367)
RizwanMunawar Mar 27, 2024
1325889
Fix typo in YOLOv8-Libtorch-CPP-Inference (#9330)
higor-melo Mar 27, 2024
978a3ca
Simplify metrics calculation (#9338)
Kayzwer Mar 27, 2024
d4072f7
Fix typo in example readme (#9306)
ericphanson Mar 27, 2024
e84e117
Specify YOLODataset task arg during INT8 calibration (#9309)
sifan-intel Mar 27, 2024
3aeb058
`ultralytics 8.1.35` simplify network modules (#9321)
Laughing-q Mar 27, 2024
8e32039
Merge branch 'main' into newest-changes
DannyCooler Mar 28, 2024
9f44cdd
Auto-format by https://ultralytics.com/actions
UltralyticsAssistant Mar 28, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
48 changes: 29 additions & 19 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,13 @@ name: Ultralytics CI
on:
push:
branches: [main]
paths-ignore:
- "docs/**"
- "mkdocs.yml"
pull_request:
branches: [main]
paths-ignore:
- "docs/**"
schedule:
- cron: "0 0 * * *" # runs at 00:00 UTC every day
workflow_dispatch:
Expand Down Expand Up @@ -94,7 +99,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
os: [ubuntu-latest, macos-14]
python-version: ["3.11"]
model: [yolov8n]
steps:
Expand All @@ -108,34 +113,32 @@ jobs:
run: |
python -m pip install --upgrade pip wheel
pip install -e ".[export]" "coverage[toml]" --extra-index-url https://download.pytorch.org/whl/cpu
# Fix SavedModel issue "partially initialized module 'jax' has no attribute 'version' (most likely due to a circular import)" in https://github.com/google/jax/discussions/14036
# pip install -U 'jax!=0.4.15' 'jaxlib!=0.4.15'
yolo export format=tflite imgsz=32 || true
# yolo export format=tflite imgsz=32 || true
- name: Check environment
run: |
yolo checks
pip list
# - name: Benchmark DetectionModel
# shell: bash
# run: coverage run -a --source=ultralytics -m ultralytics.cfg.__init__ benchmark model='path with spaces/${{ matrix.model }}.pt' imgsz=160 verbose=0.318
- name: Benchmark YOLOWorld DetectionModel
shell: bash
run: coverage run -a --source=ultralytics -m ultralytics.cfg.__init__ benchmark model='path with spaces/yolov8s-worldv2.pt' imgsz=160 verbose=0.318
- name: Benchmark SegmentationModel
shell: bash
run: coverage run -a --source=ultralytics -m ultralytics.cfg.__init__ benchmark model='path with spaces/${{ matrix.model }}-seg.pt' imgsz=160 verbose=0.286
run: coverage run -a --source=ultralytics -m ultralytics.cfg.__init__ benchmark model='path with spaces/${{ matrix.model }}-seg.pt' imgsz=160 verbose=0.281
- name: Benchmark ClassificationModel
shell: bash
run: coverage run -a --source=ultralytics -m ultralytics.cfg.__init__ benchmark model='path with spaces/${{ matrix.model }}-cls.pt' imgsz=160 verbose=0.166
- name: Benchmark PoseModel
shell: bash
run: coverage run -a --source=ultralytics -m ultralytics.cfg.__init__ benchmark model='path with spaces/${{ matrix.model }}-pose.pt' imgsz=160 verbose=0.185
run: coverage run -a --source=ultralytics -m ultralytics.cfg.__init__ benchmark model='path with spaces/${{ matrix.model }}-pose.pt' imgsz=160 verbose=0.183
- name: Benchmark OBBModel
shell: bash
run: coverage run -a --source=ultralytics -m ultralytics.cfg.__init__ benchmark model='path with spaces/${{ matrix.model }}-obb.pt' imgsz=160 verbose=0.360
run: coverage run -a --source=ultralytics -m ultralytics.cfg.__init__ benchmark model='path with spaces/${{ matrix.model }}-obb.pt' imgsz=160 verbose=0.472
- name: Merge Coverage Reports
run: |
coverage xml -o coverage-benchmarks.xml
- name: Upload Coverage Reports to CodeCov
if: github.repository == 'ultralytics/ultralytics'
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
flags: Benchmarks
env:
Expand All @@ -152,7 +155,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
os: [ubuntu-latest, macos-14]
python-version: ["3.11"]
torch: [latest]
include:
Expand All @@ -174,7 +177,7 @@ jobs:
if [ "${{ matrix.torch }}" == "1.8.0" ]; then
torch="torch==1.8.0 torchvision==0.9.0"
fi
pip install -e . $torch pytest-cov "coremltools>=7.0" --extra-index-url https://download.pytorch.org/whl/cpu
pip install -e . $torch pytest-cov "coremltools>=7.0; platform_system != 'Windows' and python_version <= '3.11'" --extra-index-url https://download.pytorch.org/whl/cpu
- name: Check environment
run: |
yolo checks
Expand All @@ -184,13 +187,14 @@ jobs:
run: |
slow=""
if [[ "${{ github.event_name }}" == "schedule" ]] || [[ "${{ github.event_name }}" == "workflow_dispatch" ]]; then
pip install mlflow pycocotools 'ray[tune]'
# WARNING bug in ray>=2.10.0
pip install mlflow pycocotools "ray[tune]<=2.9.3"
slow="--slow"
fi
pytest $slow --cov=ultralytics/ --cov-report xml tests/
- name: Upload Coverage Reports to CodeCov
if: github.repository == 'ultralytics/ultralytics' # && matrix.os == 'ubuntu-latest' && matrix.python-version == '3.11'
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
flags: Tests
env:
Expand All @@ -211,14 +215,14 @@ jobs:
- name: Pytest tests
run: pytest --cov=ultralytics/ --cov-report xml tests/test_cuda.py
- name: Upload Coverage Reports to CodeCov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
flags: GPU
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

Conda:
if: github.repository == 'ultralytics/ultralytics' && (github.event_name == 'schedule_disabled' || github.event.inputs.conda == 'true')
if: github.repository == 'ultralytics/ultralytics' && (github.event_name == 'schedule' || github.event.inputs.conda == 'true')
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
Expand All @@ -236,6 +240,11 @@ jobs:
channels: conda-forge,defaults
channel-priority: true
activate-environment: anaconda-client-env
- name: Install Linux packages
run: |
# Fix cv2 ImportError: 'libEGL.so.1: cannot open shared object file: No such file or directory'
sudo apt-get update
sudo apt-get install -y libegl1 libopengl0
- name: Install Libmamba
run: |
conda config --set solver libmamba
Expand All @@ -244,7 +253,8 @@ jobs:
conda install -c pytorch -c conda-forge pytorch torchvision ultralytics openvino
- name: Install pip packages
run: |
pip install pytest 'coremltools>=7.0'
# CoreML must be installed before export due to protobuf error from AutoInstall
pip install pytest "coremltools>=7.0; platform_system != 'Windows' and python_version <= '3.11'"
- name: Check environment
run: |
conda list
Expand Down Expand Up @@ -276,7 +286,7 @@ jobs:
steps:
- name: Check for failure and notify
if: (needs.HUB.result == 'failure' || needs.Benchmarks.result == 'failure' || needs.Tests.result == 'failure' || needs.GPU.result == 'failure' || needs.Conda.result == 'failure') && github.repository == 'ultralytics/ultralytics' && (github.event_name == 'schedule' || github.event_name == 'push')
uses: slackapi/slack-github-action@v1.24.0
uses: slackapi/slack-github-action@v1.25.0
with:
payload: |
{"text": "<!channel> GitHub Actions error for ${{ github.workflow }} ❌\n\n\n*Repository:* https://github.com/${{ github.repository }}\n*Action:* https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}\n*Author:* ${{ github.actor }}\n*Event:* ${{ github.event_name }}\n"}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cla.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
steps:
- name: CLA Assistant
if: (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the CLA Document and I sign the CLA') || github.event_name == 'pull_request_target'
uses: contributor-assistant/github-action@v2.3.1
uses: contributor-assistant/github-action@v2.3.2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# must be repository secret token
Expand Down
21 changes: 16 additions & 5 deletions .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ name: Publish Docker Images
on:
push:
branches: [main]
paths-ignore:
- "docs/**"
- "mkdocs.yml"
workflow_dispatch:
inputs:
Dockerfile:
Expand Down Expand Up @@ -109,10 +112,18 @@ jobs:

- name: Build Image
if: github.event_name == 'push' || github.event.inputs[matrix.dockerfile] == 'true'
run: |
docker build --platform ${{ matrix.platforms }} -f docker/${{ matrix.dockerfile }} \
-t ultralytics/ultralytics:${{ matrix.tags }} \
-t ultralytics/ultralytics:${{ steps.get_version.outputs.version_tag }} .
uses: nick-invision/retry@v3
with:
timeout_minutes: 60
retry_wait_seconds: 30
max_attempts: 2 # retry once
command: |
docker build \
--platform ${{ matrix.platforms }} \
-f docker/${{ matrix.dockerfile }} \
-t ultralytics/ultralytics:${{ matrix.tags }} \
-t ultralytics/ultralytics:${{ steps.get_version.outputs.version_tag }} \
.

- name: Run Tests
if: (github.event_name == 'push' || github.event.inputs[matrix.dockerfile] == 'true') && matrix.platforms == 'linux/amd64' && matrix.dockerfile != 'Dockerfile-conda' # arm64 images not supported on GitHub CI runners
Expand Down Expand Up @@ -140,7 +151,7 @@ jobs:

- name: Notify on failure
if: github.event_name == 'push' && failure() # do not notify on cancelled() as cancelling is performed by hand
uses: slackapi/slack-github-action@v1.24.0
uses: slackapi/slack-github-action@v1.25.0
with:
payload: |
{"text": "<!channel> GitHub Actions error for ${{ github.workflow }} ❌\n\n\n*Repository:* https://github.com/${{ github.repository }}\n*Action:* https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}\n*Author:* ${{ github.actor }}\n*Event:* ${{ github.event_name }}\n"}
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,3 @@ jobs:
summary: true # print PR summary with GPT4 (requires 'openai_api_key' or 'openai_azure_api_key' and 'openai_azure_endpoint')
openai_azure_api_key: ${{ secrets.OPENAI_AZURE_API_KEY }}
openai_azure_endpoint: ${{ secrets.OPENAI_AZURE_ENDPOINT }}
# openai_api_key: ${{ secrets.OPENAI_API_KEY }}
12 changes: 8 additions & 4 deletions .github/workflows/links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,18 @@ jobs:
sudo mv lychee /usr/local/bin

- name: Test Markdown and HTML links with retry
uses: nick-invision/retry@v2
uses: nick-invision/retry@v3
with:
timeout_minutes: 5
retry_wait_seconds: 60
max_attempts: 3
command: |
lychee \
--scheme https \
--timeout 60 \
--insecure \
--accept 403,429,500,502,999 \
--exclude-loopback \
--exclude-all-private \
--exclude 'https?://(www\.)?(linkedin\.com|twitter\.com|instagram\.com|kaggle\.com|fonts\.gstatic\.com|url\.com)' \
--exclude-path docs/zh \
--exclude-path docs/es \
Expand All @@ -55,16 +57,18 @@ jobs:

- name: Test Markdown, HTML, YAML, Python and Notebook links with retry
if: github.event_name == 'workflow_dispatch'
uses: nick-invision/retry@v2
uses: nick-invision/retry@v3
with:
timeout_minutes: 5
retry_wait_seconds: 60
max_attempts: 3
command: |
lychee \
--scheme https \
--timeout 60 \
--insecure \
--accept 429,999 \
--exclude-loopback \
--exclude-all-private \
--exclude 'https?://(www\.)?(linkedin\.com|twitter\.com|instagram\.com|kaggle\.com|fonts\.gstatic\.com|url\.com)' \
--exclude-path '**/ci.yaml' \
--exclude-path docs/zh \
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ jobs:
PERSONAL_ACCESS_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
INDEXNOW_KEY: ${{ secrets.INDEXNOW_KEY_DOCS }}
run: |
export JUPYTER_PLATFORM_DIRS=1
python docs/build_docs.py
git config --global user.name "Glenn Jocher"
git config --global user.email "glenn.jocher@ultralytics.com"
Expand Down Expand Up @@ -96,15 +97,15 @@ jobs:
echo "PR_TITLE=$PR_TITLE" >> $GITHUB_ENV
- name: Notify on Slack (Success)
if: success() && github.event_name == 'push' && steps.check_pypi.outputs.increment == 'True'
uses: slackapi/slack-github-action@v1.24.0
uses: slackapi/slack-github-action@v1.25.0
with:
payload: |
{"text": "<!channel> GitHub Actions success for ${{ github.workflow }} ✅\n\n\n*Repository:* https://github.com/${{ github.repository }}\n*Action:* https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}\n*Author:* ${{ github.actor }}\n*Event:* NEW 'ultralytics ${{ steps.check_pypi.outputs.version }}' pip package published 😃\n*Job Status:* ${{ job.status }}\n*Pull Request:* <https://github.com/${{ github.repository }}/pull/${{ env.PR_NUMBER }}> ${{ env.PR_TITLE }}\n"}
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL_YOLO }}
- name: Notify on Slack (Failure)
if: failure()
uses: slackapi/slack-github-action@v1.24.0
uses: slackapi/slack-github-action@v1.25.0
with:
payload: |
{"text": "<!channel> GitHub Actions error for ${{ github.workflow }} ❌\n\n\n*Repository:* https://github.com/${{ github.repository }}\n*Action:* https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}\n*Author:* ${{ github.actor }}\n*Event:* ${{ github.event_name }}\n*Job Status:* ${{ job.status }}\n*Pull Request:* <https://github.com/${{ github.repository }}/pull/${{ env.PR_NUMBER }}> ${{ env.PR_TITLE }}\n"}
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ MANIFEST

# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
# before PyInstaller builds the exe, so as to inject date/other info into it.
*.manifest
*.spec

Expand All @@ -50,6 +50,7 @@ coverage.xml
*.py,cover
.hypothesis/
.pytest_cache/
mlruns/

# Translations
*.mo
Expand Down
40 changes: 23 additions & 17 deletions CITATION.cff
Original file line number Diff line number Diff line change
@@ -1,20 +1,26 @@
# This CITATION.cff file was generated with https://bit.ly/cffinit

cff-version: 1.2.0
preferred-citation:
type: software
message: If you use this software, please cite it as below.
authors:
- family-names: Jocher
given-names: Glenn
orcid: "https://orcid.org/0000-0001-5950-6979"
- family-names: Chaurasia
given-names: Ayush
orcid: "https://orcid.org/0000-0002-7603-6750"
title: Ultralytics YOLO
message: >-
If you use this software, please cite it using the
metadata from this file.
type: software
authors:
- given-names: Glenn
family-names: Jocher
affiliation: Ultralytics
orcid: 'https://orcid.org/0000-0001-5950-6979'
- given-names: Ayush
family-names: Chaurasia
affiliation: Ultralytics
orcid: 'https://orcid.org/0000-0002-7603-6750'
- family-names: Qiu
given-names: Jing
orcid: "https://orcid.org/0000-0003-3783-7069"
title: "Ultralytics YOLO"
version: 8.0.0
# doi: 10.5281/zenodo.3908559 # TODO
date-released: 2023-1-10
license: AGPL-3.0
url: "https://github.com/ultralytics/ultralytics"
affiliation: Ultralytics
orcid: 'https://orcid.org/0000-0003-3783-7069'
repository-code: 'https://github.com/ultralytics/ultralytics'
url: 'https://ultralytics.com'
license: AGPL-3.0
version: 8.0.0
date-released: '2023-01-10'
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ Ultralytics provides interactive notebooks for YOLOv8, covering training, valida
| <a href="https://docs.ultralytics.com/modes/track/">YOLOv8 Multi-Object Tracking in Videos</a> | <a href="https://colab.research.google.com/github/ultralytics/ultralytics/blob/main/examples/object_tracking.ipynb"><img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"></a> | <a href="https://youtu.be/hHyHmOtmEgs"><center><img width=30% src="https://github.com/raw/ultralytics/assets/main/social/logo-social-youtube-rect.png" alt="Ultralytics Youtube Video"></center></a> |
| <a href="https://docs.ultralytics.com/guides/object-counting/">YOLOv8 Object Counting in Videos</a> | <a href="https://colab.research.google.com/github/ultralytics/ultralytics/blob/main/examples/object_counting.ipynb"><img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"></a> | <a href="https://youtu.be/Ag2e-5_NpS0"><center><img width=30% src="https://github.com/raw/ultralytics/assets/main/social/logo-social-youtube-rect.png" alt="Ultralytics Youtube Video"></center></a> |
| <a href="https://docs.ultralytics.com/guides/heatmaps/">YOLOv8 Heatmaps in Videos</a> | <a href="https://colab.research.google.com/github/ultralytics/ultralytics/blob/main/examples/heatmaps.ipynb"><img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"></a> | <a href="https://youtu.be/4ezde5-nZZw"><center><img width=30% src="https://github.com/raw/ultralytics/assets/main/social/logo-social-youtube-rect.png" alt="Ultralytics Youtube Video"></center></a> |
| <a href="https://docs.ultralytics.com/datasets/explorer/">Ultralytics Datasets Explorer with SQL and OpenAI Integration 🚀 New</a> | <a href="https://colab.research.google.com/github/ultralytics/ultralytics/blob/main/docs/en/datasets/explorer/explorer.ipynb"><img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"></a> | Coming Soon |
| <a href="https://docs.ultralytics.com/datasets/explorer/">Ultralytics Datasets Explorer with SQL and OpenAI Integration 🚀 New</a> | <a href="https://colab.research.google.com/github/ultralytics/ultralytics/blob/main/docs/en/datasets/explorer/explorer.ipynb"><img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"></a> | <a href="https://youtu.be/3VryynorQeo"><center><img width=30% src="https://github.com/raw/ultralytics/assets/main/social/logo-social-youtube-rect.png" alt="Ultralytics Youtube Video"></center></a> |

## <div align="center">Models</div>

Expand Down Expand Up @@ -200,7 +200,7 @@ See [OBB Docs](https://docs.ultralytics.com/tasks/obb/) for usage examples with
| [YOLOv8l-obb](https://github.com/ultralytics/assets/releases/download/v8.1.0/yolov8l-obb.pt) | 1024 | 80.7 | 1278.42 | 11.83 | 44.5 | 433.8 |
| [YOLOv8x-obb](https://github.com/ultralytics/assets/releases/download/v8.1.0/yolov8x-obb.pt) | 1024 | 81.36 | 1759.10 | 13.23 | 69.5 | 676.7 |

- **mAP<sup>test</sup>** values are for single-model multi-scale on [DOTAv1](https://captain-whu.github.io/DOTA/index.html) dataset. <br>Reproduce by `yolo val obb data=DOTAv1.yaml device=0 split=test` and submit merged results to [DOTA evaluation](https://captain-whu.github.io/DOTA/evaluation.html).
- **mAP<sup>test</sup>** values are for single-model multiscale on [DOTAv1](https://captain-whu.github.io/DOTA/index.html) dataset. <br>Reproduce by `yolo val obb data=DOTAv1.yaml device=0 split=test` and submit merged results to [DOTA evaluation](https://captain-whu.github.io/DOTA/evaluation.html).
- **Speed** averaged over DOTAv1 val images using an [Amazon EC2 P4d](https://aws.amazon.com/ec2/instance-types/p4/) instance. <br>Reproduce by `yolo val obb data=DOTAv1.yaml batch=1 device=0|cpu`

</details>
Expand Down
Loading
Loading