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

Question about weights update in network of phase test #48

Open
Firegreat123 opened this issue May 9, 2022 · 4 comments
Open

Question about weights update in network of phase test #48

Firegreat123 opened this issue May 9, 2022 · 4 comments

Comments

@Firegreat123
Copy link

  • Hi, after training 10 distilled images, how does these 10 distilled images update the weights of the neural network in phase test?
@ssnl
Copy link
Owner

ssnl commented May 9, 2022

@Firegreat123
Copy link
Author

Hi, I have read codes and have a little question. Does the code below used to train test network with distilled images?
image

@ssnl
Copy link
Owner

ssnl commented May 10, 2022

yes that is correct!

@Firegreat123
Copy link
Author

Thank you. After running the codes below, in the output.log I can see that Test accuracy is 79.8%
image
image
But after I run the test code below, the accuracy will be dropped into 23.1868%. Why is this happen?

python main.py --mode distill_adapt --source_dataset MNIST_RGB --dataset SVHN --arch LeNet --phase test
--train_nets_type loaded --test_nets_type same_as_train
--test_distilled_images loaded --test_distilled_lrs loaded

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

2 participants