You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,I'm tryig to understand the experiments of this paper,but I encounter a problem.
It;s that when I run /data/run_magpie.sh ,I have this error:
Traceback (most recent call last):
File "translate_magpie.py", line 8, in
from transformers import MarianTokenizer, MarianMTModel
File "/home/jordanli2455/mt_idioms/transformers/src/transformers/init.py", line 43, in
from . import dependency_versions_check
File "/home/jordanli2455/mt_idioms/transformers/src/transformers/dependency_versions_check.py", line 41, in
require_version_core(deps[pkg])
File "/home/jordanli2455/mt_idioms/transformers/src/transformers/utils/versions.py", line 94, in require_version_core
return require_version(requirement, hint)
File "/home/jordanli2455/mt_idioms/transformers/src/transformers/utils/versions.py", line 85, in require_version
if want_ver is not None and not ops[op](version.parse(got_ver), version.parse(want_ver)):
File "/home/jordanli2455/anaconda3/envs/mt_idioms/lib/python3.7/site-packages/packaging/version.py", line 54, in parse
return Version(version)
File "/home/jordanli2455/anaconda3/envs/mt_idioms/lib/python3.7/site-packages/packaging/version.py", line 200, in init
raise InvalidVersion(f"Invalid version: '{version}'")
packaging.version.InvalidVersion: Invalid version: '0.10.1,<0.11'
Can someone help me to fix this issue?
Thanks
The text was updated successfully, but these errors were encountered:
Hi,I'm tryig to understand the experiments of this paper,but I encounter a problem.
It;s that when I run /data/run_magpie.sh ,I have this error:
Traceback (most recent call last):
File "translate_magpie.py", line 8, in
from transformers import MarianTokenizer, MarianMTModel
File "/home/jordanli2455/mt_idioms/transformers/src/transformers/init.py", line 43, in
from . import dependency_versions_check
File "/home/jordanli2455/mt_idioms/transformers/src/transformers/dependency_versions_check.py", line 41, in
require_version_core(deps[pkg])
File "/home/jordanli2455/mt_idioms/transformers/src/transformers/utils/versions.py", line 94, in require_version_core
return require_version(requirement, hint)
File "/home/jordanli2455/mt_idioms/transformers/src/transformers/utils/versions.py", line 85, in require_version
if want_ver is not None and not ops[op](version.parse(got_ver), version.parse(want_ver)):
File "/home/jordanli2455/anaconda3/envs/mt_idioms/lib/python3.7/site-packages/packaging/version.py", line 54, in parse
return Version(version)
File "/home/jordanli2455/anaconda3/envs/mt_idioms/lib/python3.7/site-packages/packaging/version.py", line 200, in init
raise InvalidVersion(f"Invalid version: '{version}'")
packaging.version.InvalidVersion: Invalid version: '0.10.1,<0.11'
Can someone help me to fix this issue?
Thanks
The text was updated successfully, but these errors were encountered: