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

TypeError: can't multiply sequence by non-int of type 'float' in _wide_layer #6

Open
maxmatical opened this issue May 9, 2019 · 1 comment

Comments

@maxmatical
Copy link

I get this issue with using the _wide_layer

     30     def make_layer(self, block, out_channels, n_blocks, dropout_rate, stride):
---> 31         strides = [stride] + [1]*(n_blocks-1)
     32         layers = []
     33 

TypeError: can't multiply sequence by non-int of type 'float'
@Brother-Lee
Copy link

you simply need to convert 'n = (depth-4)/6' to 'n = (depth-4)//6'.

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