Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
sepidehhosseinzadeh authored Mar 29, 2020
1 parent 8086b62 commit 62048d1
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,9 @@ This code is for the paper: S Hosseinzadeh, etc. "Fast Shadow Detection from a S

## Generating The Shadow Prior Map Images

These images are used as image-level prior that are defined in line 44 of main_fast_shadow_detection.py.

Install Paired_Region_Prob_Map using README in the folder. Run Paired_Region_Prob_Map/deshadow_driver.m by MATLAB

Reference paper http://dhoiem.cs.illinois.edu/publications/pami12_shadow.pdf
* These images are used as image-level prior that are defined in line 44 of main_fast_shadow_detection.py.
* Install Paired_Region_Prob_Map using README in the folder. Run Paired_Region_Prob_Map/deshadow_driver.m by MATLAB
* Reference paper http://dhoiem.cs.illinois.edu/publications/pami12_shadow.pdf

## Dependencies:
1. nolearn
Expand All @@ -33,13 +31,11 @@ Reference paper http://dhoiem.cs.illinois.edu/publications/pami12_shadow.pdf
* TrainImgeFolder: Training Images
* TrainMaskFolder: Training Masks (Ground Truth)
* TrainFCNFolder: Shadow Prior Map Images

Likewise for testing images…

The Mask and Shadow Prior files should have 1 dimension, and Mask files also should be binary.
- Likewise for testing images…
- The Mask and Shadow Prior files should have 1 dimension, and Mask files also should be binary.

### Using GPU:

```
Content in ~/.theanorc:
[global]
Expand All @@ -49,3 +45,4 @@ floatX = float32
[nvcc]
fastmath = True
```

0 comments on commit 62048d1

Please sign in to comment.