pplonski / keras2cpp

This is a bunch of code to port Keras neural network model into pure C++.
MIT License
679 stars 153 forks source link

do not print "..." in model.txt #6

Closed ypwhs closed 7 years ago

pplonski commented 7 years ago

Have you tested this? is it working correctly with your fix?

ypwhs commented 7 years ago

I successfully fixed the issue. np.set_printoptions(threshold=np.inf) After adding the above code, I successfully generated a 21.4 MB model.

pplonski commented 7 years ago

And you can read it in C++ part?

ypwhs commented 7 years ago

Yes, I also apply it to iOS. https://github.com/ypwhs/im2bw