将pytorch模型部署到服务器(自己电脑)flask

上传者: 42934729 | 上传时间: 2022-11-02 14:10:07 | 文件大小: 886KB | 文件类型: ZIP
后端:flask+polar+pytorch 后端采用flask,把自己的电脑作为服务器,开放5000端口 使用polar内网穿透: 具体代码和文件:(一个app.py,一个imagenet_class_index.json,使用cors解决跨域问题)

文件下载

资源详情

[{"title":"( 17 个子文件 886KB ) 将pytorch模型部署到服务器(自己电脑)flask","children":[{"title":"app.py <span style='color:#111;'> 1.48KB </span>","children":null,"spread":false},{"title":"main.py <span style='color:#111;'> 50B </span>","children":null,"spread":false},{"title":"imagenet_class_index.json <span style='color:#111;'> 34.53KB </span>","children":null,"spread":false},{"title":"img","children":[{"title":"108-28236-6088-2069-2090-1.png <span style='color:#111;'> 416.81KB </span>","children":null,"spread":false},{"title":"res-Tumor_CD31_LoRes.png <span style='color:#111;'> 149.03KB </span>","children":null,"spread":false},{"title":"108-28236-6088-2069-2090.png <span style='color:#111;'> 464.43KB </span>","children":null,"spread":false},{"title":"cat.jpg <span style='color:#111;'> 7.40KB </span>","children":null,"spread":false}],"spread":true},{"title":"test.py <span style='color:#111;'> 495B </span>","children":null,"spread":false},{"title":"post_test.py <span style='color:#111;'> 337B </span>","children":null,"spread":false},{"title":"path.json <span style='color:#111;'> 136B </span>","children":null,"spread":false},{"title":"demo.py <span style='color:#111;'> 232B </span>","children":null,"spread":false},{"title":".idea","children":[{"title":"misc.xml <span style='color:#111;'> 198B </span>","children":null,"spread":false},{"title":"flask.iml <span style='color:#111;'> 291B </span>","children":null,"spread":false},{"title":"modules.xml <span style='color:#111;'> 269B </span>","children":null,"spread":false},{"title":"workspace.xml <span style='color:#111;'> 12.49KB </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 184B </span>","children":null,"spread":false},{"title":"inspectionProfiles","children":[{"title":"profiles_settings.xml <span style='color:#111;'> 174B </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明