• Stars
    star
    656
  • Rank 66,223 (Top 2 %)
  • Language
    C++
  • License
    MIT License
  • Created over 10 years ago
  • Updated 3 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Fast Deep Learning Library (DLL) for C++ (ANNs, CNNs, RBMs, DBNs...)

Deep Learning Library (DLL) 1.1

logo coverage jenkins license

DLL is a library that aims to provide a C++ implementation of Restricted Boltzmann Machine (RBM) and Deep Belief Network (DBN) and their convolution versions as well. It also has support for some more standard neural networks.

Features

  • Restricted Boltzmann Machine
    • Various units: Stochastic binary, Gaussian, Softmax and nRLU units
    • Contrastive Divergence and Persistence Contrastive Divergence
      • CD-1 learning by default
    • Momentum
    • Weight decay
    • Sparsity target
    • Train as Denoising autoencoder
  • Convolutional Restricted Boltzmann Machine
    • Standard version
    • Version with Probabilistic Max Pooling (Honglak Lee)
    • Binary and Gaussian visible units
    • Binary and ReLU hidden units for the standard version
    • Binary hidden units for the Probabilistic Max Pooling version
    • Training with CD-k or PCD-k (only for standard version)
    • Momentum, Weight Decay, Sparsity Target
    • Train as Denoising autoencoder
  • Deep Belief Network
    • Pretraining with RBMs
    • Fine tuning with Conjugate Gradient
    • Fine tuning with Stochastic Gradient Descent
    • Classification with SVM (libsvm)
  • Convolutional Deep Belief Network
    • Pretraining with CRBMs
    • Classification with SVM (libsvm)
  • Input data
    • Input data can be either in containers or in iterators
      • Even if iterators are supported for SVM classifier, libsvm will move all the data in memory structure.

Building

Note: When you clone the library, you need to clone the sub modules as well, using the --recursive option.

The folder include must be included with the -I option, as well as the etl/include folder.

This library is completely header-only, there is no need to build it.

However, this library makes extensive use of C++11 and C++14, therefore, a recent compiler is necessary to use it. Currently, this library is only tested with g++ 9.3.0.

If for some reasons, it should not work on one of the supported compilers, contact me and I'll fix it. It should work fine on recent versions of clang.

This has never been tested on Windows. While it should compile on Mingw, I don't expect Visual Studio to be able to compile it for now, although VS 2017 sounds promising. If you have problems compiling this library, I'd be glad to help, but cannot guarantee that this will work on other compilers.

If you want to use GPU, you should use CUDA 8.0 or superior and CUDNN 5.0.1 or superior. I haven't tried other versions, but lower versions of CUDA, such as 7, should work, and higher versions as well. If you got issues with different versions of CUDA and CUDNN, please open an issue on Github.

License

This library is distributed under the terms of the MIT license, see LICENSE file for details.

More Repositories

1

thor-os

Simple operating system in C++, written from scratch
C++
1,602
star
2

etl

Blazing-fast Expression Templates Library (ETL) with GPU support, in C++
C++
210
star
3

articles

Source code for my articles
C++
145
star
4

budgetwarrior

Personal finance manager, command-line interface, in C++
C++
109
star
5

mnist

Simple C++ reader for MNIST dataset
C++
80
star
6

btrees

C++ implementation of concurrent Binary Search Trees
C++
69
star
7

swr-calculator

Safe Withdrawal Rate (SWR) Calculator
C++
48
star
8

sudoku_dataset

Dataset of Sudoku images for Machine Learning
C++
39
star
9

cpm

Continuous Perfomance Monitor (CPM) for C++ code
C++
39
star
10

cpp_utils

Collection of header-only utilities for C++
C++
33
star
11

eddic

Compiler of the EDDI programming language
C++
32
star
12

systemd-unit-files

Some unit files for systemd
32
star
13

frameworks

Lua
19
star
14

cifar-10

Simple C++ reader for CIFAR-10 dataset
C++
18
star
15

CMakeLatex

Simple CMake configuration for Latex
Awk
17
star
16

zabbix-lld

Script and template export for Zabbix LLD
Shell
16
star
17

dotfiles

My dot files
Lua
14
star
18

java-benchmarks

Performance benchmarks on the Java Platform
9
star
19

etl-gpu-blas

Mini BLAS-like library for GPU (complementary to CUBLAS)
C++
7
star
20

pm

Simple project manager in Python
Python
5
star
21

sudoku_recognizer

Program to detect and recognize Sudoku in images
C++
5
star
22

eddivm

Eddi Virtual Machine
C++
4
star
23

word_spotting

C++
4
star
24

HazardManager

Utility class to use Hazard Pointers in C++ Concurrency Code
C++
4
star
25

gooda-to-afdo-converter

Converter from Gooda Spreadsheets to AFDO
C++
4
star
26

make-utils

Simple utility to easily write makefile for C++ projects
Makefile
4
star
27

GraphMyData

Java
3
star
28

taskwarrior-php

A very simple PHP Front End Viewer for Task Warrior
PHP
3
star
29

jtheque-core

Framework to create modular applications in Java
Java
3
star
30

mafiaspacelife

Java
3
star
31

benchmark-utils

A little benchmark utility to bench Java Code and generate Graphs
Java
3
star
32

cpp_utils_test

Unit tests for cpp_utils
C++
3
star
33

inlining-analyzer

Analyze a callgraph to find the most interesting functions to inline in a C++ applications
C++
3
star
34

cppbench

Benchmark framework for C++ function
C++
2
star
35

analysis-examples

C++
2
star
36

spirit_x3_tests

C++
2
star
37

asgard-server

C++
2
star
38

tetris-ai

Tetris Clone for AI experiments
Java
2
star
39

ICM

International Contract Management
JavaScript
2
star
40

gcc-loop-fusion

GCC Loop Fusion
C++
2
star
41

aggregator-plugin

Sonar plugin to display metrics aggregated over all projects
HTML
2
star
42

dll-autoencoders

C++
1
star
43

jtheque-films-module

A module of JTheque to manage a collection of films
Java
1
star
44

latex-makefile

A simple makefile for Latex
1
star
45

svm_mnist

C++
1
star
46

jtheque-books-module

A module of JTheque to manage a collection of books
Java
1
star
47

jtheque-tools-module

A module of JTheque providing several tools for other modules
Java
1
star
48

dbn_experiments

Experiments with DBN and RBM
C++
1
star
49

nice_svm

Wrapper around libsvm to make it easier to use and make the code nicer
C++
1
star
50

jtheque-demo-module-2

jtheque-demo-module-2
Java
1
star
51

eddi-commons

Eddi Commons
C++
1
star
52

etl_vs_blaze

C++
1
star
53

VaadinBoard

Java
1
star
54

dotfiles-pentadactyl

Dotfiles for pentadactyl
JavaScript
1
star
55

asgard-lib

Library for asgard system
C++
1
star
56

dotfiles-git

Dotfiles for git
1
star
57

pkg-config

Some of my pkg-config files
1
star
58

jtheque-xml-utils

Utility to write and read XML files
Java
1
star
59

jtheque-primary-utils

An utility module for JTheque
Java
1
star
60

jtheque-utils

Java Library providing general utilities (File, String, Swing, ...)
Java
1
star
61

jtheque-movies-module

A JTheque module to manage a collection of movies
Java
1
star
62

thesis-perfs

C++
1
star
63

jtheque-memory-module

A JTheque module to display the used memory
Java
1
star
64

jtheque-unit-utils

A simple utility library to write unit test for file operations and for databases operations
Java
1
star
65

jtheque-metrics-module

A module of JTheque to generate metrics about a Java project
Java
1
star
66

MarathonMillions

Le marathon des millions
C#
1
star
67

shell-tools

Reminder for common shell commands
1
star
68

jtheque-stats-module

A module of JTheque to display stats about films
Java
1
star
69

jtheque-demo-module-1

jtheque-demo-module-1
Java
1
star
70

jtheque-films-to-buy-module

A module of JTheque to manage a list of films to buy
Java
1
star
71

test-cppsqlite3

C++
1
star
72

dotfiles-vim

Dotfiles for vim
Vim Script
1
star
73

dotfiles-zsh

Dotfiles for zsh
Shell
1
star
74

asgard-system-driver

C++
1
star
75

wichtounet.github.io

The sources of my blog (Generated with Nikola)
HTML
1
star
76

budgetwarrior_web

C++
1
star
77

jtheque-osgi-wrap

Maven wrapper to create OSGI bundle of non-bundle libraries
1
star
78

jtheque-web-search-module

A module of JTheque to search informations about films on internet
Java
1
star