From 631a272540601894ce3d52c65117e0da730ae582 Mon Sep 17 00:00:00 2001 From: leo Date: Tue, 7 Jan 2025 17:15:35 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20Yolo/README.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Yolo/README.md | 44 ++++++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/Yolo/README.md b/Yolo/README.md index cff6ae5..d904a0f 100644 --- a/Yolo/README.md +++ b/Yolo/README.md @@ -11,29 +11,29 @@ * Python 3.8以上 * Pytorch 1.8以上 -![](http://140.125.21.65:8418/Education/Python/raw/branch/master/Yolo/img/%E5%9C%96%E7%89%871.png) +![](http://leovip125.ddns.net:8418/Education/Python/raw/branch/master/Yolo/img/%E5%9C%96%E7%89%871.png) ### 下載V5檔案 [連接](https://github.com/ultralytics/yolov5) 1. 按下Code 2. 按下Download ZIP 3. 解壓縮剛剛下載的檔案 -![](http://140.125.21.65:8418/Education/Python/raw/branch/master/Yolo/img/%E5%9C%96%E7%89%872.png) +![](http://leovip125.ddns.net:8418/Education/Python/raw/branch/master/Yolo/img/%E5%9C%96%E7%89%872.png) ### 環境安裝 * 為了同一使用規範,這邊一律採用WinPython的方式進行 * 可透過提供的環境繼續使用,若要自行架設,繼續往下觀看 -* Winpython[連接](http://140.125.21.65:500/sharing/hS347f5na) +* Winpython[連接](http://leovip125.ddns.net:500/sharing/hS347f5na) * 選擇所需要的即可,之後安裝V5是採用3.8,V8採用3.10 -![](http://140.125.21.65:8418/Education/Python/raw/branch/master/Yolo/img/%E5%9C%96%E7%89%873.png) +![](http://leovip125.ddns.net:8418/Education/Python/raw/branch/master/Yolo/img/%E5%9C%96%E7%89%873.png) 安裝好WinPython後,打開小黑框 -![](http://140.125.21.65:8418/Education/Python/raw/branch/master/Yolo/img/%E5%9C%96%E7%89%874.png) +![](http://leovip125.ddns.net:8418/Education/Python/raw/branch/master/Yolo/img/%E5%9C%96%E7%89%874.png) ### 於指令中輸入 pip list -![](http://140.125.21.65:8418/Education/Python/raw/branch/master/Yolo/img/%E5%9C%96%E7%89%875.png) +![](http://leovip125.ddns.net:8418/Education/Python/raw/branch/master/Yolo/img/%E5%9C%96%E7%89%875.png) ### 尋找torch 若torch版本號後沒有cu的之類的 直接卸載 @@ -46,31 +46,31 @@ `pip uninstall torchvision` 接著按Y 確認刪除 -![](http://140.125.21.65:8418/Education/Python/raw/branch/master/Yolo/img/%E5%9C%96%E7%89%876.png) +![](http://leovip125.ddns.net:8418/Education/Python/raw/branch/master/Yolo/img/%E5%9C%96%E7%89%876.png) ### 上Pytorch的官網,找尋歷史安裝包[link](https://pytorch.org/get-started/previous-versions/): -![](http://140.125.21.65:8418/Education/Python/raw/branch/master/Yolo/img/%E5%9C%96%E7%89%877.png) +![](http://leovip125.ddns.net:8418/Education/Python/raw/branch/master/Yolo/img/%E5%9C%96%E7%89%877.png) 於指令中輸入 `pip install torch==1.8.1+cu111 torchvision==0.9.1+cu111 torchaudio==0.8.1 -f https://download.pytorch.org/whl/torch_stable.html` -![](http://140.125.21.65:8418/Education/Python/raw/branch/master/Yolo/img/%E5%9C%96%E7%89%878.png) +![](http://leovip125.ddns.net:8418/Education/Python/raw/branch/master/Yolo/img/%E5%9C%96%E7%89%878.png) 於指令中輸入 pip list 確認 -![](http://140.125.21.65:8418/Education/Python/raw/branch/master/Yolo/img/%E5%9C%96%E7%89%879.png) +![](http://leovip125.ddns.net:8418/Education/Python/raw/branch/master/Yolo/img/%E5%9C%96%E7%89%879.png) ### 遇到問題 若出現: -![](http://140.125.21.65:8418/Education/Python/raw/branch/master/Yolo/img/%E5%9C%96%E7%89%8710.png) +![](http://leovip125.ddns.net:8418/Education/Python/raw/branch/master/Yolo/img/%E5%9C%96%E7%89%8710.png) 輸入 `pip install opencv-python` 若出現: -![](http://140.125.21.65:8418/Education/Python/raw/branch/master/Yolo/img/%E5%9C%96%E7%89%8711.png) +![](http://leovip125.ddns.net:8418/Education/Python/raw/branch/master/Yolo/img/%E5%9C%96%E7%89%8711.png) 輸入 `pip install ultralytics` @@ -78,13 +78,13 @@ 1. 根據我給的teching_test的資料夾 2. 使用指令到達此資料夾 cd D:\…….\teaching_test -![](http://140.125.21.65:8418/Education/Python/raw/branch/master/Yolo/img/%E5%9C%96%E7%89%8712.png) +![](http://leovip125.ddns.net:8418/Education/Python/raw/branch/master/Yolo/img/%E5%9C%96%E7%89%8712.png) 3. 輸入 `python test_yolo.py ` 4. 若能成功運行,並顯示以下畫面,則此環境就能使用了 -![](http://140.125.21.65:8418/Education/Python/raw/branch/master/Yolo/img/%E5%9C%96%E7%89%8713.png) +![](http://leovip125.ddns.net:8418/Education/Python/raw/branch/master/Yolo/img/%E5%9C%96%E7%89%8713.png) ## @@ -95,40 +95,40 @@ * Python 3.8以上 * Pytorch 1.8以上 -![](http://140.125.21.65:8418/Education/Python/raw/branch/master/Yolo/img/%E5%9C%96%E7%89%8714.png) +![](http://leovip125.ddns.net:8418/Education/Python/raw/branch/master/Yolo/img/%E5%9C%96%E7%89%8714.png) ### 環境安裝 ### 上Pytorch的官網,找尋歷史安裝包[link](https://pytorch.org/get-started/previous-versions/): -![](http://140.125.21.65:8418/Education/Python/raw/branch/master/Yolo/img/%E5%9C%96%E7%89%8715.png) +![](http://leovip125.ddns.net:8418/Education/Python/raw/branch/master/Yolo/img/%E5%9C%96%E7%89%8715.png) ### 安裝方式與V5差不多,最終確認 -![](http://140.125.21.65:8418/Education/Python/raw/branch/master/Yolo/img/%E5%9C%96%E7%89%8716.png) +![](http://leovip125.ddns.net:8418/Education/Python/raw/branch/master/Yolo/img/%E5%9C%96%E7%89%8716.png) ### 測試環境 1. 根據我給的teching_test的資料夾 2. 使用指令到達此資料夾 cd D:\…….\teaching_test -![](http://140.125.21.65:8418/Education/Python/raw/branch/master/Yolo/img/%E5%9C%96%E7%89%8717.png) +![](http://leovip125.ddns.net:8418/Education/Python/raw/branch/master/Yolo/img/%E5%9C%96%E7%89%8717.png) 3. 輸入 `python test_yolo.py ` -![](http://140.125.21.65:8418/Education/Python/raw/branch/master/Yolo/img/%E5%9C%96%E7%89%8718.png) +![](http://leovip125.ddns.net:8418/Education/Python/raw/branch/master/Yolo/img/%E5%9C%96%E7%89%8718.png) 4. 若能成功運行,並顯示以下畫面,則此環境就能使用了 -![](http://140.125.21.65:8418/Education/Python/raw/branch/master/Yolo/img/%E5%9C%96%E7%89%8719.png) +![](http://leovip125.ddns.net:8418/Education/Python/raw/branch/master/Yolo/img/%E5%9C%96%E7%89%8719.png) ## 若安裝許久都無法順利運行,或許是環境有未下載到的,可以直接安裝我提供的環境進行測試。目前實測2-3台,都沒有太多問題。 -網址 -[140.125.21.65:500]( http://140.125.21.65:500/) +網址 -[leovip125.ddns.net:500]( http://leovip125.ddns.net:500/) 帳號 : VIP125 密碼 : Aa125125 -![](http://140.125.21.65:8418/Education/Python/raw/branch/master/Yolo/img/%E5%9C%96%E7%89%8720.png) +![](http://leovip125.ddns.net:8418/Education/Python/raw/branch/master/Yolo/img/%E5%9C%96%E7%89%8720.png)