peterl1n / backgroundmattingv2-tensorflow Goto Github PK
View Code? Open in Web Editor NEWTensorFlow implementation of Real-Time High-Resolution Background Matting
License: MIT License
TensorFlow implementation of Real-Time High-Resolution Background Matting
License: MIT License
Is TF implementation faster than torch one?
Hi! I'm having very strange outputs in TensorflowJS w.r.t. the ones I obtain running locally the MattingRefine model.
Everything is fine if the refine mode is "Full" or I use only the MattingBase network.
But if I use in TensorflowJS the "sampling" and "thresholding" refine modes within the MattingRefine model I obtain wrong results, like showed in the figures.
The images are simply the foreground output concatened with the alpha channel. Background and bottle are the same.
I think this is related to different implementations of operators between Keras and TensorflowJS.
Do you have any idea where are the instructions wrongly interpreted?
Thanks for your help and congrats for your great job!
Notes: I converted the Keras model first to Saved Model format and then to TFJS using TFJS-converter.
Hi, how to download the tensorflow version weights file?
https://drive.google.com/drive/folders/1cbetlrKREitIgjnIikG1HdM4x72FtgBh
Only Support onnx、torch、torchscripts weights file.
Thanks
Could you please expand the example snippet to a full example?
This would be really helpfull.
Thanks.
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.