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

Program KeyError #4

Closed
TYoung1221 opened this issue Jun 10, 2019 · 1 comment
Closed

Program KeyError #4

TYoung1221 opened this issue Jun 10, 2019 · 1 comment

Comments

@TYoung1221
Copy link

您好,当我输入例子,例如example/2.jpg,example/5.jpg,和hard下的例子,都会报一个status错误。
` 68 # print(parser_tree)
69 set_forward_step(0)
---> 70 post_order(parser_tree)
71 y_start = 0.9
72 y_stride = 0.2

~/Desktop/dino/mathAI/code/calculator/init.py in post_order(node)
275 elif node['type'] == NODE_TYPE['e']:
276 # print('post_order e')
--> 277 t = post_order(child[0])
278 node['status'] = child[0]['status']
279 node['value'] = child[0]['value']

~/Desktop/dino/mathAI/code/calculator/init.py in post_order(node)
199 # print('post_order t',child[0])
200 f = post_order(child[0])
--> 201 node['status'] = child[0]['status']
202 node['value'] = child[0]['value']
203 latex_str = f

KeyError: 'status'
`

@Roujack
Copy link
Owner

Roujack commented Jun 10, 2019

你好,现在只能跑简单版本的加减乘数运算,复杂的不公开。

@Roujack Roujack closed this as completed Jun 10, 2019
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