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

whether model Ae_2d has some wrongly setting parameters ? #8

Open
MasterXin2020 opened this issue Jan 2, 2022 · 1 comment
Open

Comments

@MasterXin2020
Copy link

I have found that the input channels and output channels of the last two deconvolutional layer were wrong according to the 2D AE network parameters in the paper.Please check it again and have it corrected.

@MasterXin2020 MasterXin2020 changed the title whether model Ae_2d has some wrong setting parameters ? whether model Ae_2d has some wrongly setting parameters ? Jan 2, 2022
@ZhaoZhibin
Copy link
Owner

I have found that the input channels and output channels of the last two deconvolutional layer were wrong according to the 2D AE network parameters in the paper.Please check it again and have it corrected.

Hi, we set the input channels and output channels in train_utils_ae.py (define the model)

Define the model

fmodel=getattr(models, args.model_name)
self.encoder = getattr(fmodel, 'encoder')(in_channel=Dataset.inputchannel, out_channel=Dataset.num_classes)

self.decoder = getattr(fmodel, 'decoder')(in_channel=Dataset.inputchannel,
out_channel=Dataset.num_classes)
self.classifier = getattr(fmodel, 'classifier')(in_channel=Dataset.inputchannel,
out_channel=Dataset.num_classes)

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