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

ImportError #4

Open
Valdemar-Yu opened this issue Oct 13, 2024 · 0 comments
Open

ImportError #4

Valdemar-Yu opened this issue Oct 13, 2024 · 0 comments

Comments

@Valdemar-Yu
Copy link

Hello, I am very interested in this work of yours, but in the process of reproducing the experimental results of the paper, there are some minor errors, have you ever had these problems and can you guide me on how to solve them,I would appreciate if you have had these problems and can guide me on how to solve them.I have encountered the following problems:
Traceback (most recent call last):
File "2.train.py", line 42, in
from simcse.trainers import CLTrainer
File "/home/ubuntu/experiment/MAKER/retriever_pretraining/simcse/trainers.py", line 16, in
from transformers.trainer import Trainer, SCALER_NAME, SCHEDULER_NAME, OPTIMIZER_NAME
File "/home/ubuntu/anaconda3/envs/maker_pre/lib/python3.8/site-packages/transformers/trainer.py", line 180, in
from apex import amp
File "/home/ubuntu/anaconda3/envs/maker_pre/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)

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

1 participant