Giter Site home page Giter Site logo

marburg's Introduction

Deep Learning and Quantum Many-Body Physics - Hands on Session

Table of Contents

We have prepaired four examples

  • Computation Graphs and Back Propagation (online, solution)
  • Normalization flow for sampling (online, solution)
  • Restricted Boltzmann Machine for image restoration (online, solution)
  • Deep Neural Network as a Quantum Wave Function Ansatz (online)

They have been uploaded to both Google drive and notebooks folder in this repository. Have fun!

Preparations

You may use either local or online accesses to our python notebooks.

If you are not using an Nvidia GPU or its driver are not properly configured, online access is recommended, otherwise you may loss some fun in this session.

Local

Requires a Linux or OSX operating system (required by pytorch).

Set up your python environment

  • python 3.6
  • install python libraries numpy, matplotlib and ipython
pip install numpy matplotlib ipython
  • install PyTorch following installation guide.
    • select CUDA 8 if you have an Nvidia GPU with properly configured driver
    • select CUDA None if your don't

Clone this repository https://github.com/GiggleLiu/marburg.git to your local host. Change directory to project home, check your installation by typing ipython notebook env_test.ipynb and run this test script.

Online

Online means you can try CUDA programming without having an local NVIDIA GPU.

  1. Sign up and sign in Google drive
  2. Connect Google drive with Google Colaboratory
    • right click on google drive page
    • More
    • Connect more apps
    • search "Colaboratory" and "CONNECT"
  3. Open the following online notebook link https://drive.google.com/file/d/1MLcG21zqSU9AvbY4siD4NqqbB2uwP2p2/view?usp=sharing
  4. Setup GPU following instructions in above notebook
  5. You can make a copy of notebook to your google drive (File Menu) to save your edits.

Documentations

  • lecture notes: docs/LectureNoteonML.pdf
  • hands on slides: docs/ML-handson.pdf

Authors

marburg's People

Contributors

li012589 avatar giggleliu avatar wangleiphy avatar

Watchers

James Cloos 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.