forked from ruhyadi/YOLO3D
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
51 changed files
with
42,662 additions
and
1,529 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -259,4 +259,6 @@ fabric.properties | |
## Folder | ||
/3DBBox | ||
/eval | ||
/weights | ||
/weights | ||
/sandbox | ||
/dataset |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,21 @@ | ||
# YOLO3D | ||
3D Object Detection with YOLOv5 for Autonomous Driving Vehicle | ||
# YOLO For 3D Object Detection | ||
|
||
## Installation | ||
1. Create Conda Env | ||
``` | ||
conda create -n yolo3d python=3.8 numpy | ||
``` | ||
2. Install pyTorch and torchvision | ||
Download `.whl` from [Nelson Liu](https://cs.stanford.edu/~nfliu/files/pytorch/whl/torch_stable.html) for unsupported GPU (old GPU). Install with pip: | ||
``` | ||
pip install ./torch-1.8.1+cu101-cp38-cp38-linux_x86_64.whl | ||
pip install ./torchvision-0.9.1+cu101-cp38-cp38-linux_x86_64.whl | ||
``` | ||
3. Install Requirements | ||
``` | ||
pip install -r requirements.txt | ||
``` | ||
|
||
## Inference | ||
### Inference with `detect.py` | ||
## Training | ||
``` | ||
python detect.py \ | ||
--weights yolov5s.pt \ | ||
--source data/images \ | ||
--classes 0 1 2 \ | ||
--project runs/detect/ | ||
python train_vgg.py \ | ||
--dataset_path /home/didi/Repository/RTYOLO3D/dataset/KITTI/training/ \ | ||
--weights /home/didi/Repository/RTYOLO3D/weights \ | ||
--epochs 100 \ | ||
--batch_size 50 \ | ||
--num_workers 4 \ | ||
``` | ||
|
||
## Reference | ||
- [YOLOv5 by ultralytics](https://github.com/ultralytics/yolov5) | ||
``` | ||
python train_vgg.py \ | ||
--dataset_path /home/didi/Repository/RTYOLO3D/dataset/KITTI/training/ \ | ||
--weights /home/didi/Repository/RTYOLO3D/weights \ | ||
--epochs 1 \ | ||
--batch_size 1 \ | ||
--num_workers 4 \ | ||
``` |
Oops, something went wrong.