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

noise images not predicted in CLASSIFICATION_STABILITY method #1

Open
alixunxing opened this issue Dec 16, 2020 · 1 comment
Open

Comments

@alixunxing
Copy link

In active_training.py
line 167 ~ 169:
noise = np.round( np.random.normal(mu, sigma, X_Pool_subset.shape) ) aug_X_Pool_subset = X_Pool_subset + noise np.clip(aug_X_Pool_subset, 0, 255)

but in line 172:
curr_sample = [MC_output([X_Pool_subset, learning_phase])[0]]
the raw data X_Pool_subset is predicted.

I revised line 172 to:
curr_sample = [MC_output([aug_X_Pool_subset, learning_phase])[0]]
and run training, but the result is bad......

@CtfChan
Copy link
Owner

CtfChan commented Dec 16, 2020

Hi @PoisonBOx thanks for pointing this out. I'll fix this typo :P

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

2 participants