EthanRosenthal / spacecutter

Ordinal regression models in PyTorch
https://www.ethanrosenthal.com/2018/12/06/spacecutter-ordinal-regression/
MIT License
136 stars 16 forks source link

Skorch supports torch 0.4.1 no more. #9

Closed YpLarryWang closed 3 years ago

YpLarryWang commented 3 years ago

Hi! Thanks for your work, I think it's useful and inspiring, however, Skorch may support torch 0.4.1 no more. When I try to run 'from Skorch.callbacks import Callback, ProgressBar', I met 'ImportWarning: Skorch depends on a newer version of PyTorch (at least 1.1.0, not 0.4.1). Visit https://pytorch.org for installation details', may be spacecutter should upgrade torch version? Thanks a lot!

EthanRosenthal commented 3 years ago

Oh yeah, there's no reason spacecutter should be hardpinned to a specific pytorch version. I'll submit a fix