GithubHelp home page GithubHelp logo

courtpaul / deep-learning-with-csharp-and-cntk Goto Github PK

View Code? Open in Web Editor NEW

This project forked from anastasios-stamoulis/deep-learning-with-csharp-and-cntk

0.0 0.0 0.0 40.56 MB

License: MIT License

C++ 10.35% C 0.57% C# 64.47% Python 24.61%

deep-learning-with-csharp-and-cntk's Introduction

Deep Learning with C# and CNTK

Keras is a very popular Python Deep Learning library.

Recently, the creator of Keras, Francois Chollet, published the excellent book Deep Learning with Python.

This repository is a C# port of https://github.com/fchollet/deep-learning-with-python-notebooks using CNTK as backend.

Examples

Ch_02_First_Look_At_A_Neural_Network introduces softmax and fully connected layers. MNIST data set.

Ch_03_Classifying_Movie_Reviews introduces binary cross-entropy. IMDB data set.

Ch_03_Predicting_House_Prices introduces MSE and KFold training on a regression problem. Housing Prices dataset.

Ch_04_Overfitting_and_Underfitting introduces Regularization and Dropout. Housing Prices dataset.

Ch_05_Introduction_to_Convnets introduces Conv2D filters. MNIST data set.

Ch_05_Using_Convnets_With_Small_Datasets introduces on-the-fly data augmentation. Cats And Dogs dataset.

Ch_05_Using_A_Pretrained_Convnet uses the VGG16 "bottleneck" features, with optional augmentation, and fine-tuning.

Ch_05_Visualizing_Intermediate_Activations displays the feature maps that are output by various layers.

Ch_05_Visualizing_Convnet_Filters finds the visual pattern that each filter responds to using gradient ascent in input space.

Ch_05_Class_Activation_Heatmaps show which part of an image a convnet focused on.

Running the examples on Windows 10

The folder DeepLearning contains the Visual Studio 2015 solution.

No need to install CNTK, as it will be installed automatically by NuGet.

If you have an NVIDIA graphics card, you will need to have CUDA + cuDNN installed.

The project is self-contained. No need to install anything else.

Note that apart from CNTK, the following NuGet packages are used:

Python Code

If you would like to experiment with the original Python code, the folder Python contains the python code, as extracted from the notebooks.

To run the Python code on Windows 10, just get anaconda3, install Keras (with pip install keras), and also install CNKT, if you would like to use CNTK as Keras backend.

For each Python script in the Python folder, there is a corresponding C# project, with a README.md file that explains how the port was made.

deep-learning-with-csharp-and-cntk's People

Contributors

anastasios-stamoulis avatar

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.