Skip to content

deepgenerativemodels/notes

Repository files navigation

Notes on Deep Generative Models

These notes form a concise introductory course on deep generative models. They are based on Stanford CS236, taught by Aditya Grover and Stefano Ermon, and have been written by Aditya Grover, with the help of many students and course staff.

The compiled version is available here.

Contributing

This material is under construction! Although we have written up most of it, you will probably find several typos. If you do, please let us know, or submit a pull request with your fixes via Github.

The notes are written in Markdown and are compiled into HTML using Jekyll. Please add your changes directly to the Markdown source code. In order to install jekyll, you can follow the instructions posted on their website (https://jekyllrb.com/docs/installation/).

Note that jekyll is only supported on GNU/Linux, Unix, or macOS. Thus, if you run Windows 10 on your local machine, you will have to install Bash on Ubuntu on Windows. Windows gives instructions on how to do that here and Jekyll's website offers helpful instructions on how to proceed through the rest of the process.

To compile Markdown to HTML (i.e. after you have made changes to markdown and want them to be accessible to students viewing the docs), run the following commands from the root of your cloned version of the https://github.com/deepgenerativemodels/notes repo:

  1. rm -r docs/
  2. jekyll serve # This should create a folder called _site. Note: This creates a running server; press Ctrl-C to stop the server before proceeding
  3. mv _site docs # Change the name of the _site folder to "docs". This won't work if the server is still running.
  4. git add file_names
  5. git commit -am "your commit message describing what you did"
  6. git push origin master

Note that if you cloned the ermongroup/cs228-notes repo directly onto your local machine (instead of forking it) then you may see an error like "remote: Permission to ermongroup/cs228-notes.git denied to userjanedoe". If that is the case, then you need to fork their repo first. Then, if your github profile were userjanedoe, you would need to first push your local updates to your forked repo like so:

git push https://github.com/deepgenerativemodels/notes.git master

And then you could go and submit the pull request through the GitHub website.