microsoft / CNTK

Microsoft Cognitive Toolkit (CNTK), an open source deep-learning toolkit
https://docs.microsoft.com/cognitive-toolkit/
Other
17.5k stars 4.29k forks source link

Evaluating using CTNK.GPU in C#, when training model of keras background cntk?? #2250

Open whaozl opened 7 years ago

whaozl commented 7 years ago
Python CNTK API How to use keras background cntk model?
ritalaezza commented 6 years ago

@whaozl I think I have the same question. I want to be able to train my models in python, using Keras library with the CNTK backend. Then I would like to evaluate the trained model in a C# application using new real-time data. Is this even possible?

What I've done so far:

whaozl commented 6 years ago

I have the same problem.

sharpwood commented 6 years ago

Is there a plan to solve this problem? @cha-zhang

ebarsoumMS commented 6 years ago

Keras save on its own format which isn't supported by CNTK. @souptc can we access the underlying CNTK graph from Keras?

warmes09 commented 6 years ago

We don't have solution to this problem ?

ghost commented 6 years ago

I have this problem too. I tried saving and loading in C# ecosystem. It gave the same error

ebarsoumMS commented 6 years ago

Can you load the model through Python? BadImageException is usually because of mix and match between x64 and x86.

ghost commented 6 years ago

"Can you load the model through Python? BadImageException is usually because of mix and match between x64 and x86." I can do it with CNTKv2 version in python. However I want it to be in C# and with ONNX version.

ebarsoumMS commented 6 years ago

Hi @CWD4RKC0D3R , this just for testing.