Giter Club home page Giter Club logo

stanislavgrigoriev / easycntk Goto Github PK

View Code? Open in Web Editor NEW
19.0 7.0 8.0 15.47 MB

C# library for easy Deep Learning and Deep Reinforcement Learning. It is wrapper over C# CNTK API. Has implementation of layers (LSTM, Convolution etc.), optimizers, losses, shortcut-connections, sequential model, sequential multi-output model, agent teachers, policy gradients, actor-critic etc. Contains helpers for work with dataset (split, statistics, SMOTE etc). Allows train, evaluate and inference deep neural networks in style similar to Keras.

License: Other

C# 100.00%
cntk c-sharp deep-neural-networks deep-learning-library cognitive-toolkit deep-learning machine-learning

easycntk's People

Contributors

stanislavgrigoriev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

easycntk's Issues

Здравствуйте не могу понять?

Здравствуйте не могу понять как предугадать следующее слово при помощи вашей библиотеки с использованием LSTM ели можно пример без linq.
Уже месяц пробую. Предсказание по словам
На вход
Слово / сумму слов в словаре
На выходе сигмоидальный полносвязный слой

Вопрос: Как передать значения в модель и вернуть предикт класса MNIST

Не могу понять как вернуть предикт класса. Сейчас делаю так: тренирую модель вашим примером mnist, далее подгружаю модель кодом:
first_multi_model = Sequential<double>.LoadModel(device, fname_model_firstmulti);
пробую использовать предикт передавая в модель массив значений без one-hot-encodind маркера кодом:
double[] predict = first_multi_model.Predict(dataArray, device);
при выполнении на строке получаю ошибку:
image

Полный код приложения можно посмотреть здесь.
Станислав, спасибо!

При оценке метрик вылетает ошибка: Последовательность содержит более одного элемента.

image
Вот кусок кода на который ругается прога

var metricsTrain = model
      .Evaluate(datasetTrain, inputDimension, device)
      .GetOneLabelClassificationMetrics();

Эта ошибка воспроизводима в примере MNIST данного репозитория, на последней версии библиотеки.
Я чувствую большой потенциал вашей библиотеки, скиньте пожалуйста ссылку на ее API если такой материал написан.

The type 'DeviceDescriptor' is defined in an assembly that is not referenced

Using monodevelop and have this error message:
/Examples/SinusoidRegressionLSTM/SinusoidRegressionLSTM/Program.cs(29,29): Error: The type 'DeviceDescriptor' is defined in an assembly that is not referenced. You must add a reference to assembly 'Cntk.Core.Managed-2.7, Version=2.7.0.0, Culture=neutral, PublicKeyToken=a82c1f3f67b62253'. (SinusoidRegressionLSTM) Compiler

I used nuget to add the Cntk.Core.Managed package but still get the error, tried "Clean all"

Any ideas as to what is not right?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.