Add patches section and fix Docs CI (#3193)

single_channel
Glenn Jocher 1 year ago committed by GitHub
parent 2f02d8ea53
commit 0a229bd40f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -63,7 +63,7 @@ jobs:
python -m twine upload dist/* -u __token__ -p $PYPI_TOKEN
- name: Deploy Docs
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:
PERSONAL_ACCESS_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
run: |

@ -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…
Cancel
Save