jhjacobsen / invertible-resnet

Official Code for Invertible Residual Networks
MIT License
517 stars 78 forks source link

Duplicated argument clipping #6

Closed Gsunshine closed 5 years ago

Gsunshine commented 5 years ago

There is a duplicate argument clipping in the latest version that leads to a TypeError. https://github.com/jhjacobsen/invertible-resnet/blob/master/models/conv_iResNet.py#L185 https://github.com/jhjacobsen/invertible-resnet/blob/master/models/conv_iResNet.py#L287 https://github.com/jhjacobsen/invertible-resnet/blob/master/models/conv_iResNet.py#L294

Script could run normally after removing them.

jhjacobsen commented 5 years ago

Thanks, fixed.