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
I installed the Japanese version of depccg. There were no errors during the installation. However, when I try to run it, I encounter the following error. Could you tell me whether this issue is related to my computer's environment or if it is a problem with the version of Chainer?
echo "これはテストの文です。" | depccg_ja -f deriv
Traceback (most recent call last):
File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.10/runpy.py", line 86, in run_code
exec(code, run_globals)
File "/home/haruna/sample/lib/python3.10/site-packages/depccg/main.py", line 7, in
from depccg.printer import print
File "/home/haruna/sample/lib/python3.10/site-packages/depccg/printer/init.py", line 8, in
from depccg.instance_models import SEMANTIC_TEMPLATES
File "/home/haruna/sample/lib/python3.10/site-packages/depccg/instance_models.py", line 8, in
from depccg.chainer.supertagger import load_chainer_tagger
File "/home/haruna/sample/lib/python3.10/site-packages/depccg/chainer/supertagger.py", line 7, in
from depccg.chainer.lstm_parser_bi_fast import FastBiaffineLSTMParser
File "/home/haruna/sample/lib/python3.10/site-packages/depccg/chainer/lstm_parser_bi_fast.py", line 5, in
import chainer.links as L
ModuleNotFoundError: No module named 'chainer.links'
The text was updated successfully, but these errors were encountered:
I installed the Japanese version of depccg. There were no errors during the installation. However, when I try to run it, I encounter the following error. Could you tell me whether this issue is related to my computer's environment or if it is a problem with the version of Chainer?
echo "これはテストの文です。" | depccg_ja -f deriv
Traceback (most recent call last):
File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.10/runpy.py", line 86, in run_code
exec(code, run_globals)
File "/home/haruna/sample/lib/python3.10/site-packages/depccg/main.py", line 7, in
from depccg.printer import print
File "/home/haruna/sample/lib/python3.10/site-packages/depccg/printer/init.py", line 8, in
from depccg.instance_models import SEMANTIC_TEMPLATES
File "/home/haruna/sample/lib/python3.10/site-packages/depccg/instance_models.py", line 8, in
from depccg.chainer.supertagger import load_chainer_tagger
File "/home/haruna/sample/lib/python3.10/site-packages/depccg/chainer/supertagger.py", line 7, in
from depccg.chainer.lstm_parser_bi_fast import FastBiaffineLSTMParser
File "/home/haruna/sample/lib/python3.10/site-packages/depccg/chainer/lstm_parser_bi_fast.py", line 5, in
import chainer.links as L
ModuleNotFoundError: No module named 'chainer.links'
The text was updated successfully, but these errors were encountered: