Comments (5)
The ./model
is directory of model files in webdnn's original format.
This is converted from model file trained in tensorflow, caffe etc. by python tool provided in webdnn.
In the following tutorial, command like python train_mnist_keras.py --model fc
does the conversion.
https://github.com/mil-tokyo/webdnn/tree/master/example/mnist
from webdnn.
So your Python tool converts models from other formats into one common forman? Is there a chance, that you describe that common format? Then, model training tools could export directily in that format, instead of you writing scripts for each tool.
from webdnn.
The converted model format is backend-specific and depends on model optimization algorithm implemented in the converter. Backend means WebMetal, WebAssembly, etc. Therefore, it is difficult to implement export tool on deep learning framework side. My plan to simplify the system is to limit input model format to ONNX.
from webdnn.
Hi, I made a parser for .caffemodel = Protocol Buffers + caffe-specific scheme. It is about 65 lines of Javascript without any dependencies. It is here on lines 115 - 180: https://github.com/photopea/UNN.js/blob/master/UNN.util.js
I used it to load , parse and run some .coffemodel models completely in a web browser. I think all your non-JS tools can be easily rewritten into JS, allowing your users do everything in a browser.
from webdnn.
By the way, I made a parser for ONNX in Javascript. ONNX is also based on Protocol Buffers, just like Caffe, and is extremely easy to parse.
By the way, do you know ONNX.js from Microsoft? I think it is a competitor to WebDNN. It beats Keras.js and TensorFlow.js https://github.com/microsoft/onnxjs
from webdnn.
Related Issues (20)
- ONNX Support HOT 2
- Implement ONNX BatchNormalization
- Avoid memory error on default
- Update emscripten setup instruction
- how long will it support pytorch 1.0? HOT 2
- Does this run at all on Edge? HOT 3
- Question about writing my OPS HOT 4
- WebGL2 Compute shader support? HOT 2
- OpenNSFW caffe model always returns the same output HOT 3
- Support WebMetal HOT 1
- Support Chainer 5.x
- Full rename of WebGPU -> WebMetal
- obtain python framework model from webdnn HOT 1
- Does not work on iOS Safari without WebMetal enabled HOT 1
- How to use a TensorFlow 1.13.0 model with WebDNN?
- Support removal of Module.buffer in emscripten
- "Gather" operator not implemented yet error HOT 2
- error in webdnn setup command: "values of 'package_data' dict" must be a list of strings (got '*.js')
- Any one could explain the differences between "WebGL via Metal" vs. "WebGPU" on iOS? HOT 2
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 webdnn.