Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
chenyuntc committed Dec 23, 2017
1 parent 4d790d4 commit 8b2430e
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 15 deletions.
26 changes: 12 additions & 14 deletions README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,13 @@ VGG16 train on `trainval` and test on `test` split.

### Speed

| Implementation | GPU | Inference | Trainining |
| :--------------------------------------: | :------: | :---------: | :---------: |
| [origin paper](https://arxiv.org/abs/1506.01497) | K40 | 5 fps | NA |
| This | TITAN Xp | 12 fps [^1] | 5-6 fps[^2] |
| [pytorch-faster-rcnn](https://github.com/ruotianluo/pytorch-faster-rcnn) | TITAN Xp | NA | 5-6fps |

[^1]: include reading images from disk, preprocessing, etc. see `eval` in `train.py` for more detail.
[^2]: it depends on the e

**NOTE** you should make sure you install cupy correctly to reach the benchmark.
| Implementation | GPU | Inference | Trainining |
| :--------------------------------------: | :------: | :-------: | :--------: |
| [origin paper](https://arxiv.org/abs/1506.01497) | K40 | 5 fps | NA |
| This[^1] | TITAN Xp | 12 fps | 5-6 fps |
| [pytorch-faster-rcnn](https://github.com/ruotianluo/pytorch-faster-rcnn) | TITAN Xp | NA | 5-6fps |

[^1]: make sure you install cupy correctly and only one program run on the GPU.
## Install dependencies

requires python3 and PyTorch 0.3
Expand Down Expand Up @@ -151,7 +147,7 @@ TODO: make it clear
- cupy
- vgg

## TODO
## More

- [ ] training on coco
- [ ] resnet
Expand All @@ -166,6 +162,8 @@ This work builds on many excellent works, which include:
- [faster-rcnn.pytorch by Jianwei Yang and Jiasen Lu](https://github.com/jwyang/faster-rcnn.pytorch).It's mainly based on [longcw's faster_rcnn_pytorch](https://github.com/longcw/faster_rcnn_pytorch)
- All the above Repositories have referred to [py-faster-rcnn by Ross Girshick and Sean Bell](https://github.com/rbgirshick/py-faster-rcnn) either directly or indirectly.

## LICENSE

MIT, see the LICENSE for more detail.
## other
licensed in MIT, see the LICENSE for more detail.
Contribution Welcome.
If you encounter any problem, feel free to open an issue.
Correct me if anything is wrong or unclear.
5 changes: 4 additions & 1 deletion model/utils/nms/non_maximum_suppression.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@
import numpy as np
import cupy as cp
import torch as t
from ._nms_gpu_post import _nms_gpu_post
try:
from ._nms_gpu_post import _nms_gpu_post
except:
from ._nms_gpu_post_py import _nms_gpu_post


@cp.util.memoize(for_each_device=True)
Expand Down

0 comments on commit 8b2430e

Please sign in to comment.