serge-weihao / tmf-matting Goto Github PK
View Code? Open in Web Editor NEWTrimap-guided feature mining and fusion network for natural image matting.
Home Page: https://arxiv.org/abs/2112.00510
License: Apache License 2.0
Trimap-guided feature mining and fusion network for natural image matting.
Home Page: https://arxiv.org/abs/2112.00510
License: Apache License 2.0
I am trying to use your pretrained model for image matting but my results are nowhere near as good as what you show in your publication. Would you mind taking a look and maybe provide some feedback on what I am doing wrong? It would be very much appreciated.
I am using your TMF_comp1k
model checkpoint and running it either with our without TTA. This is the command with:
python demo/matting_demo.py \
configs/mattors/gradloss/tmflaploss020tta8.py \
./TMF_Matting_comp1k.pth \
./bird.png \
./trimap.png \
./matte_tta.png
You can see my input images below as well as two images where I have used the alpha matte to substitute the background for a black, blue or white solid color. The first result is with TTA and the second is without.
The two results are pretty similar but neither gives me a very tight crop. What am I doing wrong?
Thank you in advance.
Would you mind sharing your trained checkpoints somewhere where I don't have to install a client to download it? Google Drive is pretty easy. Or just a web server or something.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.