requirements.txt가 너무 오래 되어 수정이 필요합니다.#73
Open
lightcorekorea wants to merge 4 commits intowlsdml1114:mainfrom
Open
requirements.txt가 너무 오래 되어 수정이 필요합니다.#73lightcorekorea wants to merge 4 commits intowlsdml1114:mainfrom
lightcorekorea wants to merge 4 commits intowlsdml1114:mainfrom
Conversation
모듈의 버전이 올라감에 따라 기존의 pip install -r requirements.txt를 사용하여도 버전이 너무 높아 프로그램이 실행되지 못하는 문제가 있었습니다. 이중 특히 Scipy , librosa, Pytorch-lightning 3개의 모듈은 최신 버전을 사용해서는 안됩니다. 최신 버전에서는 Diff-SVC 모델의 코드가 호환되지 않습니다.
Author
|
requirements.txt 에 numpy의 버전이 명시되었습니다. |
torchmetrics의 최신 버전으로 해당 레포지토리의 diff-svc 모델을 학습시 오류가 발생합니다. 오류 내용은 다음과 같습니다. ``` ImportError: cannot import name 'get_num_classes' from 'torchmetrics.utilities.data' ``` 이 오류를 해결하려면, torchmetrics의 버전이 0.6.0이어야 합니다.
Author
|
torchmetrics의 최신 버전으로 해당 레포지토리의 오류 내용은 다음과 같습니다. 이 오류를 해결하려면, torchmetrics의 버전이 0.6.0이어야 합니다. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
requirements.txt 업데이트
최신 사용자는 기존의 readme.txt의 서술된 내용대로 설치를 진행합니다.
일부 모듈 버전이 너무 높아 호환 실패로 인한 프로그램이 실행되지 못하는 문제가 있었습니다.
다음과 같은 모듈은 특정 버전 이하를 사용해야 합니다.
3개의 모듈은 최신 버전을 사용해서는 안됩니다.
일부 모듈 최신 버전에서는 Diff-SVC 모델의 코드가 호환되지 않습니다.
다른 모듈은 일관성 및 추후 업데이트를 고려해 사용이 가능한 최신 버전을 명시하고 기입했습니다.