from torchtoolbox.tools import split_weights error
ternaus opened this issue · 3 comments
ternaus commented
In [4]: from torchtoolbox.tools import split_weights
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
<ipython-input-4-6431db6b00b1> in <module>
----> 1 from torchtoolbox.tools import split_weights
ImportError: cannot import name 'split_weights' from 'torchtoolbox.tools' (/home/vladimir/anaconda3/lib/python3.7/site-packages/torchtoolbox/tools/__init__.py)
PistonY commented
Sorry, I may not update doc, if you want to use no decay bias
you should do
from torchtoolbox.tools import no_decay_bias
PistonY commented
The doc has been updated.
ternaus commented
👍