All Projects → anastasios-stamoulis → Deep Learning With Csharp And Cntk

anastasios-stamoulis / Deep Learning With Csharp And Cntk

Licence: mit
Deep Learning with C# and CNTK

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Deep Learning With Csharp And Cntk

CapsNet-tensorflow-jupyter
A simple tensorflow implementation of CapsNet (by Dr. G. Hinton), based on my understanding. This repository is built with an aim to simplify the concept, implement and understand it.
Stars: ✭ 16 (-85.19%)
Mutual labels:  capsule-network
Capslayer
CapsLayer: An advanced library for capsule theory
Stars: ✭ 351 (+225%)
Mutual labels:  capsule-network
Lung Diseases Classifier
Diseases Detection from NIH Chest X-ray data
Stars: ✭ 52 (-51.85%)
Mutual labels:  capsule-network
capsules-tensorflow
Another implementation of Hinton's capsule networks in tensorflow.
Stars: ✭ 18 (-83.33%)
Mutual labels:  capsule-network
Hands On Deep Learning Algorithms With Python
Master Deep Learning Algorithms with Extensive Math by Implementing them using TensorFlow
Stars: ✭ 272 (+151.85%)
Mutual labels:  capsule-network
Capsnet Tensorflow
A Tensorflow implementation of CapsNet(Capsules Net) in paper Dynamic Routing Between Capsules
Stars: ✭ 3,776 (+3396.3%)
Mutual labels:  capsule-network
Subject-and-Sentiment-Analysis
汽车行业用户观点主题及情感识别
Stars: ✭ 24 (-77.78%)
Mutual labels:  capsule-network
Variational Capsule Routing
Official Pytorch code for (AAAI 2020) paper "Capsule Routing via Variational Bayes", https://arxiv.org/pdf/1905.11455.pdf
Stars: ✭ 84 (-22.22%)
Mutual labels:  capsule-network
Capsule net pytorch
Readable implementation of a Capsule Network as described in "Dynamic Routing Between Capsules" [Hinton et. al.]
Stars: ✭ 301 (+178.7%)
Mutual labels:  capsule-network
Capsgnn
A PyTorch implementation of "Capsule Graph Neural Network" (ICLR 2019).
Stars: ✭ 1,008 (+833.33%)
Mutual labels:  capsule-network
heinsen routing
Official implementation of "An Algorithm for Routing Capsules in All Domains" (Heinsen, 2019) in PyTorch.
Stars: ✭ 41 (-62.04%)
Mutual labels:  capsule-network
Hands-On-Deep-Learning-Algorithms-with-Python
Hands-On Deep Learning Algorithms with Python, By Packt
Stars: ✭ 76 (-29.63%)
Mutual labels:  capsule-network
Capsule Network Tutorial
Pytorch easy-to-follow Capsule Network tutorial
Stars: ✭ 722 (+568.52%)
Mutual labels:  capsule-network
me recognition
CapsuleNet for Micro-expression Recognition (IEEE FG 2019)
Stars: ✭ 56 (-48.15%)
Mutual labels:  capsule-network
Nn encapsulation
Capsule research with our trivial contribution
Stars: ✭ 53 (-50.93%)
Mutual labels:  capsule-network
CapsNet
Empirical studies on Capsule Network representation and improvements implemented with PyTorch.
Stars: ✭ 39 (-63.89%)
Mutual labels:  capsule-network
Capsnet Visualization
🎆 A visualization of the CapsNet layers to better understand how it works
Stars: ✭ 371 (+243.52%)
Mutual labels:  capsule-network
Novel Deep Learning Model For Traffic Sign Detection Using Capsule Networks
capsule networks that achieves outstanding performance on the German traffic sign dataset
Stars: ✭ 88 (-18.52%)
Mutual labels:  capsule-network
Capsnet tensorflow
Stars: ✭ 72 (-33.33%)
Mutual labels:  capsule-network
Awesome Capsule Networks
A curated list of awesome resources related to capsule networks
Stars: ✭ 896 (+729.63%)
Mutual labels:  capsule-network

Deep Learning with C# and CNTK

In this repository we use C# with CNTK to implement various deep learning papers, as well as a port of the Keras examples in the book Deep Learning with Python.

The folder Papers contains the Visual Studio 2017 solution with the paper implementations.

The folder DeepLearning contains the Visual Studio 2015 solution for the book examples.

The requirements are Windows 10, and a relatively modern NVIDIA graphics card. All training examples should run even without a graphics card, but... very slow.

Papers

Capsules implements the paper "Dynamic Routing Between Capsules"
by Sara Sabour, Nicholas Frosst, and Geoffrey E Hinton. (https://arxiv.org/abs/1710.09829)

Port of Deep Learning With Python

Keras is a very popular Python Deep Learning library.

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

The following projects are a C# port of https://github.com/fchollet/deep-learning-with-python-notebooks using CNTK as backend.

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.

Ch_06_One_Hot_Encoding discusses one-hot encoding of words.

Ch_06_Using_Word_Embeddings introduces the Embedding layer, and pre-trained word embeddings (GloVe).

Ch_06_Understanding_Recurrent_Neural_Networks introduces LSTMs.

Ch_06_Advanced_Usage_Of_Recurrent_Neural_Networks does temperature forecasting with (stacked) GRUs.

Ch_06_Sequence_Processing_With_Convnets introduces Conv1D filters.

Ch_08_Text_Generation_With_LSTM implements character-level LSTM text generation.

Ch_08_Deep_Dream shows how neural networks hallucinate.

Ch_08_Neural_Style_Transfer applies the style of an image to another.

Ch_08_Generating_Images_With_VAEs introduces Variational Autoencoders. MNIST dataset.

Ch_08_Introduction_to_GANs creates images of fake frogs using a Generative Adversarial Network.

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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].