在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:cyrildiagne/basnet-http开源软件地址:https://github.com/cyrildiagne/basnet-http开源编程语言:Python 84.6%开源软件介绍:BASNet HTTPThis is an HTTP service wrapper for BASNet: Boundary-Aware Salient Object Detection code The deploy folder contains configuration files for deployment as serverless container with Knative. It's highly recommended to run this image on a machine with a CUDA compatible Nvidia Card and minimum 6Gb of RAM. Usage:docker run --rm -p 8080:80 docker.io/cyrildiagne/basnet-http If you're having Test:curl -F "[email protected]" http://localhost:8080 -o result.png FAQ / Troubleshooting:Q: I get an empty response, or "out of memory" A: Increase your Docker RAM limit to at least 6GB: cyrildiagne/ar-cutpaste#26 (comment) Q: I get a file that is 256x256 instead of my input image's size A: That's the right output. You need to resize it to your input image's width and height. See: #11 Development
Build from source:Option 1 - Locally with virtualenvRequires Python v3.6+ virtualenv venv
venv/bin/activate pip install torch==0.4.1
pip install -r requirements.txt
Option 2 - Using DockerAfter you've retrieved the BASNet model. Download Resnet checkpoint
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论