From 83f7fae96fd8146c529c2d0b4e19795ed3d0940c Mon Sep 17 00:00:00 2001 From: KorRyu3 <146335193+KorRyu3@users.noreply.github.com> Date: Wed, 21 Aug 2024 09:16:21 +0900 Subject: [PATCH 1/3] =?UTF-8?q?pyenv=E3=81=AE=E3=82=A4=E3=83=B3=E3=82=B9?= =?UTF-8?q?=E3=83=88=E3=83=BC=E3=83=AB=E6=96=B9=E6=B3=95=E3=82=92=E8=BF=BD?= =?UTF-8?q?=E8=A8=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index a7cdacb8..92cd308e 100644 --- a/README.md +++ b/README.md @@ -44,6 +44,8 @@ cd train-YOLOv10 ### 2. Pythonの環境構築 +`pyenv`を使うので、パソコンに入っていない人は[CONTRIBUTING.md](https://github.com/TechC-SugarCane/.github/blob/main/CONTRIBUTING.md#pyenv-pyenv-win-%E3%81%AE%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB)を参考にしながらインストールしてください。 + ```bash pyenv install ``` From 9917547970a80972503b692f8526a2dc404e4f97 Mon Sep 17 00:00:00 2001 From: KorRyu3 <146335193+KorRyu3@users.noreply.github.com> Date: Wed, 21 Aug 2024 09:19:18 +0900 Subject: [PATCH 2/3] =?UTF-8?q?=E5=AD=A6=E7=BF=92=E6=99=82=E3=81=AE?= =?UTF-8?q?=E3=82=B3=E3=83=9E=E3=83=B3=E3=83=89=E3=81=AB=E8=AA=AC=E6=98=8E?= =?UTF-8?q?=E3=82=92=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 92cd308e..edcc8753 100644 --- a/README.md +++ b/README.md @@ -120,17 +120,17 @@ git config lfs.https://github.com/TechC-SugarCane/train-YOLOv10.git/info/lfs.loc その際は、[`runs/detect/README.md`](./runs/detect/README.md)を参考に作成してください。 ```bash -# sugarcane +# サトウキビをファインチューニングするコマンド yolo detect train cfg='cfg/sugarcane.yaml' data=yolov10-datasets/sugarcane/data.yaml model=weights/yolov10x.pt name='yolov10x-sugarcane' epochs=300 batch=16 imgsz=640 device=0 -# pineapple +# パイナップルをファインチューニングするコマンド yolo detect train cfg='cfg/pineapple.yaml' data=yolov10-datasets/pineapple/data.yaml model=weights/yolov10x.pt name='yolov10x-pineapple' epochs=300 batch=16 imgsz=640 device=0 ``` ※ 上記を実行すると`yolov8n.pt`がダウンロードされますが、AMPというものの確認用に追加されているだけらしいので気にしなくて大丈夫です。 詳しくは[#106](https://github.com/THU-MIG/yolov10/issues/106)を参照してください。 -ハイパーパラメーターは自由に調整してください。`cfg/`にあります。このファイルの`Hyperparameters`の部分でハイパラ関連の設定ができます。 +ハイパーパラメーターは自由に調整してください。下記ファイルが`cfg/`にあります。このファイルの`Hyperparameters`の部分でハイパラ関連の設定ができます。 - サトウキビ: `sugarcane.yaml` - パイナップル: `pineapple.yaml` From a439b484b929fc86306228c0cd086d4a5d2bfede Mon Sep 17 00:00:00 2001 From: KorRyu3 <146335193+KorRyu3@users.noreply.github.com> Date: Wed, 21 Aug 2024 09:22:12 +0900 Subject: [PATCH 3/3] =?UTF-8?q?docs:=20=E3=83=AA=E3=83=9D=E3=82=B8?= =?UTF-8?q?=E3=83=88=E3=83=AA=E3=82=92=E3=83=93=E3=83=AB=E3=83=89=E3=81=99?= =?UTF-8?q?=E3=82=8B=E3=82=B3=E3=83=9E=E3=83=B3=E3=83=89=E3=82=92=E4=BB=96?= =?UTF-8?q?=E3=81=AE=E3=82=B3=E3=83=9E=E3=83=B3=E3=83=89=E3=81=A8=E9=9A=94?= =?UTF-8?q?=E9=9B=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index edcc8753..5dea59e6 100644 --- a/README.md +++ b/README.md @@ -76,7 +76,11 @@ pip install -r requirements-cpu.txt # GPUで推論を行う場合 pip install -r requirements-gpu.txt +``` +リポジトリをビルド + +``` # 共通 pip install -e . ```