• Stars
    star
    160
  • Rank 233,373 (Top 5 %)
  • Language
    TypeScript
  • License
    MIT License
  • Created over 6 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Thanks to this project I could combine my knowledge from two areas: machine learning and web development. The whole application is written in React using TypeScript and Redux, but the engine that drives it is TensorFlow.js - a modern library for training and deploying machine learning models.

ILearnMachineLearning.js

Description

Thanks to this project I could combine my knowledge from two areas: machine learning and web development. The whole application is written in React using TypeScript and Redux, but the engine that drives it is TensorFlow.js - a modern library for training and deploying machine learning models. You can find a working app here or play with it on your computer.

# install dependencies
npm install

# serve with hot reload at localhost:3000
npm start

MNIST

MNIST dataset is widely known in the field of machine learning. It contains about 70000 examples of handwritten digits. Photos are black and white, normalized to fit into a 28x28 pixel bounding box and anti-aliased. This iconic dataset was used to train the model in Keras and then turned into a form understandable to TensorFlow.js and used as the heart of the first project. The whole process of creating the model has been described in the Medium article.

YOLO

Originally written in Darknetβ€Š-β€Šopen source neural network frameworkβ€Š -β€Š YOLO performs really well in the tasks of locating and recognizing objects on the pictures. After converting to a form understandable to TensorFlow.js, I used Tiny YOLOv2 model to recognize objects in pictures sent by the user. All predictions are made on the client's side, without the need to send photos to the server.

Build Keras models

If you are interested in neural networks and would like to know how to create models used in this project, I encourage you to test the scripts on your computer.

# clone repository
git clone https://github.com/SkalskiP/ILearnMachineLearning.js.git

# navigate to models directory
cd ILearnMachineLearning.js/models

# install all required packages and dependencies as well as python environment
./setup.sh

# activate python environment
source .env/bin/activate

Related projects

If you're interested in machine learning, check out my other projects and check my profile on Kaggle.

Read more about In-Browser ML

  1. TensorFlow.js Tutorials & Guides
  2. Introducing TensorFlow.js: Machine Learning in Javascript
  3. Neural Network 3D Simulation
  4. YOLO: Real-Time Object Detection
  5. AI Experiments with Google
  6. Gentle guide on how YOLO Object Localization works with Keras
  7. How to implement a YOLO (v3) object detector from scratch in PyTorch: Part 1
  8. You only look once

More Repositories

1

make-sense

Free to use online tool for labelling photos. https://makesense.ai
TypeScript
2,800
star
2

courses

This repository is a curated collection of links to various courses and resources about Artificial Intelligence (AI)
Python
2,771
star
3

ILearnDeepLearning.py

This repository contains small projects related to Neural Networks and Deep Learning in general. Subjects are closely linekd with articles I publish on Medium. I encourage you both to read as well as to check how the code works in the action.
Jupyter Notebook
1,243
star
4

sport

Examples of Computer Vision usage in sports βš½πŸƒ
Jupyter Notebook
225
star
5

sketchy-vision

Each week I create sketches covering key Computer Vision concepts. If you want to learn more about CV stick around!
88
star
6

onemetric

One Metrics Library to Rule Them All!
Python
56
star
7

ILearnMachineLearning.py

This repository contains all my small projects related with Data Science and Machine Learning.
Jupyter Notebook
42
star
8

fashion-assistant

Our idea is to combine the power of computer vision model and LLMs. We use YOLO, CLIP and DINOv2 to extract high-level features from images. We pass the prompt, along with the extracted features, to LLM, allowing for advanced image dataset queries.
Jupyter Notebook
42
star
9

yolov5js

Effortless YOLOv5 javascript deployment
TypeScript
38
star
10

ai-demos

Jupyter Notebook
34
star
11

yolov8-live

A short script showing how to build simple real-time video analytics apps using YOLOv8 and Supervision. Try it out, and most importantly have fun! πŸ€ͺ
Python
30
star
12

yolov8-native-tracking

Python
20
star
13

SkalskiP

13
star
14

fast-as-hell

Jupyter Notebook
10
star
15

Data_Analysis_with_Pandas

Repository contains tasks and exercises that were made during Udemy Pandas course. I decided to do this course to broaden my knowledge of Pandas library, which is one of the most important tools that I use during Data Science and Machine Learning projects.
Jupyter Notebook
9
star
16

MIT_Introduction_to_Computational_Thinking_and_Data_Science

My first repository related to Data Science and Machine Learning. The repository contains the issues discussed during MIT Open Course: 6.0002 - Introduction to Computational Thinking and Data Science.
Python
7
star
17

BOiTZO

Jupyter Notebook
6
star
18

SNAKE_GAME

First game written in Python using PyGame library. Simple Snake game with some points counter, obsticles, power-ups and hero transformation.
Python
6
star
19

InvasionSimulator

Invasion Simulator is an educational application created to test and visualize different methods of position determination, based on RSSI. In our application we simulate case when three antennas located in different places, emirate signal picked by the robot. The robot does not know the position of the antennas or its own. Based on the distribution of signals on the board, the robot must decide whether it is located inside the triangle formed by the antenna. The application allows you to visualize the distribution of signal strength in the form of a heat map as well as separate visualization of individual methods.
Java
6
star
20

TensorFlow_for_Deep_Learning

Jupyter Notebook
5
star
21

Operating_Systems

C
5
star
22

yolo-chess-workshop

Shell
4
star
23

COVID-19

Jupyter Notebook
4
star
24

make-sense-inference

Template https://makesense.ai inference server. Use your pre-trained model to automate annotation process.
Python
4
star
25

awesome-code-interpreter-prompts

3
star
26

yolov5js-zoo

Repository of pre-trained YOLOv5 models in tensorflow.js format
3
star
27

SOA

Java
2
star
28

Stanford_Introduction_to_Convolutional_Neural_Networks

Jupyter Notebook
2
star
29

gradio_image_annotator

A component that allows you to annotate an image with points and boxes.
JavaScript
2
star
30

pySpark_Tutorial

Repository contains tasks and exercises made during Udemy pySpark course that I completed in 2017.
Jupyter Notebook
2
star
31

XOXO

TypeScript
2
star
32

Programming_of_microcontrollers_and_microprocessors

The content of the repository was created as part of the course Programming of microcontrollers and microprocessors at AGH University of Science and Technology.
Assembly
2
star
33

top-cvpr-2024-papers

This repository is a curated collection of the most exciting and influential CVPR 2024 papers. πŸ”₯ [Paper + Code]
Python
2
star
34

vision-language

2
star
35

yolo-chess-dataset

Dataset containing chess board photos along with YOLO labels
Python
1
star
36

JAVA_AGH

Repository contains tasks and projects related to the subject "Object-oriented programming" at AGH.
Java
1
star
37

Programming_Paradigms

The content of the repository was created as part of the course Programming paradigms at AGH University of Science and Technology.
Prolog
1
star
38

coconutils

Python
1
star
39

ILearnComputerVision.py

Jupyter Notebook
1
star
40

Deep_Learning_A-Z

Python
1
star
41

Every_Day_Im_HASKELLing

Haskell
1
star
42

top-cvpr-2023-papers

1
star
43

Google_Hash_Code

The repository contains a script as well as input and output files that were created during Google Hash Code 2018. The script included allowed to gather 41 722 323 points.
Jupyter Notebook
1
star