Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chainer version error #38

Open
haur21 opened this issue Oct 13, 2024 · 0 comments
Open

Chainer version error #38

haur21 opened this issue Oct 13, 2024 · 0 comments

Comments

@haur21
Copy link

haur21 commented Oct 13, 2024

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'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant