AnoGAN-tf icon indicating copy to clipboard operation
AnoGAN-tf copied to clipboard

Thank you for your AnoGAN............

Open meanzee opened this issue 5 years ago • 3 comments

First of all, thank you for your ANOGAN. I have a one problem. I'm sure the learning went well, but there's an error.

Exception: [!] Train a model first, then run test mode

Do you know what the problem is? Thank you .

meanzee avatar Jun 19 '19 06:06 meanzee

could i let me know your command in terminal?

LeeDoYup avatar Jul 04 '19 07:07 LeeDoYup

@meanzee : I am having the same error. How did you solve that issue?

matak07 avatar Jul 21 '19 10:07 matak07

Check your checkpoint directory, if you already trained the model, you will see something like mnist_64_28_28

To use this model for anomaly detection provide parameters for batch size of 64, and output dimension 28x28

Example: 1) Download training data: python download.py mnist 2) Train your model
python main.py --dataset mnist --input_height=28 --output_height=28 --train 3) Prepare test data Downloaded sample images and put them to test_data folder 4) Run anomaly detection python main.py --dataset mnist --batch_size=64 --input_height=28 --output_height=28 --crop --anomaly_test

burgetrm avatar Aug 21 '19 06:08 burgetrm