Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jiupinjia authored Jul 19, 2020
1 parent 9505a80 commit 2c0ca6e
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ cd Deep-adversarial-decomposition
```bash
unzip datasets.zip
```

Please not that in each of our demo datasets, we only uploaded a very small part of the data, which are used to show the directory configurations of the datasets. To reproduce the results reported in our paper, you can download the full versions of these datasets. All datasets used in our experiments are publicly available. Please check out our [paper](https://openaccess.thecvf.com/content_CVPR_2020/papers/Zou_Deep_Adversarial_Decomposition_A_Unified_Framework_for_Separating_Superimposed_Images_CVPR_2020_paper.pdf) for more details.



## Training and evaluation
Expand All @@ -45,6 +45,9 @@ unzip datasets.zip

### Task 1: Image unmix

![teaser](fig/unmix.jpg)


#### On [Stanford-Dogs](https://people.csail.mit.edu/khosla/papers/fgvc2011.pdf) + [VGG-Flowers](http://www.robots.ox.ac.uk/~men/papers/nilsback_cvpr06.pdf)

- To train the model:
Expand All @@ -71,6 +74,8 @@ python train.py --dataset mnist --net_G unet_64 --checkpoint_dir checkpoints --v

### Task 2: Image deraining

![teaser](fig/derain.jpg)

#### On [Rain100H](https://arxiv.org/abs/1609.07769)

- To train the model:
Expand Down Expand Up @@ -123,6 +128,8 @@ python eval_derain.py --dataset did-mdn-test2 --ckptdir checkpoints --net_G unet

### Task 3: Image reflection removal

![teaser](fig/dereflection.jpg)

#### On [Synthesis-Reflection](https://openaccess.thecvf.com/content_CVPR_2019/papers/Wen_Single_Image_Reflection_Removal_Beyond_Linearity_CVPR_2019_paper.pdf)

- To train the model (together on all three subsets [defocused, focused, ghosting]):
Expand All @@ -136,7 +143,7 @@ python train.py --dataset syn3-all --checkpoint_dir checkpoints --vis_dir val_ou
```bash
python eval_dereflection.py --dataset syn3-all --ckptdir checkpoints --net_G unet_512 --in_size 512 --save_output
```

You can also train and test separately on the three subsets of [Synthesis-Reflection](https://openaccess.thecvf.com/content_CVPR_2019/papers/Wen_Single_Image_Reflection_Removal_Beyond_Linearity_CVPR_2019_paper.pdf) by specifying `--dataset` above to `syn3-defocused`, `syn3-focused`, or `syn3-ghosting`.

#### On [BDN](https://openaccess.thecvf.com/content_ECCV_2018/papers/Jie_Yang_Seeing_Deeply_and_ECCV_2018_paper.pdf)
Expand Down Expand Up @@ -172,6 +179,8 @@ python eval_dereflection.py --dataset xzhang --ckptdir checkpoints --net_G unet_

### Task 4: Shadow Removal

![teaser](fig/deshadow.jpg)

#### On [ISTD](https://openaccess.thecvf.com/content_cvpr_2018/papers/Wang_Stacked_Conditional_Generative_CVPR_2018_paper.pdf)

- To train the model:
Expand Down

0 comments on commit 2c0ca6e

Please sign in to comment.