Skip to content
Computer vision and Deep learning in SRU
Branch: master
Clone or download
Latest commit d3bd775 Mar 29, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
30-FaceRecognition_verification new file: 30-FaceRecognition_verification/30-FaceRecognition.ipynb May 28, 2018
30-face-tensorflow/face_project new file: 30-face-tensorflow/face_project/FaceToolKit.py Jun 12, 2018
32-detect new file: 30-FaceRecognition_verification/30-FaceRecognition.ipynb May 28, 2018
49-image_captioning Create README.md Nov 27, 2018
50-machine-translation-with-attention new file: 50-machine-translation-with-attention/Neural-machine-trans… Dec 15, 2018
51-Trigger-word-detection new file: 50-machine-translation-with-attention/Neural-machine-trans… Dec 15, 2018
52-music-generation-with-LSTM new file: 52-music-generation-with-LSTM/data_utils.py Dec 20, 2018
Assets Update Readme Mar 2, 2019
Haarcascades new file: 30-FaceRecognition_verification/30-FaceRecognition.ipynb May 28, 2018
dataset new file: dataset/Data_hoda_full.mat Mar 5, 2018
excel new file: excel/collab_filter.xlsx from "https://github.com/fastai/f… Feb 26, 2019
images new file: 52-music-generation-with-LSTM/data_utils.py Dec 20, 2018
lecture_images new file: 48-seq2seq-text-generation-on-shahnameh-tensorflow.ipynb Nov 23, 2018
.gitignore SRU:Places Recognizer Project Jun 20, 2018
0-Beginning.ipynb Minor fixes + adding aznb badge Mar 30, 2018
01-Reading, writing and displaying images.ipynb
02-Grayscaling.ipynb Minor fixes + adding aznb badge Mar 30, 2018
03-Color Spaces.ipynb
03-extra.ipynb Minor fixes + adding aznb badge Mar 30, 2018
04-Drawing Images.ipynb Minor fixes + adding aznb badge Mar 30, 2018
05-Translations.ipynb Minor fixes + adding aznb badge Mar 30, 2018
06-Rotations.ipynb Minor fixes + adding aznb badge Mar 30, 2018
07-Scaling, re-sizing and interpolations.ipynb Minor fixes + adding aznb badge Mar 30, 2018
08-Image Pyramids.ipynb Minor fixes + adding aznb badge Mar 30, 2018
09-Cropping.ipynb Minor fixes + adding aznb badge Mar 30, 2018
10-Arithmetic Operations.ipynb
11-Bitwise Operations and Masking.ipynb Minor fixes + adding aznb badge Mar 30, 2018
12-Convolutions and Blurring.ipynb Minor fixes + adding aznb badge Mar 30, 2018
13-Sharpening.ipynb Minor fixes + adding aznb badge Mar 30, 2018
14-Thresholding, Binarization & Adaptive Thresholding.ipynb Minor fixes + adding aznb badge Mar 30, 2018
15-Dilation, Erosion, Opening and Closing.ipynb Minor fixes + adding aznb badge Mar 30, 2018
16-EdgeDetection&ImageGradients.ipynb Minor fixes + adding aznb badge Mar 30, 2018
17-Perspective&AffineTransforms.ipynb
18-UsingWebcam.ipynb Minor fixes + adding aznb badge Mar 30, 2018
19-Intro2ML-HodaDataset.ipynb Minor fixes + adding aznb badge Mar 30, 2018
20-k-Nearest Neighbor classification.ipynb notebook 20 fixed Mar 30, 2018
21-a Gentle Introduction to Keras - Simple neural network(mlp).ipynb Minor fixes + adding aznb badge Mar 30, 2018
22-Dropout.ipynb new file: 22-Dropout.ipynb Apr 20, 2018
23-ConvolutionalNeuralNetwork-Hoda-Keras.ipynb modified: 23-ConvolutionalNeuralNetwork-Hoda-Keras.ipynb Apr 27, 2018
24-CNN-cat_Vs_dog.ipynb modified: 24-CNN-cat_Vs_dog.ipynb Apr 27, 2018
25-data_augmentation.ipynb new file: 25-data_augmentation.ipynb May 18, 2018
26-Load_trained_model_in_keras.ipynb new file: 25-data_augmentation.ipynb May 18, 2018
27-using-a-pretrained-convnet.ipynb new file: 25-data_augmentation.ipynb May 18, 2018
28-Transfer_learning_feature_extraction.ipynb new file: 25-data_augmentation.ipynb May 18, 2018
29-Transfer_learning_Fine_tuning.ipynb new file: 25-data_augmentation.ipynb May 18, 2018
31-Face&EyeDetection.ipynb new file: 30-FaceRecognition_verification/30-FaceRecognition.ipynb May 28, 2018
33-keras-multi-label-part1.ipynb new file: 33-keras-multi-label-part1.ipynb Oct 6, 2018
34-keras-multi-label-part2-load-and-test.ipynb
35-intro-to-tensorflow.ipynb
36-mnist-dataset-in-tensorflow.ipynb new file: 36-mnist-dataset-in-tensorflow.ipynb Nov 2, 2018
37-FullyConnectedNetwork-mnist-tensorflow.ipynb new file: 36-mnist-dataset-in-tensorflow.ipynb Nov 2, 2018
38-CNN-mnist-tensorflow.ipynb new file: 36-mnist-dataset-in-tensorflow.ipynb Nov 2, 2018
39-Intro-FastAi.ipynb new file: 36-mnist-dataset-in-tensorflow.ipynb Nov 2, 2018
40-breeds.ipynb new file: 36-mnist-dataset-in-tensorflow.ipynb Nov 2, 2018
41-planet-multi-label-part3.ipynb new file: 36-mnist-dataset-in-tensorflow.ipynb Nov 2, 2018
42-text-generation-with-lstm.ipynb new file: 42-text-generation-with-lstm.ipynb Nov 7, 2018
43-basic_text_classification.ipynb new file: 43-basic_text_classification.ipynb Nov 10, 2018
44-using-word-embeddings.ipynb
45-analogy-using-embeddings.ipynb new file: 45-analogy-using-embeddings.ipynb Nov 17, 2018
46-debiasing-word-vectors.ipynb new file: 45-analogy-using-embeddings.ipynb Nov 17, 2018
47-text-classification-Emojify.ipynb new file: 47-text-classification-Emojify.ipynb Nov 18, 2018
48-text-generation-on-shahnameh-tensorflow.ipynb renamed: 48-seq2seq-text-generation-on-shahnameh-tensorflow.ipynb ->… Nov 23, 2018
53-RecommendationSystem.ipynb new file: 52-music-generation-with-LSTM/data_utils.py Dec 20, 2018
54-neural-style-transfer.ipynb new file: 52-music-generation-with-LSTM/data_utils.py Dec 20, 2018
55-simple-GAN.ipynb new file: 55-simple-GAN.ipynb Dec 21, 2018
56-DCGAN.ipynb new file: 56-DCGAN.ipynb Dec 21, 2018
57-gan-pix2pix_tensorflow_eager.ipynb modified: 57-gan-pix2pix_tensorflow_eager.ipynb Dec 23, 2018
LICENSE Initial commit Jan 28, 2018
README.md Update Readme Mar 23, 2019
dataset.py new file: 22-Dropout.ipynb Apr 20, 2018
planet.py new file: 36-mnist-dataset-in-tensorflow.ipynb Nov 2, 2018

README.md

Vision Class

Vision Class • SRU university BlogAparatTelegram

Introduction to Machine learning and Deep learning for Computer vision, A course from Shahid Rajaie University (SRU) of Tehran, Held in winter and fall of 2018.

Course starts with an Introduction to Computer Vision with practical approach using opencv on python, then, continues with an Introduction to Learning Algorithms and Neural Networks. after that, Deep Neural Networks published after 2012 are studied and are implemented using python and Tensorflow, Keras, and FastAI Machine learning and deep learning frameworks.

Sessions

Tables consisting content of each semester in Persian can be found here: Winter 2018Fall 2018

Computer Vision

S1 - Course Introduction

🎯 Topics

Computer vision overview Course logistics

💡 Slides

Introduction PDF

📒 NoteBooks

  1. Beginning
S2 - Opencv basics in python

🎯 Topics

Reading Images Color Spaces Displaying Images Saving Images

📒 NoteBooks

  1. Reading, writing and displaying images
  2. Grayscaling
  3. Color Spaces 3-2. Extra

📝 Student notes

S3 - Image manipulation (part 1)

🎯 Topics

Linear algebra Transform matrices Interpolation Methods

💡 Slides

Image manipulations (1) PDFPPT

S4 - Image manipulation functions in OpenCV

🎯 Topics

Draw geometric shapes Transform matrices Translations Rotation Resizing Image pyramids Cropping

📒 NoteBooks

  1. Drawing Images
  2. Translations
  3. Rotations
  4. Scaling, resizing and interpolations
  5. Image Pyramids
  6. Cropping

📝 Student notes

🎞 Videos

Aparat

S5 - Image manipulation (part 2)

🎯 Topics

Logical and Mathematical Operations in OpenCV Image masking in OpenCV Convolution and Correlation filters Moving Average Sharpening Filters in OpenCV

💡 Slides

Image manipulations (2) PDFPPT

📒 NoteBooks

  1. Arithmetic Operations
  2. Bitwise Operations and Masking
  3. Convolutions and Blurring
  4. Sharpening

📝 Student notes

🎞 Videos

Aparat

S6 - Binary Images, Thresholds, and Morphology Operation

🎯 Topics

Images Types Binary images, and Thresholds Thresholds in OpenCV Morphology (Dilation, Erosion, Opening, and Closing) Morphology in OpenCV

💡 Slides

Binary Images and Morphology PDFPPT

📒 NoteBooks

  1. Thresholding, Binarization & Adaptive Thresholding
  2. Dilation, Erosion, Opening and Closing

📝 Student notes

🎞 Videos

Aparat

S7 - Edge Detection

🎯 Topics

Images Derivative, and Gradient Canny, and Sobel Edge Detections Edge Detection in OpenCv Perspective Transformation in OpenCv Affine Transforms Using Webcam in OpenCv

💡 Slides

Edge Detection PDFPPT

📒 NoteBooks

  1. Edge Detection & Image Gradients
  2. Perspective & Affine Transforms
  3. Using Webcam

📝 Student notes

🎞 Videos

Aparat

Machine Learning

S8 - Introduction to Machine Learning

🎯 Topics

What is ML Supervised Learning Unsupervised Learning Reinforcement Learning ML projects Steps Train-Test Split Model evaluation

💡 Slides

Introduction to Machine Learning PDFPPT

📝 Student notes

S9 - Classifications, KNN, SciKit-learn Introduction to Neural Network (1)

🎯 Topics

Perceptron Weights and Biases in Perceptron Activation Function Input Feature Array Multilayer Perceptron (MLP) Layers in MLP (input, hidden, and output)

💡 Slides

Simple Classifier (KNN) PDFPPT

Introduction to Neural Networks PDFPPT

📒 NoteBooks

  1. Introduction to ML, and using Hoda Dataset
  2. K Nearest Neighbor classification

📝 Student notes

🎞 Videos

Aparat

S10 - Introduction to Neural Networks (2)

🎯 Topics

Loss Function (Coss Function) Gradient Descent, and Back Propagation Model Visualization

🎞 Videos

Aparat

🔗 links

Model Visualization and observing changes in number of each layer using Tensorflow Playground

S11 - Introduction to Implementing Recurrent Neural Networks using Keras

🎯 Topics

Recurrent, fully connected Networks in Keras Declaring Model Architecture Choosing Loss function, and Optimizer Model Evaluation on Test Set Predicting using Model

📒 NoteBooks

  1. A Gentle Introduction to Keras – Simple neural network(MLP)

📝 Student notes

🎞 Videos

Aparat

Deep Learning

S12 - Introduction to Deep Neural Networks

🎯 Topics

Classification Tasks in Real-Life Invariant Object Recognition KNN, pros and cons Over-fitting Dropout Convolutional Neural Networks (CNN) CNNs vs. Classic methods ImageNet

💡 Slides

Introduction to Deep Learning & Convolutional Neural Networks PDFPPT

📒 NoteBooks

  1. Dropout

📝 Student notes

🎞 Videos

Aparat

S13 - Introduction to Convolutional Neural Networks

🎯 Topics

Kernels: Convolutional Filters Learning kernels vs. Designing Fitlers Same and Valid Convolutions Paddings and strides Image Size before and after conv. 3D convolutions Multi-filter convolutions Convolutional Layers Parameters Pooling Layers LeNet

💡 Slides

Convolutional Neural Networks PDFPPT

🎞 Videos

Aparat

S14 - Implementing Persian Handwritten Numbers Recognition using Keras

🎯 Topics

CNN Layers CNN pros and cons CNNs in Keras Conv2D and MaxPooling2D functions Flatten Method Models Summery

📒 NoteBooks

  1. Convolutional Neural Network: Hoda + Keras

🎞 Videos

Aparat

S15 - Cat vs. Dog Binary Classification

🎯 Topics

Train-Test-Validation Split Data Generators in Keras Sigmoid and Softmax Step per Epoch Over-fitting

📒 NoteBooks

  1. CNN cat vs. dog

📝 Student notes

🎞 Videos

Aparat

S16 - Review on Image Classification Architectures • Case Studies

🎯 Topics

Brain Architecture AlexNet VGGNet GoogLeNet ResNet

💡 Slides

Case Studies PDFPPT

📝 Student notes

🎞 Videos

Aparat

📖 Reading Materials

AlexNet

VGGNet

GoogLeNet

ResNet

S17 - Data Augmentation

🎯 Topics

Preventing Over-fitting Data Augmentation in Keras

💡 Slides

Data Augmentation & Transfer Learning PDFPPT

📒 NoteBooks

  1. Data Augmentation
S18 - Transfer Learning (1)

🎯 Topics

Loading Pre-trained Models Transfer Learning in Keras

💡 Slides

Data Augmentation & Transfer Learning PDFPPT

📒 NoteBooks

  1. Loading Trained Model in Keras
  2. Transfer LEarning - Feature Extraction

📝 Student notes

S19 - Transfer Learning (2)

🎯 Topics

Implementing classification in keras conv. layers as Feature extraction Fine-tuning

📒 NoteBooks

  1. Using a pretrained convnet
  2. Transfer learning feature extraction
  3. Transfer learning Fine tuning
S20 - Face Verification & Identification (1)

🎯 Topics

One-shot Learning Siamese Networks Triplet Loss

💡 Slides

Face PDFPPT

S21 - Face Verification & Identification (2)

🎯 Topics

Center Loss A-softmax Loss

📒 NoteBooks

  1. Face Recognition

📖 Reading Materials

A Discriminative Feature Learning Approach for Deep Face Recognition PDF SphereFace: Deep Hypersphere Embedding for Face Recognition PDF

S22 - Face Detection

🎯 Topics

Face Detection HAAR Cascade Wider Challenge MTCNN Face Detection Project Instructions

📒 NoteBooks

  1. Face & Eye Detection
  2. MTCNN Detection Sample Code

📖 Reading Materials

Joint Face Detection and Alignment using Multi-task Cascaded Convolutional Networks (MTCNN) PDF

🔗 links

Wider Face Challenge

S23 - Batch-Norm, Learning-Rate Decay, and Multi-Label Classification

🎯 Topics

Batch-Norm Learning-Rate Decay Multi-Label Classification in Keras

💡 Slides

Batch-Norm, Learning-Rate Decay, and Multi-Label Classification PDFPPT

📒 NoteBooks

  1. Keras Multi Label (part 1)

📝 Student notes

🎞 Videos

Aparat

S24 - A Gentle Introduction to Tensorflow (1)

Multi-Label Classification (Continued) Tensorflow Low-level API Graphs, Constant Tensors, and Sessions in Tensorflow

💡 Slides

A Gentle Introduction to Tensorflow PDFPPT

📒 NoteBooks

  1. Keras Multi Label (part 2)

🎞 Videos

Aparat

S25 - A Gentle Introduction to Tensorflow (2)

🎯 Topics

Placeholders and Variables Feeding and Fetching Graphs

💡 Slides

Batch-Norm, Learning-Rate Decay, and Multi-Label Classification PDFPPT

📒 NoteBooks

  1. Intro to Tensorflow

🎞 Videos

Aparat

S26 - Implementing Dense and CNN networks for MNIST Dataset using Tensorflow

🎯 Topics

MNIST Dataset Fully-connected Layers CNN Layers

📒 NoteBooks

  1. MNIST Dataset in Tensorflow
  2. Fully Connected Network MNIST Tensorflow
  3. CNN MNIST Tensorflow

🎞 Videos

Aparat

S27 - An even more Gentle Introduction to FastAI (1)

🎯 Topics

Finding Efficient Learning Rate Stochastic Gradient Descent with Restarts

💡 Slides

An even more Gentle Introduction to FastAI (1) PDFPPT

📒 NoteBooks

  1. Intro FastAi

🎞 Videos

Aparat

S28 - An even more Gentle Introduction to FastAI (2)

🎯 Topics

Global Pooling Adaptive Pooling Change Image Size Between Epochs

💡 Slides

An even more Gentle Introduction to FastAI (2) PDFPPT

📒 NoteBooks

  1. Breeds

🎞 Videos

Aparat

S29 - An even more Gentle Introduction to FastAI (3) and An Introduction to Recurrent Neural Networks

🎯 Topics

Multi-Label Classification in FastAI RNNs

💡 Slides

An Introduction to RNNs PDFPPT

📒 NoteBooks

  1. Planet Multi Label (part 3)

🎞 Videos

Aparat

S30 - An Introduction to Recurrent Neural Networks (2)

🎯 Topics

Forward Propagation Back Propagation Language Models LSTM Vanishing Gradient

💡 Slides

Recurrent Neural Networks PDFPPT

📒 NoteBooks

  1. Text Generation with Lstm

🎞 Videos

Aparat

S31 - RNNs, LSTM, and GRU

🎯 Topics

Vanishing Gradient LSTM Bidirectional RNNs GRU Deep RNNs Character Level Language Models in Keras

💡 Slides

RNNs, LSTM, and GRU PDFPPT

📒 NoteBooks

  1. Basic Text Classification

🎞 Videos

Aparat

S32 - Natural Language Processing

🎯 Topics

Word Embedding Analogy

💡 Slides

Recurrent Neural Networks PDFPPT

🎞 Videos

Aparat

S33 - Word2Vec

🎯 Topics

Word2Vec Word Embedding Skip-grams Softmax Classification issues Negative Sampling

💡 Slides

Recurrent Neural Networks PDFPPT

🎞 Videos

Aparat

S34 - GloVe

🎯 Topics

Glove Gender and Race Biases Using Embedding Vectors in Keras

💡 Slides

Recurrent Neural Networks PDFPPT

📒 NoteBooks

  1. Using Word Embeddings

🎞 Videos

Aparat

S35 - Word Analogy and Text Classification in Practice

🎯 Topics

Word Analogy Removing Biases Word Embedding Emoji Dataset

💡 Slides

Recurrent Neural Networks PDFPPT

📒 NoteBooks

  1. Analogy Using Embeddings
  2. Debiasing Word Vectors
  3. Text Classification - Emojify

🎞 Videos

Aparat

S36 - Text Generation

🎯 Topics

RNN Character Level Embedding Eager Execution in Tensorflow

📒 NoteBooks

  1. Text Generation on Shahnameh Tensorflow

🎞 Videos

Aparat

S37 - Image Captioning

🎯 Topics

Image Captioning Keras

📒 NoteBooks

  1. Image Captioning

🎞 Videos

Aparat

📦 Files

Required files for training model

S38 - Sequence to Sequence Models and Machine Translation

🎯 Topics

Seq2Seq Models Machine Translation

💡 Slides

Sequence to Sequence Models PDFPPT

🎞 Videos

Aparat

S39 - Attention

🎯 Topics

NLP Machine Translation Attention Layer Keras

💡 Slides

Attention and Memory PDFPPT

📒 NoteBooks

  1. Machine Translation with Attention
40 - Speech Recognition and Trigger Word Detection

🎯 Topics

Spectrogram Attention CTC Trigger Word Detection RNNs

💡 Slides

Speech Recognition and Trigger Word Detection using RNNs PDFPPT

📒 NoteBooks

  1. [Trigger Word Detection](51-Trigger-word-detection/Trigger word detection - v1.ipynb)

🎞 Videos

Aparat

41 - Music Generation

🎯 Topics

Trigger Word Detection Collaborative Filtering Recommendation systems RNNs

📒 NoteBooks

  1. Music Generation with LSTM

📦 Files

Excel used for Collaborative Filtering

42 - Style Transfer and Book Recommendation System

🎯 Topics

Recommendation Systems GANs

💡 Slides

Neural Style Transfer PDFPPT

📒 NoteBooks

  1. Recommendation System

Practices

quizzes

Guests

Teamworks

You can’t perform that action at this time.