Comments (1)
Thank you! I have fixed it in #ef3ab21. I forgot that Conv2D
and Convolution2D
are equals.
But in fact, not all layer types are supported yet. Here is a list of all supported layers and activation types.
Supported layers:
- Dense
- Convolution2D
- Flatten
- ELU
- Activation
- MaxPooling2D
- LSTM
- Embedding
Supported activation:
- linear
- relu
- softplus
- tanh
- sigmoid
- hard_sigmoid
- elu
- softsign
Unfortunately keras2cpp is not support BatchNormalization
layer and you will get the same error with BatchNormalization...
Create new issue (e.g. Add BatchNormalization support) i'll try to implement this layer into keras2cpp.
You can try to convert this model to tensorfliw, build tf with bezel and try to use it. Or wait for changes :-)
from keras2cpp.
Related Issues (20)
- How to convert image to keras2cpp::Tensor? (Not really an Issue but a question)
- This project only support C
- This project only support std = c++17. Is there any other version? HOT 6
- Multi-class classification
- Assert error conv2d in dims != weight dims HOT 4
- Using it with qmake HOT 1
- Не собирается библиотека под UE4 HOT 3
- Не понимаю где косячу) or assert on BatchNormalization HOT 1
- VC++ dll HOT 1
- Convolutional networks HOT 1
- Error C2440 'initializing': cannot convert from 'initializer list' to 'keras2cpp::Tensor' HOT 2
- Inference result is different between keras model and c++
- Inference on c++ model fails: file cannot be read
- Cannot find test directory and files in that directory HOT 1
- embedding layer with mask_zero = True produces incorrect predictions
- VC++ Conv2D runtime error
- /
- Initialize a 4-dim Tensor for inference HOT 4
- Using from cpp project in VS2022 (Windows)
- tuple.index(x): x not in tuple HOT 8
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 keras2cpp.