bytesc / Image_Recognition_WebGUI

✨基于 3D 卷积神经网络(CNN)的阿尔兹海默智能诊断 Web 应用 Alzheimer's Intelligent Diagnosis Web Application based on 3D Convolutional Neural Network and the ADNI Dataset ✨ (with README in English) 🚩:图像识别可视化界面,快速部署深度学习模型为网页应用,Web预测系统,决策支持系统(DSS),图像识别前端网页,图像识别Demo展示-Pywebio。AI人工智能图像识别-Pytorch;nii医学影像处理;ADNI数据集。100%纯Python代码,轻量化,易复现
http://www.bytesc.top
MIT License
96 stars 7 forks source link

运行demo1报错 #8

Closed MyGubooy closed 8 months ago

MyGubooy commented 8 months ago

Traceback (most recent call last): File "C:\Users\86138\Desktop\ptuwork\Image_Recognition_WebGUI-main\demo01.py", line 341, in pywebio.platform.start_server( File "C:\Users\86138\AppData\Local\Programs\Python\Python39\lib\site-packages\pywebio\platform\tornado.py", line 291, in startserver , port = _setup_server(webio_handler=handler, port=port, host=host, static_dir=static_dir, File "C:\Users\86138\AppData\Local\Programs\Python\Python39\lib\site-packages\pywebio\platform\tornado.py", line 205, in _setup_server server = app.listen(port, address=host, max_buffer_size=max_buffer_size) File "C:\Users\86138\AppData\Local\Programs\Python\Python39\lib\site-packages\tornado\web.py", line 2116, in listen server.listen(port, address) File "C:\Users\86138\AppData\Local\Programs\Python\Python39\lib\site-packages\tornado\tcpserver.py", line 152, in listen self.add_sockets(sockets) File "C:\Users\86138\AppData\Local\Programs\Python\Python39\lib\site-packages\tornado\tcpserver.py", line 165, in add_sockets self._handlers[sock.fileno()] = add_accept_handler( File "C:\Users\86138\AppData\Local\Programs\Python\Python39\lib\site-packages\tornado\netutil.py", line 279, in add_accept_handler io_loop.add_handler(sock, accept_handler, IOLoop.READ) File "C:\Users\86138\AppData\Local\Programs\Python\Python39\lib\site-packages\tornado\platform\asyncio.py", line 100, in add_handler self.asyncio_loop.add_reader(fd, self._handle_events, fd, IOLoop.READ) File "C:\Users\86138\AppData\Local\Programs\Python\Python39\lib\asyncio\events.py", line 504, in add_reader raise NotImplementedError NotImplementedError

MyGubooy commented 8 months ago

我已经按照了requirement下载了相关库。torch已更新到2.2.0了。百度了是说在写PyTorch网络模型时出现以下报错: NotImplementedError,该错误表示尚未成功的实现某种方法。这是为什么呀~求大佬解答

MyGubooy commented 8 months ago

哭了 我用轻量级版本的之前可以跑通,现在换回跑那个也不行,我在这期间忘记了我之前开了轻量级版本,kill了那个轻量级版本的端口号,就不行啦?求大佬赐教

MyGubooy commented 8 months ago

https://blog.csdn.net/lojloj/article/details/106798230 找到解决方法了,应该是版本问题。有遇到同样文图的可以通过这篇文章即可解决哈