fixed the dependencies issues#1
Open
Nghiauet wants to merge 1 commit into
Open
Conversation
Author
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.

Fix the issue
I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Successfully opened dynamic library libcudart.so.11.0
Traceback (most recent call last):
File "main.py", line 21, in
from model import GEC
File "/home/nghiaph/GEC/gector-ja/model.py", line 7, in
from transformers import TFAutoModel, AutoTokenizer, AdamWeightDecay
File "/home/nghiaph/GEC/gector-ja/gector-ja-env/lib/python3.8/site-packages/transformers/init.py", line 43, in
from . import dependency_versions_check
File "/home/nghiaph/GEC/gector-ja/gector-ja-env/lib/python3.8/site-packages/transformers/dependency_versions_check.py", line 41, in
require_version_core(deps[pkg])
File "/home/nghiaph/GEC/gector-ja/gector-ja-env/lib/python3.8/site-packages/transformers/utils/versions.py", line 101, in require_version_core
return require_version(requirement, hint)
File "/home/nghiaph/GEC/gector-ja/gector-ja-env/lib/python3.8/site-packages/transformers/utils/versions.py", line 92, in require_version
if want_ver is not None and not ops[op](version.parse(got_ver), version.parse(want_ver)):
File "/home/nghiaph/GEC/gector-ja/gector-ja-env/lib/python3.8/site-packages/packaging/version.py", line 52, in parse
return Version(version)
File "/home/nghiaph/GEC/gector-ja/gector-ja-env/lib/python3.8/site-packages/packaging/version.py", line 198, in init
raise InvalidVersion(f"Invalid version: '{version}'")
packaging.version.InvalidVersion: Invalid version: '0.10.1,<0.11'