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

Inconsistency with 'num_classes' vs 'num_class' #3

Open
MaggiePas opened this issue Mar 24, 2020 · 0 comments
Open

Inconsistency with 'num_classes' vs 'num_class' #3

MaggiePas opened this issue Mar 24, 2020 · 0 comments

Comments

@MaggiePas
Copy link

Hey guys,

In all the module definitions the parameters are defined like so:

:param params: {
        'num_channels':1,
        'num_filters':64,
        'kernel_h':5,
        'kernel_w':5,
        'stride_conv':1,
        'pool':2,
        'stride_pool':2,
        'num_classes':28,
        'se_block': se.SELayer.None,
        'drop_out':0,2}

However in the classifier block the name of the argument for the number of classes is 'num_class':

self.conv = nn.Conv2d(
            params['num_channels'], params['num_class'], params['kernel_c'], params['stride_conv'])

Best,
Magda

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

1 participant