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 Dear,
I want to thank you for your project and your code.
I'm running your project on google colab.
when I run:
!sh run_training.sh
I get this error:
I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcudart.so.11.0
Traceback (most recent call last):
File "/usr/local/bin/allennlp", line 8, in
sys.exit(run())
File "/usr/local/lib/python3.7/dist-packages/allennlp/main.py", line 34, in run
main(prog="allennlp")
File "/usr/local/lib/python3.7/dist-packages/allennlp/commands/init.py", line 118, in main
import_module_and_submodules(package_name)
File "/usr/local/lib/python3.7/dist-packages/allennlp/common/util.py", line 345, in import_module_and_submodules
module = importlib.import_module(package_name)
File "/usr/lib/python3.7/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1006, in _gcd_import
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "", line 728, in exec_module
File "", line 219, in _call_with_frames_removed
File "/content/large-scale-oie/large_scale_oie/init.py", line 1, in
from large_scale_oie.dataset_readers import *
File "/content/large-scale-oie/large_scale_oie/dataset_readers/init.py", line 1, in
from large_scale_oie.dataset_readers.oie_reader import OieReader
File "/content/large-scale-oie/large_scale_oie/dataset_readers/oie_reader.py", line 12, in
from allennlp.data.dataset_readers.dataset_utils import Ontonotes, OntonotesSentence
ImportError: cannot import name 'Ontonotes' from 'allennlp.data.dataset_readers.dataset_utils' (/usr/local/lib/python3.7/dist-packages/allennlp/data/dataset_readers/dataset_utils/init.py)
Please help me! What do I do?
The text was updated successfully, but these errors were encountered:
Hi Dear,
I want to thank you for your project and your code.
I'm running your project on google colab.
when I run:
!sh run_training.sh
I get this error:
I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcudart.so.11.0
Traceback (most recent call last):
File "/usr/local/bin/allennlp", line 8, in
sys.exit(run())
File "/usr/local/lib/python3.7/dist-packages/allennlp/main.py", line 34, in run
main(prog="allennlp")
File "/usr/local/lib/python3.7/dist-packages/allennlp/commands/init.py", line 118, in main
import_module_and_submodules(package_name)
File "/usr/local/lib/python3.7/dist-packages/allennlp/common/util.py", line 345, in import_module_and_submodules
module = importlib.import_module(package_name)
File "/usr/lib/python3.7/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1006, in _gcd_import
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "", line 728, in exec_module
File "", line 219, in _call_with_frames_removed
File "/content/large-scale-oie/large_scale_oie/init.py", line 1, in
from large_scale_oie.dataset_readers import *
File "/content/large-scale-oie/large_scale_oie/dataset_readers/init.py", line 1, in
from large_scale_oie.dataset_readers.oie_reader import OieReader
File "/content/large-scale-oie/large_scale_oie/dataset_readers/oie_reader.py", line 12, in
from allennlp.data.dataset_readers.dataset_utils import Ontonotes, OntonotesSentence
ImportError: cannot import name 'Ontonotes' from 'allennlp.data.dataset_readers.dataset_utils' (/usr/local/lib/python3.7/dist-packages/allennlp/data/dataset_readers/dataset_utils/init.py)
Please help me! What do I do?
The text was updated successfully, but these errors were encountered: