Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Thank you for your AnoGAN............ #33

Open
meanzee opened this issue Jun 19, 2019 · 3 comments
Open

Thank you for your AnoGAN............ #33

meanzee opened this issue Jun 19, 2019 · 3 comments

Comments

@meanzee
Copy link

meanzee commented Jun 19, 2019

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 .

@LeeDoYup
Copy link
Owner

LeeDoYup commented Jul 4, 2019

could i let me know your command in terminal?

@matak07
Copy link

matak07 commented Jul 21, 2019

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

@burgetrm
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants