0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

YOLOPとYOLOPv2 の環境構築【2024年4月成功】

Posted at

環境構築(共通)

YOLOPv2を利用したい場合も、まずはYOLOPで環境構築をするl。

python -m venv venv
. ./venv/bin/activate
git clone https://github.com/hustvl/YOLOP
cd YOLOP
pip3 install -r requirements.txt
pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu121

利用(YOLOP)

python tools/demo.py --source inference/images

環境構築(YOLOPv2)

git clone https://github.com/CAIC-AD/YOLOPv2/tree/main
cd YOLOPv2

以下のURLから重みをDLして、「data/weights/」 に配置する

利用(YOLOPv2)

python demo.py  --source data/example.jpg
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?