ultralytics-ascend/docs/en/reference/utils/patches.md
Glenn Jocher fb20867262
Patch torch.load(..., weights_only=False) to reduce warnings (#14638)
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
Co-authored-by: UltralyticsAssistant <web@ultralytics.com>
2024-07-23 20:35:58 +02:00

32 lines
1 KiB
Markdown

---
description: Explore and contribute to Ultralytics' utils/patches.py. Learn about the imread, imwrite, imshow, and torch_save functions.
keywords: Ultralytics, utils, patches, imread, imwrite, imshow, torch_save, OpenCV, PyTorch, GitHub
---
# Reference for `ultralytics/utils/patches.py`
!!! Note
This file is available at [https://github.com/ultralytics/ultralytics/blob/main/ultralytics/utils/patches.py](https://github.com/ultralytics/ultralytics/blob/main/ultralytics/utils/patches.py). If you spot a problem please help fix it by [contributing](https://docs.ultralytics.com/help/contributing/) a [Pull Request](https://github.com/ultralytics/ultralytics/edit/main/ultralytics/utils/patches.py) 🛠️. Thank you 🙏!
<br>
## ::: ultralytics.utils.patches.imread
<br><br><hr><br>
## ::: ultralytics.utils.patches.imwrite
<br><br><hr><br>
## ::: ultralytics.utils.patches.imshow
<br><br><hr><br>
## ::: ultralytics.utils.patches.torch_load
<br><br><hr><br>
## ::: ultralytics.utils.patches.torch_save
<br><br>