Coder Social home page Coder Social logo

arthurdouillard / deepcourse Goto Github PK

View Code? Open in Web Editor NEW
132.0 132.0 18.0 67.61 MB

Learn the Deep Learning for Computer Vision in three steps: theory from base to SotA, code in PyTorch, and space-repetition with Anki

Home Page: https://arthurdouillard.com/deepcourse/

License: Apache License 2.0

CSS 0.46% JavaScript 1.96% HTML 1.09% Python 0.71% Shell 0.01% Makefile 0.01% Jupyter Notebook 95.76%
anki computer-vision course deep-learning pytorch research

deepcourse's Introduction

Bonjour ! I'm arthur, a French coder / researcher / teacher / foodie.

  1. Most of the code I did during my PhD is available publicly on this github account.

  2. I do research in Continual Learning at DeepMind, where I aim to train large neural networks on continually growing amount of tasks. You can see my work on my Google Scholar page. Don't hesitate to contact me to chat about that.

  3. I'm the author of a free course on Deep Learning for Computer Vision --> Deepcourse You'll learn from the basics (backprop) to the latest research done in a wide variety of domains. Each topic has lessons, coding exercices (with hidden solutions), and Anki flashcards.

  4. I'm french, of course I'm a foodie.

deepcourse's People

Contributors

arthurdouillard avatar navivokaj avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

deepcourse's Issues

Error When Running Automatic Differentiation with Autograd

When running the last two code blocks in the Autograd notebook I received the following error:

---------------------------------------------------------------------------

RuntimeError                              Traceback (most recent call last)

[<ipython-input-46-50b2a169b280>](https://localhost:8080/#) in <cell line: 25>()
     23 
     24 plt.subplot(1, 2, 1)
---> 25 plt.plot(epochs, losses)
     26 plt.xlabel("Epoch")
     27 plt.ylabel("Loss")

7 frames

[/usr/local/lib/python3.10/dist-packages/torch/_tensor.py](https://localhost:8080/#) in __array__(self, dtype)
    968             return handle_torch_function(Tensor.__array__, (self,), self, dtype=dtype)
    969         if dtype is None:
--> 970             return self.tensor.detach().numpy()
    971         else:
    972             return self.tensor.detach().numpy().astype(dtype, copy=False)

RuntimeError: Can't call numpy() on Tensor that requires grad. Use tensor.detach().numpy() instead.

I was able to fix it by changing the line:

losses.append(loss)

to

losses.append(loss.detach())

TP MLP htilde

Code solution backward pass for mlp, swtich grad_h by grad_htilde

Transformer colab

  • uniformize C and D
  • add patch embed after class token in answer to Vit
  • typo in solution openning to multi-head
  • forgot square root in self-attention

Coding auto-diff

Pro:

  • really understand better backprop
  • interesting parts especially with convolutions & pooling

Con:

  • maybe a bit long

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.