Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
wang-xinyu committed Sep 22, 2020
1 parent f88184e commit bb64512
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 6 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ All the models are implemented in pytorch or mxnet first, and export a weights f

## News

- `16 Sep 2020`. [hwh-hit](https://github.com/hwh-hit) added ufld(Ultra-Fast-Lane-Detection, ECCV2020).
- `13 Sep 2020`. Add crnn, and got 1000fps on GTX1080.
- `7 Sep 2020`. Implement retinaface(mobilenet0.25), and got 333fps on GTX1080.
- `28 Aug 2020`. [BaofengZan](https://github.com/BaofengZan) added a tutorial for compiling and running tensorrtx on windows.
Expand Down Expand Up @@ -66,6 +67,7 @@ Following models are implemented.
|[retinafaceAntiCov](./retinafaceAntiCov)| mobilenet0.25, weights from [deepinsight/insightface](https://github.com/deepinsight/insightface), retinaface anti-COVID-19, detect face and mask attribute |
|[dbnet](./dbnet)| Scene Text Detection, weights from [BaofengZan/DBNet.pytorch](https://github.com/BaofengZan/DBNet.pytorch) |
|[crnn](./crnn)| pytorch implementation from [meijieru/crnn.pytorch](https://github.com/meijieru/crnn.pytorch) |
|[ufld](./ufld)| pytorch implementation from [Ultra-Fast-Lane-Detection](https://github.com/cfzd/Ultra-Fast-Lane-Detection), ECCV2020 |

## Tricky Operations

Expand Down
File renamed without changes.
12 changes: 6 additions & 6 deletions lane_det/README.md → ufld/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Ultra-Fast-Lane-Detection
# Ultra-Fast-Lane-Detection(UFLD)

The Pytorch implementation is [Ultra-Fast-Lane-Detection](https://github.com/cfzd/Ultra-Fast-Lane-Detection).

Expand All @@ -9,7 +9,7 @@ The Pytorch implementation is [Ultra-Fast-Lane-Detection](https://github.com/cfz
git clone https://github.com/wang-xinyu/tensorrtx.git
git clone https://github.com/cfzd/Ultra-Fast-Lane-Detection.git
// download its weights 'tusimple_18.pth'
// copy tensorrtx/lane_det/gen_wts.py into Ultra-Fast-Lane-Detection/
// copy tensorrtx/ufld/gen_wts.py into Ultra-Fast-Lane-Detection/
// ensure the file name is tusimple_18.pth and lane.wts in gen_wts.py
// go to Ultra-Fast-Lane-Detection
python gen_wts.py
Expand All @@ -18,18 +18,18 @@ python gen_wts.py
python pth2onnx.py
//a file 'lane.onnx' will be generated.
2. build tensorrtx/lane_det and run
2. build tensorrtx/ufld and run
mkdir build
cd build
cmake ..
make
sudo ./lane_det -s // serialize model to plan file i.e. 'lane.engine'
sudo ./lane_det -d ../data // deserialize plan file and run inference, the images in data will be processed.
sudo ./lane_det -s // serialize model to plan file i.e. 'lane.engine'
sudo ./lane_det -d PATH_TO_YOUR_IMAGE_FOLDER // deserialize plan file and run inference, the images will be processed.
```

## More Information
1. Changed the preprocess and postprocess in tensorrtx, give a different way to convert NHWC to NCHW in preprocess and just show the reslut using opencv rather than saving the result in postprocess.
1. Changed the preprocess and postprocess in tensorrtx, give a different way to convert NHWC to NCHW in preprocess and just show the result using opencv rather than saving the result in postprocess.
2. If there are some bugs where you inference with multi batch_size, just modify the code in preprocess or postprocess, it's not complicated.
3. Some results are stored in resluts folder.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit bb64512

Please sign in to comment.