Coder Social home page Coder Social logo

yayaxiaoqi / freewill Goto Github PK

View Code? Open in Web Editor NEW

This project forked from shi-yan/freewill

0.0 0.0 0.0 854 KB

A deep learning library in C++/CUDA

Home Page: http://freewill.readthedocs.org

License: GNU General Public License v3.0

JavaScript 51.36% C++ 46.09% C 0.01% Cuda 0.97% HTML 0.93% CMake 0.65%

freewill's Introduction

FreeWill

futurama freewill unit

doc build badge

FreeWill is a deeplearning library implemented in C++. The purpose of writing FreeWill is for me to understand deeplearning in detail. In addition to the library itself, I will try to write detailed document and examples.

The first goal of this project is matching https://github.com/karpathy/convnetjs feature wise.

How to build

So far, I have only tested on Ubuntu 17.10

I have been avoiding introducing dependencies to this project, but you need to have Qt5 to use it.

Make sure you have also installed Qt5

To build:

mkdir build
cd build
cmake .. -DCUDA_TOOLKIT_ROOT_DIR=/usr/local/cuda-9.2 -DCMAKE_PREFIX_PATH=/home/shiy/Qt/5.11.1/gcc_64 -DCMAKE_BUILD_TYPE=debug

An example of building FreeWill on Mac OS with complex compiler setup:

cmake .. -DCMAKE_BUILD_TYPE=debug -DCMAKE_PREFIX_PATH=/Users/shiyan/Qt/5.7/clang_64 -DCMAKE_CXX_COMPILER=/Users/shiyan/gcc7/bin/g++ -DCMAKE_C_COMPILER=/Users/shiyan/gcc7/bin/gcc -DCUDA_HOST_COMPILER=/Library/Developer/CommandLineTools/usr/bin/clang

In this case, Qt 5.7 installed with Qt installer is used. A Self-built gcc7 is used to compile c++. A down-graded clang 3.7 is used for cuda compiling, as the newer clang isn't supported by nvcc.

freewill's People

Contributors

shi-yan avatar zhangkaial0320 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.