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

알 수 없는 이유로 세션이 중단됨 #4

Open
AmazingSSUE opened this issue Sep 6, 2023 · 1 comment
Open

알 수 없는 이유로 세션이 중단됨 #4

AmazingSSUE opened this issue Sep 6, 2023 · 1 comment

Comments

@AmazingSSUE
Copy link

노트북에서 이전 과정은 모두 오류 없이 실행 완료했습니다. 그러다가 espnet 설치 과정에서 알 수 없는 이유로 세션이 중단된 이후 다시 실행해도 세션이 중단됩니다.

Collecting numpy==1.24.0 Using cached numpy-1.24.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (17.3 MB) Installing collected packages: numpy Attempting uninstall: numpy Found existing installation: numpy 1.23.5 Uninstalling numpy-1.23.5: Successfully uninstalled numpy-1.23.5 ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. seaborn 0.12.2 requires numpy!=1.24.0,>=1.17, but you have numpy 1.24.0 which is incompatible. tensorflow 2.12.0 requires numpy<1.24,>=1.22, but you have numpy 1.24.0 which is incompatible. tensorflow 2.12.0 requires protobuf!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<5.0.0dev,>=3.20.3, but you have protobuf 3.20.1 which is incompatible. torchtext 0.15.2 requires torch==2.0.1, but you have torch 1.13.1+cu117 which is incompatible. torchvision 0.15.2+cu118 requires torch==2.0.1, but you have torch 1.13.1+cu117 which is incompatible. espnet 202308 requires numpy<1.24, but you have numpy 1.24.0 which is incompatible. Successfully installed numpy-1.24.0

아직 프로그램 관련 지식이 얕다 보니 해결하기에 어려움이 있어서 질문 드립니다.ㅠㅠ

@seastar105
Copy link
Owner

numpy 관련해서 버전 이슈로 새로 설치하고 런타임을 새로 로딩하기 위해 세션을 새로 시작하는 코드가 있어서 그랬던 것으로 보입니다. espnet 버전을 노트북을 만들 당시의 것으로 고정한 뒤에 이에 맞게 의존성 부분을 고쳤습니다.

아마 발생 안할거 같은데 다시 시도해봐주세요. 감사합니다.

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