Code Monkey home page Code Monkey logo

Comments (20)

BOOSTMKII avatar BOOSTMKII commented on June 22, 2024 1

我也遇到了相同的问题。尝试多次也没有办法,只能使用vit_b,vit_h和hq模型都用不了,请问您最后是如何修改环境变量让问题得以解决的?谢谢!

你好,关于环境变量的设置可以看以下:

# Linux requires the following commands
export ML_TIMEOUT_SETUP=40
# Windows requires the following commands
set ML_TIMEOUT_SETUP=40

但是需要注意的是,硬件参数也对模型的导入有影响,我测试的时候使用的是24G显存的3090,或者只使用CPU进行推理,希望这些参数对解决您的问题有所帮助。

您好,我发现了原因所在。关于vit_h模型,我原先打开label studio时使用的是anaconda powershell prompt,似乎set ML_TIMEOUT_SETUP=40命令没有作用,当我换成anaconda prompt时,就可以运行了。

from playground.

beyoursel avatar beyoursel commented on June 22, 2024

首先得在setting里面的labeling interface定义所需标注的类别,然后才能导入Machine Leaning里面的模型

from playground.

puxiao avatar puxiao commented on June 22, 2024

labeling interface 我已经照着文档设置过了。
去添加模型后,去检测,我访问 http://127.0.0.1:8003/setup 网页显示:Method Not Allowed The method is not allowed for the requested URL.

一般来说上面那个错误表示:当前不支持请求方式,例如不支持 POST 请求。

from playground.

beyoursel avatar beyoursel commented on June 22, 2024

labeling interface 我已经照着文档设置过了。 去添加模型后,去检测,我访问 http://127.0.0.1:8003/setup 网页显示:Method Not Allowed The method is not allowed for the requested URL.

我是在服务器上跑的,然后映射到本地打开,倒是没遇到你这个错误

from playground.

panp4n avatar panp4n commented on June 22, 2024

同样的问题

from playground.

JimmyMa99 avatar JimmyMa99 commented on June 22, 2024

可能是因为使用vit-h,需要设置一下环境变量,具体已经在文档中更新

from playground.

puxiao avatar puxiao commented on June 22, 2024

果然没有问题了,感谢!

from playground.

liuyongkang1-tal avatar liuyongkang1-tal commented on June 22, 2024

同样的问题,设置了环境变量也没有解决

from playground.

JimmyMa99 avatar JimmyMa99 commented on June 22, 2024

同样的问题,设置了环境变量也没有解决

请问sam推理后端保持开启了吗?

from playground.

liuyongkang1-tal avatar liuyongkang1-tal commented on June 22, 2024

开启了

from playground.

liuyongkang1-tal avatar liuyongkang1-tal commented on June 22, 2024

同样的问题,设置了环境变量也没有解决

请问sam推理后端保持开启了吗?

开启了的

from playground.

liuyongkang1-tal avatar liuyongkang1-tal commented on June 22, 2024

同样的问题,设置了环境变量也没有解决

请问sam推理后端保持开启了吗?

但我发现,GPU没有显存占用,感觉没起来似的

from playground.

JimmyMa99 avatar JimmyMa99 commented on June 22, 2024

同样的问题,设置了环境变量也没有解决

请问sam推理后端保持开启了吗?

但我发现,GPU没有显存占用,感觉没起来似的

可能需要稍微等待模型的加载,另外请检查一下,看看是否出现报错的情况

from playground.

liuyongkang1-tal avatar liuyongkang1-tal commented on June 22, 2024

from playground.

liuyongkang1-tal avatar liuyongkang1-tal commented on June 22, 2024

from playground.

JimmyMa99 avatar JimmyMa99 commented on June 22, 2024

我再看下啊
---- 原始邮件 ----
@.>;
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端口一致

from playground.

yumendecc avatar yumendecc commented on June 22, 2024

运行更大模型的时候,需要等一等加载完成参数后再刷新下就OK了

from playground.

BOOSTMKII avatar BOOSTMKII commented on June 22, 2024

我也遇到了相同的问题。尝试多次也没有办法,只能使用vit_b,vit_h和hq模型都用不了,请问您最后是如何修改环境变量让问题得以解决的?谢谢!

from playground.

JimmyMa99 avatar JimmyMa99 commented on June 22, 2024

我也遇到了相同的问题。尝试多次也没有办法,只能使用vit_b,vit_h和hq模型都用不了,请问您最后是如何修改环境变量让问题得以解决的?谢谢!

你好,关于环境变量的设置可以看以下:

# Linux requires the following commands
export ML_TIMEOUT_SETUP=40
# Windows requires the following commands
set ML_TIMEOUT_SETUP=40

但是需要注意的是,硬件参数也对模型的导入有影响,我测试的时候使用的是24G显存的3090,或者只使用CPU进行推理,希望这些参数对解决您的问题有所帮助。

from playground.

BOOSTMKII avatar BOOSTMKII commented on June 22, 2024

我也遇到了相同的问题。尝试多次也没有办法,只能使用vit_b,vit_h和hq模型都用不了,请问您最后是如何修改环境变量让问题得以解决的?谢谢!

你好,关于环境变量的设置可以看以下:

# Linux requires the following commands
export ML_TIMEOUT_SETUP=40
# Windows requires the following commands
set ML_TIMEOUT_SETUP=40

但是需要注意的是,硬件参数也对模型的导入有影响,我测试的时候使用的是24G显存的3090,或者只使用CPU进行推理,希望这些参数对解决您的问题有所帮助。

谢谢,不过这个设置我跟随文档操作时已经做过了,错误信息还是显示read timed out=3.0(是在第二个打开label studio的终端中设置吗?不过我三种可能都尝试过了)。具体图片我在新提问中有贴,我使用的是48G3090,或者我试试CPU吧。

from playground.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.