mirror of
https://github.com/THU-MIG/yolov10.git
synced 2025-05-24 06:07:03 +08:00
Add patches section and fix Docs CI (#3193)
This commit is contained in:
parent
2f02d8ea53
commit
0a229bd40f
2
.github/workflows/publish.yml
vendored
2
.github/workflows/publish.yml
vendored
@ -63,7 +63,7 @@ jobs:
|
|||||||
python -m twine upload dist/* -u __token__ -p $PYPI_TOKEN
|
python -m twine upload dist/* -u __token__ -p $PYPI_TOKEN
|
||||||
- name: Deploy Docs
|
- name: Deploy Docs
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
if: ((github.event_name == 'push' && (contains(github.event.head_commit.message, 'docs/') || contains(github.event.head_commit.message, 'mkdocs.yaml'))) || github.event.inputs.docs == 'true') && github.repository == 'ultralytics/ultralytics' && github.actor == 'glenn-jocher'
|
if: (github.event_name == 'push' || github.event.inputs.docs == 'true') && github.repository == 'ultralytics/ultralytics' && github.actor == 'glenn-jocher'
|
||||||
env:
|
env:
|
||||||
PERSONAL_ACCESS_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
|
PERSONAL_ACCESS_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
|
24
docs/reference/yolo/utils/patches.md
Normal file
24
docs/reference/yolo/utils/patches.md
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
---
|
||||||
|
description: Learn how to use the Ultralytics YOLO Utils package's imread and imshow functions. These functions are used for reading and writing image files. Try out our TorchSave feature today.
|
||||||
|
keywords: imread, imshow, ultralytics, YOLO, image files, torchsave
|
||||||
|
---
|
||||||
|
|
||||||
|
# imread
|
||||||
|
---
|
||||||
|
:::ultralytics.yolo.utils.patches.imread
|
||||||
|
<br><br>
|
||||||
|
|
||||||
|
# imwrite
|
||||||
|
---
|
||||||
|
:::ultralytics.yolo.utils.patches.imwrite
|
||||||
|
<br><br>
|
||||||
|
|
||||||
|
# imshow
|
||||||
|
---
|
||||||
|
:::ultralytics.yolo.utils.patches.imshow
|
||||||
|
<br><br>
|
||||||
|
|
||||||
|
# torch_save
|
||||||
|
---
|
||||||
|
:::ultralytics.yolo.utils.patches.torch_save
|
||||||
|
<br><br>
|
Loading…
x
Reference in New Issue
Block a user