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

NotImplementedError 运行后出现如下报错,不知道是什么原因 #387

Open
luxiaolan6373 opened this issue Nov 17, 2021 · 2 comments

Comments

@luxiaolan6373
Copy link

运行后出现如下报错,不知道是什么原因

2021-11-17 20:10:41.0305976 [W:onnxruntime:, graph.cc:3391 onnxruntime::Graph::CleanUnusedInitializers] Removing initializer '88'. It is not used by any node and should be removed from the model.
2021-11-17 20:10:41.0306080 [W:onnxruntime:, graph.cc:3391 onnxruntime::Graph::CleanUnusedInitializers] Removing initializer '94'. It is not used by any node and should be removed from the model.
Traceback (most recent call last):
File "E:/pythonProjects/chineseocr_lite-onnx/backend/main.py", line 43, in
server.start(1)
File "D:\Users\y7000\anaconda3\envs\py38_32\lib\site-packages\tornado\tcpserver.py", line 222, in start
self.add_sockets(sockets)
File "D:\Users\y7000\anaconda3\envs\py38_32\lib\site-packages\tornado\tcpserver.py", line 157, in add_sockets
self._handlers[sock.fileno()] = add_accept_handler(
File "D:\Users\y7000\anaconda3\envs\py38_32\lib\site-packages\tornado\netutil.py", line 268, in add_accept_handler
io_loop.add_handler(sock, accept_handler, IOLoop.READ)
File "D:\Users\y7000\anaconda3\envs\py38_32\lib\site-packages\tornado\platform\asyncio.py", line 79, in add_handler
self.asyncio_loop.add_reader(
File "D:\Users\y7000\anaconda3\envs\py38_32\lib\asyncio\events.py", line 501, in add_reader
raise NotImplementedError
NotImplementedError

Process finished with exit code 1

@luxiaolan6373
Copy link
Author

我解决了,,是python版本问题,必须python3.6 和64位

@bill-work-acc
Copy link

FYI: tornadoweb/tornado#2804

临时Workaround: tornadoweb/tornado#2804 (comment)

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