Skip to content

Commit

Permalink
delete submodule paddleyolo (#573)
Browse files Browse the repository at this point in the history
Co-authored-by: LokeZhou <[email protected]>
Co-authored-by: xuzhang <[email protected]>
  • Loading branch information
3 people authored Jun 11, 2024
1 parent 8a166dc commit 75dfdcd
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
3 changes: 0 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
[submodule "PaddleNLP"]
path = PaddleNLP
url = https://github.com/PaddlePaddle/PaddleNLP
[submodule "paddlemix/examples/YOLO-World/third_party/PaddleYOLO"]
path = paddlemix/examples/YOLO-World/third_party/PaddleYOLO
url = https://github.com/PaddlePaddle/PaddleYOLO
10 changes: 10 additions & 0 deletions paddlemix/examples/YOLO-World/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,18 @@ cd PaddleMIX/ppdiffusers/examples/YOLO-World/
# 安装新版本ppdiffusers
pip install https://paddlenlp.bj.bcebos.com/models/community/junnyu/wheels/ppdiffusers-0.24.0-py3-none-any.whl --user

# 由于YOLO-World实现依赖PaddleYOLO, 先将PaddleYOLO clone至third_party目录下
mkdir third_party
git clone https://github.com/PaddlePaddle/PaddleYOLO.git third_party/PaddleYOLO

# 安装paddledet
pip install -e third_party/PaddleYOLO

# 安装其他所需的依赖
pip install -e .

# 创建目录存放预训练模型
mkdir pretrain
```
`YOLO-World/` 目录下的目录结构应如下:

Expand Down
1 change: 0 additions & 1 deletion paddlemix/examples/YOLO-World/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ dependencies = [
"opencv-python",
"supervision==0.18.0",
"openmim",
'paddledet @ git+https://github.com/PaddlePaddle/PaddleYOLO.git',
]

[tool.setuptools]
Expand Down
1 change: 0 additions & 1 deletion paddlemix/examples/YOLO-World/third_party/PaddleYOLO
Submodule PaddleYOLO deleted from 76f371

0 comments on commit 75dfdcd

Please sign in to comment.