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

Some Questions on Test stage #13

Open
DingXiaoKe opened this issue Dec 6, 2018 · 2 comments
Open

Some Questions on Test stage #13

DingXiaoKe opened this issue Dec 6, 2018 · 2 comments

Comments

@DingXiaoKe
Copy link

The first stage training is very effective, but when I want to test the accuracy, some issues turned out:

  1. in the model.py anomaly_detector() self.ano_y = none. it will report an error in the def _sampler:
    yb = tf.reshape(y, [-1, 1, 1, self.y_dim]),because none cannot be reshaped.
    2.and when test, the batch_size is set to 1, the self.batch_size in _sampler should also be set to 1.
    3.After I modify these codes, and change the input from images into the same data with train, the samples are just like some noises, and I wonder why.
@lzzlxxlsz
Copy link

你好,你的测试结果出来了吗,生成的图片跟测试图片长的像吗

@sachitha-bandara
Copy link

@lzzlxxlsz I tested the images and no, the generated images seem to be noise and the other image is most likely the gray scale image of the test image.

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

3 participants