keras2ncnn icon indicating copy to clipboard operation
keras2ncnn copied to clipboard

A keras h5df to ncnn model converter

Results 17 keras2ncnn issues
Sort by recently updated
recently updated
newest added

I use `python3 -m keras2ncnn -i model.h5 -o ./ -d` in command for debugging the output inconsistent with keras But I got error below, and I can't find `keras2ncnn.cpp` in...

Can you print the unsupported ones? (能否将不支持的打印出来?) ```shell Reading and parsing keras h5df file... Start graph optimizing pass... Removing unused nodes... Removing squeeze reshape after pooling... Refreshing graph... Converting keras...

[model_autokeras.zip](https://github.com/MarsTechHAN/keras2ncnn/files/8895194/model_autokeras.zip) ![errorlog1](https://user-images.githubusercontent.com/39897311/173465977-55712e24-a986-4004-aa29-238b56cc9a3f.JPG) ![errorlog2](https://user-images.githubusercontent.com/39897311/173465981-8bd6a206-1d8a-447b-b5cc-5555f41433c8.JPG) ![errorlog3](https://user-images.githubusercontent.com/39897311/173465984-25b08721-7c71-4f32-a9fb-cc31e485c3c4.JPG)

Hi, I try to convert model to nccn using Mobilenetv3Small, but I get this error ERROR] Operator Rescaling not support. ========================================= {'name': 'rescaling', 'trainable': False, 'dtype': 'float32', 'scale': 0.00784313725490196, 'offset':...

unsupport operator

when i convert the enet model to ncnn , the prelu operator is not support can you help to support the operator in the new version? Thankyou Verymuch ![Uploading 1.PNG…]()

Hello everyone, this PR aims to enable Resizing op support. The implementation translates tensorflow resizing ops into NCNN Interpolation Ops. As ncnn expects a scale factor for these ops, the...

[test.zip](https://github.com/MarsTechHAN/keras2ncnn/files/7142032/test.zip) hello,There's a problem where i executive command of "python -m keras2ncnn -i test.h5 -i ./" the error is as follows: " Reading and parsing keras h5df file... [ERROR] Failed...

unsupport operator

Activation _hard_swish in MobileNetV3_Small. It's a segment model. Model is here! [weights_01-0.8977.zip](https://github.com/MarsTechHAN/keras2ncnn/files/6269259/weights_01-0.8977.zip)

unsupport operator

Converted model from keras to NCNN. Pre-processing used in keras(python) is as follows ```py # reading image in cv Mat format orig = cv2.imread('black.png') # Converting image from BGR to...

result unmatch

Operator Permute not support, what should I do?

model file required
unsupport operator