keras2cpp icon indicating copy to clipboard operation
keras2cpp copied to clipboard

TypeError: ('Keyword argument not understood:', 'border_mode')

Open SwatikSahoo opened this issue 4 years ago • 2 comments

I get this error while running mnist_cnn_one_iteration.py. Kindly shed some clarity on how to remove this error

SwatikSahoo avatar Jan 12 '22 21:01 SwatikSahoo

It might depend on the Keras backend. The repo example was made for Keras with Theano backend.

pplonski avatar Jan 12 '22 21:01 pplonski

i think this should be 'padding' when tensorflow is backend. I just converted my one keras image segmentation unet like network into c++, although i did only necessary work required for my network and didn't added another layers, but you can still see and change it according to your need - https://github.com/upashu1/keras2cpp_multithreading_image_segmentation.

upashu1 avatar Jun 27 '22 12:06 upashu1