Skip to content

Commit

Permalink
Update performance of ERFNet-CULane-PyTorch
Browse files Browse the repository at this point in the history
  • Loading branch information
VernamCU committed Aug 21, 2019
1 parent 931b9c7 commit 2b81eaa
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
6 changes: 3 additions & 3 deletions ERFNet-CULane-PyTorch/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Please follow [list](./list) to put CULane in the desired folder. We'll call the
```Shell
cd $ERFNet_ROOT/trained
```
Download the trained model (coming soon) here.
The trained model has already been there.

2. Run test script
```Shell
Expand All @@ -36,14 +36,14 @@ Please follow [list](./list) to put CULane in the desired folder. We'll call the
sh Run.sh # it may take over 30min to evaluate
```
Note: `Run.sh` evaluate each scenario separately while `run.sh` evaluate the whole. You may use `calTotal.m` to calculate overall performance from all senarios.
By now, you should be able to reproduce the result (F1-measure: xx.x).
By now, you should be able to reproduce the result (F1-measure: 73.1).

### Training
1. Download the pre-trained model
```Shell
cd $ERFNet_ROOT/pretrained
```
Download the pre-trained model [here](https://drive.google.com/open?id=1GotOSfk0PmVWKwVJaku5NnllsUwXDREY) and move it to `$ERFNet_ROOT/pretrained`.
The pre-trained model has already been there.
2. Training ERFNet model
```Shell
cd $ERFNet_ROOT
Expand Down
30 changes: 15 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ This repo also contains Tensorflow implementation of ["Spatial As Deep: Spatial

# News

1. [ERFNet-CULane-PyTorch] has been released. (It can achieve **72.3** F1-measure in CULane testing set)
1. [ERFNet-CULane-PyTorch](./ERFNet-CULane-PyTorch) has been released. (It can achieve **73.1** F1-measure in CULane testing set)

2. [ENet-Label-Torch](./ENet-Label-Torch), [ENet-TuSimple-Torch](./ENet-TuSimple-Torch) and [ENet-BDD100K-Torch](./ENet-BDD100K-Torch) have been released.

Expand Down Expand Up @@ -97,20 +97,20 @@ The pre-trained model for testing is here. (coming soon!) Note that in TuSimple,

2. CULane testing set (F1-measure):

|Category|[SCNN-Torch](https://github.com/XingangPan/SCNN)|SCNN-Tensorflow|ENet-Label-Torch|
|:---:|:---:|:---:|:---:|
|Normal|90.6|90.2|**90.7**|
|Crowded|69.7|71.9|70.8|
|Night|66.1|64.6|65.9|
|No line|43.4|45.8|44.7|
|Shadow|66.9|73.8|70.6|
|Arrow|84.1|83.8|**85.8**|
|Dazzle light|58.5|59.5|**64.4**|
|Curve|64.4|63.4|**65.4**|
|Crossroad|1990|4137|2729|
|Total|71.6|71.3|**72.0**|
|Runtime(ms)|133.5|--|**13.4**|
|Parameter(M)|20.72|--|**0.98**|
|Category|[SCNN-Torch](https://github.com/XingangPan/SCNN)|SCNN-Tensorflow|ENet-Label-Torch|ERFNet-CULane-PyTorch|
|:---:|:---:|:---:|:---:|:---:|
|Normal|90.6|90.2|90.7|**91.5**|
|Crowded|69.7|71.9|70.8|71.6|
|Night|66.1|64.6|65.9|**67.1**|
|No line|43.4|45.8|44.7|45.1|
|Shadow|66.9|73.8|70.6|71.3|
|Arrow|84.1|83.8|85.8|**87.2**|
|Dazzle light|58.5|59.5|64.4|**66.0**|
|Curve|64.4|63.4|65.4|**66.3**|
|Crossroad|1990|4137|2729|2199|
|Total|71.6|71.3|72.0|**73.1**|
|Runtime(ms)|133.5|--|13.4|**10.2**|
|Parameter(M)|20.72|--|**0.98**|2.49|

The pre-trained model for testing is [here](https://drive.google.com/open?id=1-E0Bws7-v35vOVfqEXDTJdfovUTQ2sf5). Note that you need to exchange the order of VGG-MEAN in test_lanenet.py and change the order of input images from RGB to BGR since the pre-trained model uses opencv to read images. You can further boost the performance by referring to [this issue](https://github.com/cardwing/Codes-for-Lane-Detection/issues/5).

Expand Down

0 comments on commit 2b81eaa

Please sign in to comment.