-
Notifications
You must be signed in to change notification settings - Fork 37
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
变化检测检测不到模型,显示:未检测到模型文件,请查看上传目录是否有误 #90
Comments
F12打开开发者工具,看一下前端与后端的通信是否正常 |
你把标头截图下 |
把config.yaml里面的0.0.0.0改成你的实际IP就可以了 |
请问config.yaml的路径在哪(没太接触过这方面,抱歉) |
在backend目录的上一层 |
因为ecs使用floating ip,你可以保持配置文件中ip还是0.0.0.0,然后把backend/app.py的39行的127.0.0.1改成你的实际ip,之后按顺序先重启后端,然后再重启前端(一定要按顺序,因为前端的配置要在后端启动时才生成)
…---原始邮件---
发件人: ***@***.***>
发送时间: 2024年4月11日(周四) 晚上10:37
收件人: ***@***.***>;
抄送: "Lu ***@***.******@***.***>;
主题: Re: [PaddleCV-SIG/GeoView] 变化检测检测不到模型,显示:未检测到模型文件,请查看上传目录是否有误 (Issue #90)
您好,我在将项目部署在云服务器上,未修改IP(即保持0.0.0.0)可以正常部署(只是模型无法找到的问题仍然存在),修改为服务器ip以后,部署出现以下报错,请问怎么解决
image.png (view on web)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
好嘞 我试试 |
看下后端有没有报错?端口有没有放行?
…---原始邮件---
发件人: ***@***.***>
发送时间: 2024年4月11日(周四) 晚上11:54
收件人: ***@***.***>;
抄送: "Lu ***@***.******@***.***>;
主题: Re: [PaddleCV-SIG/GeoView] 变化检测检测不到模型,显示:未检测到模型文件,请查看上传目录是否有误 (Issue #90)
image.png (view on web)
项目启动以后依然没有找到模型文件,看F12好像前后端通信依然有问题
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
服务器安全组配置中,安全组出方向我看下已经全部放通了,所以服务器向外访问应该是默认安全组不拦截 |
你手动访问这个看看能访问到吗?http://ip:5008/api/model/change_detection
…---原始邮件---
发件人: ***@***.***>
发送时间: 2024年4月11日(周四) 晚上11:57
收件人: ***@***.***>;
抄送: "Lu ***@***.******@***.***>;
主题: Re: [PaddleCV-SIG/GeoView] 变化检测检测不到模型,显示:未检测到模型文件,请查看上传目录是否有误 (Issue #90)
image.png (view on web)
这是后端的截图
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
尝试了一下哎,确实访问不到,那我应该怎样修改呢? |
和我们系统无关,检查系统防火墙和安全组策略吧
…---原始邮件---
发件人: ***@***.***>
发送时间: 2024年4月12日(周五) 凌晨0:06
收件人: ***@***.***>;
抄送: "Lu ***@***.******@***.***>;
主题: Re: [PaddleCV-SIG/GeoView] 变化检测检测不到模型,显示:未检测到模型文件,请查看上传目录是否有误 (Issue #90)
尝试了一下哎,确实访问不到,那我应该怎样修改呢?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
那请问后端这块是属于出方向还是入方向呢,我去找服务器那边的工作人员问问,不然不知道咋问(万分感谢) |
我感觉应该是入方向,建议你出入都放行试试
…---原始邮件---
发件人: ***@***.***>
发送时间: 2024年4月12日(周五) 凌晨0:09
收件人: ***@***.***>;
抄送: "Lu ***@***.******@***.***>;
主题: Re: [PaddleCV-SIG/GeoView] 变化检测检测不到模型,显示:未检测到模型文件,请查看上传目录是否有误 (Issue #90)
那请问后端这块是属于出方向还是入方向呢,我去找服务器那边的工作人员问问,不然不知道咋问(万分感谢)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
好嘞好嘞,谢谢谢谢!!这么晚叨饶了!万分感谢! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
启动后端和前端后,变化检测模块找不到模型,模型已经在对应文件夹里,附相关截图。




后端启动截图:
前端启动截图:
web界面截图:
模型存放位置:
The text was updated successfully, but these errors were encountered: