-
-
Notifications
You must be signed in to change notification settings - Fork 27
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
YunYang1994
authored and
YunYang1994
committed
Oct 5, 2019
1 parent
4128617
commit 249a90b
Showing
9 changed files
with
120 additions
and
160 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 |
---|---|---|
@@ -1,28 +1,16 @@ | ||
![image](https://user-images.githubusercontent.com/30433053/65319751-ee59fa00-dbd2-11e9-9065-10629dfd6d2f.png) | ||
|
||
# Train VOC dataset | ||
Download VOC PASCAL trainval and test data | ||
```bashrc | ||
$ wget http://host.robots.ox.ac.uk/pascal/VOC/voc2007/VOCtrainval_06-Nov-2007.tar | ||
$ wget http://host.robots.ox.ac.uk/pascal/VOC/voc2012/VOCtrainval_11-May-2012.tar | ||
$ wget http://host.robots.ox.ac.uk/pascal/VOC/voc2007/VOCtest_06-Nov-2007.tar | ||
``` | ||
Extract all of these tars into one directory and rename them, which should have the following basic structure. | ||
# U-Net: Convolutional Networks for Biomedical Image Segmentation. | ||
|
||
```bashrc | ||
VOC # path: /home/yang/dataset/VOC | ||
├── test | ||
| └──VOCdevkit | ||
| └──VOC2007 (from VOCtest_06-Nov-2007.tar) | ||
└── train | ||
└──VOCdevkit | ||
└──VOC2007 (from VOCtrainval_06-Nov-2007.tar) | ||
└──VOC2012 (from VOCtrainval_11-May-2012.tar) | ||
``` | ||
![image](https://lmb.informatik.uni-freiburg.de/Publications/2015/RFB15a/u-net-architecture.png) | ||
|
||
Then you need to parser VOC dataset and train it | ||
|
||
```bashrc | ||
$ python parser_voc.py --voc_path /home/yang/dataset/VOC | ||
$ git clone https://github.com/YunYang1994/membrane.git | ||
$ python train.py | ||
``` | ||
$ python test.py | ||
``` | ||
|
||
| input | result | | ||
|---|:---:| | ||
|![image](./results/origin_0.png)|![image](./results/0.png)| | ||
|![image](./results/origin_1.png)|![image](./results/1.png)| |
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
File renamed without changes.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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