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

Do you train with TRADES and ALP or one of them? #11

Open
headscott opened this issue Sep 13, 2024 · 3 comments
Open

Do you train with TRADES and ALP or one of them? #11

headscott opened this issue Sep 13, 2024 · 3 comments

Comments

@headscott
Copy link

When I run

python train_lbgat_cifar100.py -mark cifar100_lbgat0_0.031 -teacher_model ResNet18_cifar --beta 0

will the model be trained with ALP or TRADES? If not, how can I activate it?

@jiequancui
Copy link
Collaborator

Thanks for your interest in our work.
For the TRADES baseline, we use their official code. Please refer to https://github.com/yaodongyu/TRADES.

@headscott
Copy link
Author

Yeah, I know TRADES, but is this method also used, when I run the mentioned command? Or do I need special parameters?

@headscott
Copy link
Author

And I saw in your paper, that you the Teacher Model is trained too, but I don't see, that the teacher starts its train mode by calling:

model_teacher.train()

I mean, there is no call of this type. So is the model_teacher pre-trained then?

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