From Web To AI

The Fast Way

Valentin Montagnoli

Objective

Improve our algorithm by using Computer Vision

Dream Answer

We need to recruit a Data Scientist

Reality

We are a Startup, We don't have money

Option 1

Stop project and go back to work in a big company ad vitam æternam

Option 2
We create a complex algorithm in less than 6 months

Valentin Montagnoli

Co-Founder @ Datafalk | Software Craftsman | 42 alumni

Let's learn Computer Vision

Find the best book of Computer Vision
Start Deep work each days

Became an expert in Computer Vision

Reason

Learn in deep Computer Vision is not my objective

I want to produce fast for a specific use case

I love build Website

I create more than 100 websites

The website is just an interface

We can simplify it to

AI <=> API <=> Web

How to build my API ?

How to build my AI ?

Deep learning book

Practical Design Process Methodology

Step 1

Determine your goals

Step 2

Establish a working end-to-end pipeline ASAP

Step 3

Determine Bottlenecks

Step 4

Make Incremental Changes

Step 5

Determine Bottlenecks

Step 6

Make Incremental Changes

Step 7

Determine Bottlenecks

Step 8

Make Incremental Changes

Step 9

Determine Bottlenecks

How to find my goals ?

huggingface.co/models

How to find the best algorithms ?

-> Use Internet

  • paperswithcode.com
  • huggingface.co/papers
  • arxiv.org
  • github.com
  • chatGPT

-> Speak with expert

  • Meetup
  • Linkedin
  • Twitter
  • Stack Overflow
  • Email

How to implement the algorithm ?

Use case 1

You find directly your need

Use case 2

You need to fine tune

Use case 3

You need to update the algorithm

How to save an update ?
          
              // create a patch file
              git diff > patchfile.patch
              
              // apply the patch
              git apply --whitespace=fix patchfile.patch
            
          
Use case 4

You need to code algorithm based on paper

Use case 5

Algorithm doesn't exist: Split your goal

How to code an algorithms based on research paper ?

If students have found an algorithm, you can recode it

How to recode an algorithm ?

Step 1

Understand the paper

Step 2

Find the used library / models

Step 3

Find and understand the pseudo code or math formula

Step 4

What is the input and output ?

Step 5

Recode it

Step 6

Don't hesitate to ask for help

How to process the complete pipeline ?

Conclusion

  • Don't be afraid to start
  • Don't be afraid to fail
  • Don't be afraid to ask for help
  • Don't be afraid to learn
  • Keep it simple, stupid
  • Have fun

Valentin Montagnoli

Co-Founder @ Datafalk | Software Craftsman | 42 alumni