Comments (1)
我问题已经解决了,在sam.js中function submit_sam() 的 res[2] = positive_points; res[3] = negative_points;
改为res[1] = positive_points; res[2] = negative_points;
,值就对了。但是我依然不知道这里的原理。我猜是客户端组装的这个res参数,应该是gradio自己能直接读的到,无需编码。有懂的大神希望解答。
from sd-webui-segment-anything.
Related Issues (20)
- How to obtain the execution progress of the current task through API
- [Feature]: Please take a look at InpaintAnything. HOT 4
- 请问如何更改分割后区域图片的颜色 HOT 2
- [Bug]: 我已经把模型放到对应目录里面了,运行的时候还是会去下载安装。 HOT 2
- [Bug]: 怎样屏蔽代码里自动下载models--bert-base-uncased? HOT 3
- [Bug]: Model not working well in COLAB
- [Feature]: sam api
- [Bug]: RuntimeError: CUDA error: an illegal memory access was encountered HOT 3
- [Feature]: Support for/Integration with Forge UI HOT 1
- i want to know how to make the mask picture to Transparent basemap HOT 1
- [Feature]: Can the interactive segmentation canvas be put in its own tab on auto11? HOT 1
- [Feature]: API 中如何啟用cpu-only模式 HOT 2
- [Bug]: AttributeError: 'NoneType' object has no attribute 'mode' HOT 1
- [Feature]: Can I add auto-cleanup of video memory when using API requests? HOT 1
- [Feature]: Added option to change SAM model folder location HOT 1
- [Bug]: 安装后会显示没有sam模型,手动安装groundingdino_swinb后会显示keyError
- Gradio 4. forge HOT 6
- SAM produces 3 masks output HOT 1
- [Feature]: SAM v2 support HOT 4
- [Feature]: ViTMatte model support
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sd-webui-segment-anything.