tengshaofeng / ResidualAttentionNetwork-pytorch

a pytorch code about Residual Attention Network. This code is based on two projects from
678 stars 165 forks source link

new() received an invalid combination of arguments #9

Closed HowardZhang1994 closed 6 years ago

HowardZhang1994 commented 6 years ago

E TypeError: new() received an invalid combination of arguments - got (float, int, int, int), but expected one of: E (torch.device device) E (torch.Storage storage) E (Tensor other) E (tuple of ints size, torch.device device) E * (object data, torch.device device)

how to fix it? Thanks

tengshaofeng commented 6 years ago

you can refer to my closed issue: https://github.com/tengshaofeng/ResidualAttentionNetwork-pytorch/issues/3, maybe it works.

HowardZhang1994 commented 6 years ago

Page not found...

tengshaofeng commented 6 years ago

how about: https://github.com/tengshaofeng/ResidualAttentionNetwork-pytorch/issues/3

HowardZhang1994 commented 6 years ago

It works! Thanks!