All Projects → 3springs → Viz_torch_optim

3springs / Viz_torch_optim

Videos of deep learning optimizers moving on 3D problem-landscapes

Projects that are alternatives of or similar to Viz torch optim

Aleph star
Reinforcement learning with A* and a deep heuristic
Stars: ✭ 235 (+173.26%)
Mutual labels:  jupyter-notebook, optimization-algorithms
Kaggle Competitions
There are plenty of courses and tutorials that can help you learn machine learning from scratch but here in GitHub, I want to solve some Kaggle competitions as a comprehensive workflow with python packages. After reading, you can use this workflow to solve other real problems and use it as a template.
Stars: ✭ 86 (+0%)
Mutual labels:  jupyter-notebook
Knet.jl
Koç University deep learning framework.
Stars: ✭ 1,260 (+1365.12%)
Mutual labels:  jupyter-notebook
Quantecon Notebooks Julia
Stars: ✭ 85 (-1.16%)
Mutual labels:  jupyter-notebook
100 Plus Python Programming Exercises Extended
100+ python programming exercise problem discussed ,explained and solved in different ways
Stars: ✭ 1,250 (+1353.49%)
Mutual labels:  jupyter-notebook
Network science meets deep learning
Designing Deep neural network architectures using topologies from the world of Complex Networks/network Science
Stars: ✭ 86 (+0%)
Mutual labels:  jupyter-notebook
Differentiable neural computer live
Stars: ✭ 85 (-1.16%)
Mutual labels:  jupyter-notebook
Pyrenko
Stars: ✭ 86 (+0%)
Mutual labels:  jupyter-notebook
Ml Cv
机器学习实战
Stars: ✭ 85 (-1.16%)
Mutual labels:  jupyter-notebook
Breast Cancer Classification
Breast Cancer Classification using CNN and transfer learning
Stars: ✭ 86 (+0%)
Mutual labels:  jupyter-notebook
Introdatasci
Course materials for: Introduction to Data Science and Programming
Stars: ✭ 86 (+0%)
Mutual labels:  jupyter-notebook
Tensorflow Tutorial
Stars: ✭ 85 (-1.16%)
Mutual labels:  jupyter-notebook
Sagemaker Ml Workflow With Apache Airflow
This repository shows a sample example to build, manage and orchestrate Machine Learning workflows using Amazon Sagemaker and Apache Airflow.
Stars: ✭ 86 (+0%)
Mutual labels:  jupyter-notebook
Ganspace
Discovering Interpretable GAN Controls [NeurIPS 2020]
Stars: ✭ 1,224 (+1323.26%)
Mutual labels:  jupyter-notebook
Book Mlearn Gyomu
Book sample (AI Machine-learning Deep-learning)
Stars: ✭ 84 (-2.33%)
Mutual labels:  jupyter-notebook
Aureliengeron
“Hands-On Machine Learning with Scikit-Learn and TensorFlow” Excerpt From: Aurélien Géron. “Hands-On Machine Learning with Scikit-Learn and TensorFlow: Concepts, Tools, and Techniques to Build Intelligent Systems.” iBooks.
Stars: ✭ 85 (-1.16%)
Mutual labels:  jupyter-notebook
Sphinx Book Theme
A lightweight book theme built off of the pydata sphinx theme
Stars: ✭ 86 (+0%)
Mutual labels:  jupyter-notebook
Zh Nlp Demo
自然语言处理NLP在中文文本上的一些应用,如文本分类、情感分析、命名实体识别等
Stars: ✭ 86 (+0%)
Mutual labels:  jupyter-notebook
Quantum programming tutorial
Gamified tutorial for the QISKit quantum SDK
Stars: ✭ 86 (+0%)
Mutual labels:  jupyter-notebook
Python For Data Scientists
Deliverable: This Jupyter notebook will help aspiring data scientists learn and practice the necessary python code needed for many data science projects.
Stars: ✭ 86 (+0%)
Mutual labels:  jupyter-notebook

This project generates animations of pytorch optimizers solving toy problems. Examples Below.

Some nice animations were posted a few years ago by Alex Radford but didn't include the Adam optimizer or landscapes with noise. Louis Tiao blogged about how to make the visualizations. The pytorch unit tests show how to run the optimizers on test functions. I pulled these together and shared the result at https://github.com/wassname/viz_torch_optim.

Examples

Please note that each optimizer has a differen't learning rate, so they are not directly comparable. This is because simpler optimizers perform better on low dimensional problems and are often given a smaller learning rate. With the same learning rate, the simpler SGD optimizer races to the finish while Adam crawls along. In that case SGD is too fast to see and Adam is too boring to watch. For visualisation purposes I used differen't learning rates for each optimizer to make them move at similar speeds in the video.

Beales function

Beales function (cyclic annealing)

Beales function with noise

Six humped camel function

Usage:

  • git clone https://github.com/wassname/viz_torch_optim
  • jupyter notebook
  • open main.ipynb
  • install any missing dependencies with pip
  • Run and wait, because rendering video is quite slow
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].