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

运行data_process.sh报错 #2

Open
wangbq18 opened this issue Jun 16, 2020 · 4 comments
Open

运行data_process.sh报错 #2

wangbq18 opened this issue Jun 16, 2020 · 4 comments

Comments

@wangbq18
Copy link

你好,我在运行data_process.sh 报错 self._keep_tag_id = self._label_map['KEEP']
KeyError: 'KEEP', 请问是什么原因呢

@425776024
Copy link
Owner

一定是:output/label_map.txt 没有建立。你看看为什么没有建立

@wangbq18
Copy link
Author

一定是:output/label_map.txt 没有建立。你看看为什么没有建立

好的,多谢,我查查原因

@wangbq18
Copy link
Author

一定是:output/label_map.txt 没有建立。你看看为什么没有建立
你好,我发现在compute_lcs.py这个函数报错了“RecursionError: maximum recursion depth exceeded in comparison”,我的训练数据是文档级别的,source和target都是多个句子组成,然后直接source tab/ target这样组成训练数据,对吗

@425776024
Copy link
Owner

一定是:output/label_map.txt 没有建立。你看看为什么没有建立
你好,我发现在compute_lcs.py这个函数报错了“RecursionError: maximum recursion depth exceeded in comparison”,我的训练数据是文档级别的,source和target都是多个句子组成,然后直接source tab/ target这样组成训练数据,对吗

那你是在里面的def _backtrack(table, source, target, i, j)递归死循环了,source, target是一个单独的句子,不是数组

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

2 participants