microsoft / CNTK

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

CNTKDictionary C# wrapper #3059

Open sbresolin opened 6 years ago

sbresolin commented 6 years ago

Team - quick question: the CNTK C# wrapper for the Function class has a method called Attributes that returns an object of type CNTKDictionary. That wrapper class has no obvious public ways to access the actual entries - am I missing something obvious or is there something missing in the auto generated wrapper? - Thanks!

ke1337 commented 6 years ago

Seems there's only method Add/Contains, but no read.

KichangKim commented 6 years ago

This issue make that Trainer.RestoreFromCheckpoint() and SaveCheckpoint() is hard to use. RestoreFromCheckpoint() return CNTKDictionary but it is totally useless because I can't set value to it.

Only solution is make custom class which has own serialization/deserialzation and use it. This is very annoying :(

KichangKim commented 5 years ago

@KeDengMS I'm suprised that CNTK doesn't fix this issue yet. Are CNTK abandoned? Nobody uses CNTK C# API?