Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CNTK as a library with C++ APIs #175

Closed
slaweks17 opened this issue Feb 29, 2016 · 8 comments
Closed

CNTK as a library with C++ APIs #175

slaweks17 opened this issue Feb 29, 2016 · 8 comments

Comments

@slaweks17
Copy link

Hi,
CNTK works in "batch mode", but I also would like to use it as a library in a C++ program, where I could train, then perhaps change some parameters, generate new data, and then continue training etc. That could be useful for data augemntation and reinforced learning scenarios, for example.
I believe that it is impossible now, but do you consider it for future?

@frankseide
Copy link
Contributor

We are working on "librarifying" CNTK to enable this from C++, Python, and .Net on Windows, and will also welcome community contributions for other languages.

As of today, since CNTK is just a C++ program, it is technically possible to use its components from C++, and in the code you will already see some componentization (ComputationNetworkLib, SGDLib, readers), but those interfaces of these are currently not designed for general use (and have some historic baggage, too). So while you can do it (and some internal folks have done that), it is not recommended since those interfaces are going to change.

I will close this request. Once we have externally usable components, it will be announced.

@slaweks17
Copy link
Author

Hi Frank,
Thank you very much. This is a great news.

Regards,
Slawek


Od: Frank Seide notifications@github.com
Wysłane: 29 lutego 2016 21:22
Do: Microsoft/CNTK
DW: slaweks17
Temat: Re: [CNTK] CNTK as a library with C++ APIs (#175)

We are working on "librarifying" CNTK to enable this from C++, Python, and .Net on Windows, and will also welcome community contributions for other languages.

As of today, since CNTK is just a C++ program, it is technically possible to use its components from C++, and in the code you will already see some componentization (ComputationNetworkLib, SGDLib, readers), but those interfaces of these are currently not designed for general use (and have some historic baggage, too). So while you can do it (and some internal folks have done that), it is not recommended since those interfaces are going to change.

I will close this request. Once we have externally usable components, it will be announced.

Reply to this email directly or view it on GitHubhttps://github.com//issues/175#issuecomment-190402134.

@krikru
Copy link

krikru commented May 27, 2016

Why was this issue closed? Is it a duplicate of some other issue?

@frankseide
Copy link
Contributor

Yes, this is a common request, and we are well on track. Once this is ready, you won't be able to miss the announcement.

@krikru
Copy link

krikru commented May 29, 2016

Nice! :) What is the other issue (of which this is a duplicate)?

@krikru
Copy link

krikru commented Jun 21, 2016

Of which issue is this a duplicate? And how can you be sure I won't miss the announcement? I don't frequently visit this repository. That is why I want to know of which issue this is a duplicate, so I can subscribe to that issue.

@n17s
Copy link
Member

n17s commented Nov 13, 2016

There is a (low-level) C++ API now. Here is an example

@slaweks17
Copy link
Author

Thank you!


Od: Nikos Karampatziakis notifications@github.com
Wysłane: 13 listopada 2016 05:50
Do: Microsoft/CNTK
DW: slaweks17; Author
Temat: Re: [Microsoft/CNTK] CNTK as a library with C++ APIs (#175)

There is a (low-level) C++ API now. Here is an examplehttps://github.com/Microsoft/CNTK/blob/master/Tests/UnitTests/V2LibraryTests/CifarResNet.cpp

You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com//issues/175#issuecomment-260168509, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AIhVjWJrhMwxZOFbMAB4Cag3QI0E_9SRks5q9qUYgaJpZM4HlFiw.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants