Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
fuchami committed Nov 6, 2018
1 parent 0c77c35 commit 0b1e7f0
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 4 deletions.
44 changes: 40 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,55 @@
# ANOGAN

AnoGAN
AnoGAN(anomaly GAN)
GANを用いた異常検知

Unsupervised Anomaly Detection with Generative Adversarial Networks to Guide Marker Discovery
https://arxiv.org/abs/1703.05921

# result
### generate image
![generate.png](./gen0.png)

![mnist_result.png](./mnist_result.png)

# denresult

# code
以下コードの説明です

## anogan.py
## main.py
```
usage: main.py [-h] [--datapath DATAPATH] [--epoch EPOCH]
[--batchsize BATCHSIZE] [--mode MODE] [--imgsize IMGSIZE]
[--channels CHANNELS] [--zdims ZDIMS] [--testpath TESTPATH]
[--label_idx LABEL_IDX] [--img_idx IMG_IDX]
train AnoGAN
optional arguments:
-h, --help show this help message and exit
--datapath DATAPATH, -d DATAPATH
--epoch EPOCH, -e EPOCH
--batchsize BATCHSIZE, -b BATCHSIZE
--mode MODE, -m MODE train, test
--imgsize IMGSIZE
--channels CHANNELS
--zdims ZDIMS
--testpath TESTPATH, -p TESTPATH
--label_idx LABEL_IDX
--img_idx IMG_IDX
```

## dcgan.py
DCGANを構築し,学習を行うクラス
mainから呼び出し

## load.py
MNISTや画像データ・CSVデータを読み込むスクリプト
mainから呼び出し

## model.py

mainから呼び出し

# model

Expand Down
Binary file added gen0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added mnist_result.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 0b1e7f0

Please sign in to comment.