Skip to content
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

Use amp and ImportError #48

Open
zzzyzh opened this issue Jan 18, 2024 · 1 comment
Open

Use amp and ImportError #48

zzzyzh opened this issue Jan 18, 2024 · 1 comment

Comments

@zzzyzh
Copy link

zzzyzh commented Jan 18, 2024

When I set --use_amp to True, I get the following traceback:

Traceback (most recent call last):
File "train.py", line 16, in
from apex import amp
File "/home/miniconda3/envs/msa/lib/python3.8/site-packages/apex/init.py", line 13, in
from pyramid.session import UnencryptedCookieSessionFactoryConfig
ImportError: cannot import name 'UnencryptedCookieSessionFactoryConfig' from 'pyramid.session' (unknown location)

@Hk416mod2
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants