-
Notifications
You must be signed in to change notification settings - Fork 118
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
[label_anything]: Add model - Validation error #60
Comments
首先得在setting里面的labeling interface定义所需标注的类别,然后才能导入Machine Leaning里面的模型 |
labeling interface 我已经照着文档设置过了。 一般来说上面那个错误表示:当前不支持请求方式,例如不支持 POST 请求。 |
我是在服务器上跑的,然后映射到本地打开,倒是没遇到你这个错误 |
同样的问题 |
可能是因为使用vit-h,需要设置一下环境变量,具体已经在文档中更新 |
果然没有问题了,感谢! |
同样的问题,设置了环境变量也没有解决 |
请问sam推理后端保持开启了吗? |
开启了 |
开启了的 |
但我发现,GPU没有显存占用,感觉没起来似的 |
可能需要稍微等待模型的加载,另外请检查一下,看看是否出现报错的情况 |
没看到报错
---- 原始邮件 ----
***@***.***>;
Date:2023年4月28日(星期五) 下午2:59
***@***.***>;
***@***.******@***.***>;
Subject:Re: [open-mmlab/playground] [label_anything]: Add model - Validation error (Issue #60)
同样的问题,设置了环境变量也没有解决
请问sam推理后端保持开启了吗?
但我发现,GPU没有显存占用,感觉没起来似的
可能需要稍微等待模型的加载,另外请检查一下,看看是否出现报错的情况
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
我再看下啊
---- 原始邮件 ----
***@***.***>;
Date:2023年4月28日(星期五) 下午2:59
***@***.***>;
***@***.******@***.***>;
Subject:Re: [open-mmlab/playground] [label_anything]: Add model - Validation error (Issue #60)
同样的问题,设置了环境变量也没有解决
请问sam推理后端保持开启了吗?
但我发现,GPU没有显存占用,感觉没起来似的
可能需要稍微等待模型的加载,另外请检查一下,看看是否出现报错的情况
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
可能需要检查一下你的URL填写是否和sam后端推理的ip端口一致 |
运行更大模型的时候,需要等一等加载完成参数后再刷新下就OK了 |
我也遇到了相同的问题。尝试多次也没有办法,只能使用vit_b,vit_h和hq模型都用不了,请问您最后是如何修改环境变量让问题得以解决的?谢谢! |
你好,关于环境变量的设置可以看以下:
但是需要注意的是,硬件参数也对模型的导入有影响,我测试的时候使用的是24G显存的3090,或者只使用CPU进行推理,希望这些参数对解决您的问题有所帮助。 |
谢谢,不过这个设置我跟随文档操作时已经做过了,错误信息还是显示read timed out=3.0(是在第二个打开label studio的终端中设置吗?不过我三种可能都尝试过了)。具体图片我在新提问中有贴,我使用的是48G3090,或者我试试CPU吧。 |
您好,我发现了原因所在。关于vit_h模型,我原先打开label studio时使用的是anaconda powershell prompt,似乎set ML_TIMEOUT_SETUP=40命令没有作用,当我换成anaconda prompt时,就可以运行了。 |
Window10 简体中文 64位 系统
Successfully connected to http://127.0.0.1:8003 but it doesn't look like a valid ML backend. Reason: 500 Server Error: INTERNAL SERVER ERROR for url: http://127.0.0.1:8003/setup.
Check the ML backend server console logs to check the status. There might be
something wrong with your model or it might be incompatible with the current labeling configuration.
Version: 1.7.3
http://localhost:8003/
http://127.0.0.1:8003/setup
Anaconda prompt:
127.0.0.1 - - [26/Apr/2023 17:11:02] "POST /setup HTTP/1.1" 500 -
??? why?
The text was updated successfully, but these errors were encountered: