-
Notifications
You must be signed in to change notification settings - Fork 202
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
apex error #38
Comments
What are your environment specs and also did you run |
Had the same issue, running |
Even after |
Sorry, other people are also having install errors. Please give us until after the holidays to fix this. In the meantime copying apex to your working directory should solve import problems (cp -r apex_utils/apex .) |
Actually the methods being imported seem to refer to the directory All you need to do to get over this hurdle is to remove the edit: |
This worked for me. |
Somehow it keeps getting errors when running the cmd from colab:
!python3 transfer.py --load_model imdb_clf.pt
It yields error of:
File "transfer.py", line 20, in <module> from apex.reparameterization import apply_weight_norm, remove_weight_norm File "/usr/local/lib/python3.6/dist-packages/apex/__init__.py", line 18, in <module> from apex.interfaces import (ApexImplementation, File "/usr/local/lib/python3.6/dist-packages/apex/interfaces.py", line 10, in <module> class ApexImplementation(object): File "/usr/local/lib/python3.6/dist-packages/apex/interfaces.py", line 14, in ApexImplementation implements(IApex) File "/usr/local/lib/python3.6/dist-packages/zope/interface/declarations.py", line 483, in implements raise TypeError(_ADVICE_ERROR % 'implementer') TypeError: Class advice impossible in Python3. Use the @implementer class decorator instead.
The text was updated successfully, but these errors were encountered: