SlideShare a Scribd company logo
Segmentation and
Classification of Embryo
Videos using Deep
Learning
Stanko Kuveljić
Linkedin: https://www.linkedin.com/in/stanko-kuveljic/
Facebook: https://www.facebook.com/stanko.kuveljic
Email: stankokuveljic@gmail.com
SmartCat mail: stanko@smartcat.io
BattleNet: stankokuveljic@gmail.com
Quest Chain
● Problem and Motivation
● Deep Learning
● Full end-to-end Deep Learning Architecture
● Image Segmentation
○ Side Quest: U-Net
● Image Embeddings
○ Side Quests: Autoencoders
● Video Classification
○ Side Quest: LSTM
● Level Up: Results
● Summary and Future Work
Problem And Motivation
● In Vitro Fertilisation
● Multiple Embryo Transfer
○ Multiple Children
○ Health Issues
● Solution: Single Embryo Transfer
● The best Embryo
● Could AI help doctors to choose embryo?
Deep Learning
Full End2End Architecture
● Deep Learning end2end solution
● Combines Video and Metadata information
● Steps:
1. Transforms Video into Frames
2. Detect and Crop Embryo in each frame
3. Deep Feature Extraction
4. Recurrent Neural Network
5. Combines RNN state and Metadata
6. Final Fully Connected layer → Score
● Output:
1. Liveborn
2. Miscarriage
3. No Implant
Embryo Crop and Preprocessing
● Embryo Segmentation/Crop
● Center + Resize
● Normalization
OpenCV
● Brightness Correction
● Adaptive Threshold
● Eroding/Dilating
● ROI selection
Side Quest: U-Net
U-Net Training
● Input:
○ Random Crops (256x256)
○ Data Augmentation (Rotate, Translate, Flip, Brightness)
● Output:
○ Embryo Mask → Cropped Embryo
● Network:
○ Convolution/Deconvolution Filter size: 3x3
○ Activation: ReLU
○ Batch Normalization
○ Dropout
○ L2
Image Embeddings
● Unsupervised Feature Extraction
● Input: Image (Frame)
● Output: Feature Vector
● Autoencoders:
○ Variational Autoencoder
○ Stacked Denoising Autoencoder
● Generative Adversarial Networks
Side Quest: Variational Autoencoder
Side Quest: Stacked Denoising Autoencoder
Image Embeddings
Original
Original
SDAE
VAE
VAE needs more
training
Image Embeddings
Video Classification
● Input: Encoded Sequence of Frames
● Outputs:
○ State Vector
○ Probability - [Liveborn, Miscarriage, No implant]
○ Probability - [Implant, No Implant]
● Variable sequence length
○ Downsampling
○ Last N Frames
Long Short Term Memory (RNN)
● Layers ~ 2-3
● Units ~ 512-1024
● Dropout ~ 0.6
● Augmented
● TS: 64 - 512
● Fine Tuning
Level Up: Results
● Train/Test split: 90% / 10%
● SDAE + 3xLSTM(512) + Softmax
● Training:
○ SDAE - 2 days on GPU
○ LSTM - 12h on GPU
○ SDAE + LSTM + Fine Tuning - 5 days on GPU
● Liveborn vs Miscarriage vs No Implant
○ Accuracy: 0.68
● Implant vs No Implant
○ Accuracy: 0.8
● Shortcomings:
○ Not enough data
○ Need more diverse embryos (most of them are good looking)
Future Works
● Collect more data (embryo videos)
● Different LSTM approaches
● 3D CNN
● Different Feature Extraction Techniques
BONUS:
● Merge data sources into single model:
○ Patient data
○ Embryo data
○ Embryo time lapse video
Quest: Get [H|F]ired at
Do you wanna build an AI?
Quest Objective:
● Report to our Warchief
We are hiring:
● DATA SCIENTIST
● DATA ENGINEERS
SPIRITS BE WITH YA
Ad

More Related Content

Similar to Embryo selection using AI (20)

Deep Neural Networks for Multimodal Learning
Deep Neural Networks for Multimodal LearningDeep Neural Networks for Multimodal Learning
Deep Neural Networks for Multimodal Learning
Marc Bolaños Solà
 
Learning visual representation without human label
Learning visual representation without human labelLearning visual representation without human label
Learning visual representation without human label
Kai-Wen Zhao
 
Custom-Made Games with Machine Learning and Big Data
Custom-Made Games with Machine Learning and Big DataCustom-Made Games with Machine Learning and Big Data
Custom-Made Games with Machine Learning and Big Data
Africa Perianez
 
American sign language recognizer
American sign language recognizerAmerican sign language recognizer
American sign language recognizer
Garrett Broughton, Architect/Engineer
 
MIT's experience on OpenPOWER/POWER 9 platform
MIT's experience on OpenPOWER/POWER 9 platformMIT's experience on OpenPOWER/POWER 9 platform
MIT's experience on OpenPOWER/POWER 9 platform
Ganesan Narayanasamy
 
Scalawox deeplearning
Scalawox deeplearningScalawox deeplearning
Scalawox deeplearning
scalawox
 
INTELLIGENT HELMET DETECTION USING OPENCV AND MACHINE LEARNING
INTELLIGENT HELMET DETECTION USING OPENCV AND MACHINE LEARNINGINTELLIGENT HELMET DETECTION USING OPENCV AND MACHINE LEARNING
INTELLIGENT HELMET DETECTION USING OPENCV AND MACHINE LEARNING
IRJET Journal
 
Deep Learning Architectures for Video - Xavier Giro - UPC Barcelona 2019
Deep Learning Architectures for Video - Xavier Giro - UPC Barcelona 2019Deep Learning Architectures for Video - Xavier Giro - UPC Barcelona 2019
Deep Learning Architectures for Video - Xavier Giro - UPC Barcelona 2019
Universitat Politècnica de Catalunya
 
Andrii Boichuk: Video-based action recognition - past, present and future
Andrii Boichuk: Video-based action recognition - past, present and futureAndrii Boichuk: Video-based action recognition - past, present and future
Andrii Boichuk: Video-based action recognition - past, present and future
Lviv Startup Club
 
Vdsg /Craftworks Industrial-AI
Vdsg /Craftworks Industrial-AIVdsg /Craftworks Industrial-AI
Vdsg /Craftworks Industrial-AI
Vienna Data Science Group
 
Finding the best solution for Image Processing
Finding the best solution for Image ProcessingFinding the best solution for Image Processing
Finding the best solution for Image Processing
Tech Triveni
 
Machine Learning approaches at video compression
Machine Learning approaches at video compression Machine Learning approaches at video compression
Machine Learning approaches at video compression
Roberto Iacoviello
 
DALL-E.pdf
DALL-E.pdfDALL-E.pdf
DALL-E.pdf
dsfajkh
 
Salt Identification Challenge
Salt Identification ChallengeSalt Identification Challenge
Salt Identification Challenge
kenluck2001
 
Video Captioning at TRECVID 2022
Video Captioning at TRECVID 2022Video Captioning at TRECVID 2022
Video Captioning at TRECVID 2022
George Awad
 
VIBE: Video Inference for Human Body Pose and Shape Estimation
VIBE: Video Inference for Human Body Pose and Shape EstimationVIBE: Video Inference for Human Body Pose and Shape Estimation
VIBE: Video Inference for Human Body Pose and Shape Estimation
Arithmer Inc.
 
Skin Lesion Detection from Dermoscopic Images using Convolutional Neural Netw...
Skin Lesion Detection from Dermoscopic Images using Convolutional Neural Netw...Skin Lesion Detection from Dermoscopic Images using Convolutional Neural Netw...
Skin Lesion Detection from Dermoscopic Images using Convolutional Neural Netw...
Universitat Politècnica de Catalunya
 
VacPresentation
VacPresentationVacPresentation
VacPresentation
Lindokuhle Biyase
 
Autom editor video blooper recognition and localization for automatic monolo...
Autom editor  video blooper recognition and localization for automatic monolo...Autom editor  video blooper recognition and localization for automatic monolo...
Autom editor video blooper recognition and localization for automatic monolo...
Carlos Toxtli
 
The Bleeding Edge
The Bleeding EdgeThe Bleeding Edge
The Bleeding Edge
jClarity
 
Deep Neural Networks for Multimodal Learning
Deep Neural Networks for Multimodal LearningDeep Neural Networks for Multimodal Learning
Deep Neural Networks for Multimodal Learning
Marc Bolaños Solà
 
Learning visual representation without human label
Learning visual representation without human labelLearning visual representation without human label
Learning visual representation without human label
Kai-Wen Zhao
 
Custom-Made Games with Machine Learning and Big Data
Custom-Made Games with Machine Learning and Big DataCustom-Made Games with Machine Learning and Big Data
Custom-Made Games with Machine Learning and Big Data
Africa Perianez
 
MIT's experience on OpenPOWER/POWER 9 platform
MIT's experience on OpenPOWER/POWER 9 platformMIT's experience on OpenPOWER/POWER 9 platform
MIT's experience on OpenPOWER/POWER 9 platform
Ganesan Narayanasamy
 
Scalawox deeplearning
Scalawox deeplearningScalawox deeplearning
Scalawox deeplearning
scalawox
 
INTELLIGENT HELMET DETECTION USING OPENCV AND MACHINE LEARNING
INTELLIGENT HELMET DETECTION USING OPENCV AND MACHINE LEARNINGINTELLIGENT HELMET DETECTION USING OPENCV AND MACHINE LEARNING
INTELLIGENT HELMET DETECTION USING OPENCV AND MACHINE LEARNING
IRJET Journal
 
Deep Learning Architectures for Video - Xavier Giro - UPC Barcelona 2019
Deep Learning Architectures for Video - Xavier Giro - UPC Barcelona 2019Deep Learning Architectures for Video - Xavier Giro - UPC Barcelona 2019
Deep Learning Architectures for Video - Xavier Giro - UPC Barcelona 2019
Universitat Politècnica de Catalunya
 
Andrii Boichuk: Video-based action recognition - past, present and future
Andrii Boichuk: Video-based action recognition - past, present and futureAndrii Boichuk: Video-based action recognition - past, present and future
Andrii Boichuk: Video-based action recognition - past, present and future
Lviv Startup Club
 
Finding the best solution for Image Processing
Finding the best solution for Image ProcessingFinding the best solution for Image Processing
Finding the best solution for Image Processing
Tech Triveni
 
Machine Learning approaches at video compression
Machine Learning approaches at video compression Machine Learning approaches at video compression
Machine Learning approaches at video compression
Roberto Iacoviello
 
DALL-E.pdf
DALL-E.pdfDALL-E.pdf
DALL-E.pdf
dsfajkh
 
Salt Identification Challenge
Salt Identification ChallengeSalt Identification Challenge
Salt Identification Challenge
kenluck2001
 
Video Captioning at TRECVID 2022
Video Captioning at TRECVID 2022Video Captioning at TRECVID 2022
Video Captioning at TRECVID 2022
George Awad
 
VIBE: Video Inference for Human Body Pose and Shape Estimation
VIBE: Video Inference for Human Body Pose and Shape EstimationVIBE: Video Inference for Human Body Pose and Shape Estimation
VIBE: Video Inference for Human Body Pose and Shape Estimation
Arithmer Inc.
 
Skin Lesion Detection from Dermoscopic Images using Convolutional Neural Netw...
Skin Lesion Detection from Dermoscopic Images using Convolutional Neural Netw...Skin Lesion Detection from Dermoscopic Images using Convolutional Neural Netw...
Skin Lesion Detection from Dermoscopic Images using Convolutional Neural Netw...
Universitat Politècnica de Catalunya
 
Autom editor video blooper recognition and localization for automatic monolo...
Autom editor  video blooper recognition and localization for automatic monolo...Autom editor  video blooper recognition and localization for automatic monolo...
Autom editor video blooper recognition and localization for automatic monolo...
Carlos Toxtli
 
The Bleeding Edge
The Bleeding EdgeThe Bleeding Edge
The Bleeding Edge
jClarity
 

More from SmartCat (7)

Navigation in 3 d environment with reinforcement learning by Predrag Njegovan...
Navigation in 3 d environment with reinforcement learning by Predrag Njegovan...Navigation in 3 d environment with reinforcement learning by Predrag Njegovan...
Navigation in 3 d environment with reinforcement learning by Predrag Njegovan...
SmartCat
 
Resilient event deduplication in Kafka by Vladimir Vajda
Resilient event deduplication in Kafka by Vladimir VajdaResilient event deduplication in Kafka by Vladimir Vajda
Resilient event deduplication in Kafka by Vladimir Vajda
SmartCat
 
Journey through the ML model deployment to production @DSC5
Journey through the ML model deployment to production @DSC5Journey through the ML model deployment to production @DSC5
Journey through the ML model deployment to production @DSC5
SmartCat
 
Journey through the ML model deployment to production by Stanko Kuveljic
Journey through the ML model deployment to production by Stanko KuveljicJourney through the ML model deployment to production by Stanko Kuveljic
Journey through the ML model deployment to production by Stanko Kuveljic
SmartCat
 
Ai pitfalls through so you don't have to
Ai pitfalls through so you don't have toAi pitfalls through so you don't have to
Ai pitfalls through so you don't have to
SmartCat
 
HVAC optimisation using RL
HVAC optimisation using RLHVAC optimisation using RL
HVAC optimisation using RL
SmartCat
 
Elasticsearch - under the hood
Elasticsearch - under the hoodElasticsearch - under the hood
Elasticsearch - under the hood
SmartCat
 
Navigation in 3 d environment with reinforcement learning by Predrag Njegovan...
Navigation in 3 d environment with reinforcement learning by Predrag Njegovan...Navigation in 3 d environment with reinforcement learning by Predrag Njegovan...
Navigation in 3 d environment with reinforcement learning by Predrag Njegovan...
SmartCat
 
Resilient event deduplication in Kafka by Vladimir Vajda
Resilient event deduplication in Kafka by Vladimir VajdaResilient event deduplication in Kafka by Vladimir Vajda
Resilient event deduplication in Kafka by Vladimir Vajda
SmartCat
 
Journey through the ML model deployment to production @DSC5
Journey through the ML model deployment to production @DSC5Journey through the ML model deployment to production @DSC5
Journey through the ML model deployment to production @DSC5
SmartCat
 
Journey through the ML model deployment to production by Stanko Kuveljic
Journey through the ML model deployment to production by Stanko KuveljicJourney through the ML model deployment to production by Stanko Kuveljic
Journey through the ML model deployment to production by Stanko Kuveljic
SmartCat
 
Ai pitfalls through so you don't have to
Ai pitfalls through so you don't have toAi pitfalls through so you don't have to
Ai pitfalls through so you don't have to
SmartCat
 
HVAC optimisation using RL
HVAC optimisation using RLHVAC optimisation using RL
HVAC optimisation using RL
SmartCat
 
Elasticsearch - under the hood
Elasticsearch - under the hoodElasticsearch - under the hood
Elasticsearch - under the hood
SmartCat
 
Ad

Recently uploaded (20)

Secure_File_Storage_Hybrid_Cryptography.pptx..
Secure_File_Storage_Hybrid_Cryptography.pptx..Secure_File_Storage_Hybrid_Cryptography.pptx..
Secure_File_Storage_Hybrid_Cryptography.pptx..
yuvarajreddy2002
 
FPET_Implementation_2_MA to 360 Engage Direct.pptx
FPET_Implementation_2_MA to 360 Engage Direct.pptxFPET_Implementation_2_MA to 360 Engage Direct.pptx
FPET_Implementation_2_MA to 360 Engage Direct.pptx
ssuser4ef83d
 
1. Briefing Session_SEED with Hon. Governor Assam - 27.10.pdf
1. Briefing Session_SEED with Hon. Governor Assam - 27.10.pdf1. Briefing Session_SEED with Hon. Governor Assam - 27.10.pdf
1. Briefing Session_SEED with Hon. Governor Assam - 27.10.pdf
Simran112433
 
AI Competitor Analysis: How to Monitor and Outperform Your Competitors
AI Competitor Analysis: How to Monitor and Outperform Your CompetitorsAI Competitor Analysis: How to Monitor and Outperform Your Competitors
AI Competitor Analysis: How to Monitor and Outperform Your Competitors
Contify
 
GenAI for Quant Analytics: survey-analytics.ai
GenAI for Quant Analytics: survey-analytics.aiGenAI for Quant Analytics: survey-analytics.ai
GenAI for Quant Analytics: survey-analytics.ai
Inspirient
 
183409-christina-rossetti.pdfdsfsdasggsag
183409-christina-rossetti.pdfdsfsdasggsag183409-christina-rossetti.pdfdsfsdasggsag
183409-christina-rossetti.pdfdsfsdasggsag
fardin123rahman07
 
Classification_in_Machinee_Learning.pptx
Classification_in_Machinee_Learning.pptxClassification_in_Machinee_Learning.pptx
Classification_in_Machinee_Learning.pptx
wencyjorda88
 
Safety Innovation in Mt. Vernon A Westchester County Model for New Rochelle a...
Safety Innovation in Mt. Vernon A Westchester County Model for New Rochelle a...Safety Innovation in Mt. Vernon A Westchester County Model for New Rochelle a...
Safety Innovation in Mt. Vernon A Westchester County Model for New Rochelle a...
James Francis Paradigm Asset Management
 
Conic Sectionfaggavahabaayhahahahahs.pptx
Conic Sectionfaggavahabaayhahahahahs.pptxConic Sectionfaggavahabaayhahahahahs.pptx
Conic Sectionfaggavahabaayhahahahahs.pptx
taiwanesechetan
 
04302025_CCC TUG_DataVista: The Design Story
04302025_CCC TUG_DataVista: The Design Story04302025_CCC TUG_DataVista: The Design Story
04302025_CCC TUG_DataVista: The Design Story
ccctableauusergroup
 
EDU533 DEMO.pptxccccvbnjjkoo jhgggggbbbb
EDU533 DEMO.pptxccccvbnjjkoo jhgggggbbbbEDU533 DEMO.pptxccccvbnjjkoo jhgggggbbbb
EDU533 DEMO.pptxccccvbnjjkoo jhgggggbbbb
JessaMaeEvangelista2
 
VKS-Python-FIe Handling text CSV Binary.pptx
VKS-Python-FIe Handling text CSV Binary.pptxVKS-Python-FIe Handling text CSV Binary.pptx
VKS-Python-FIe Handling text CSV Binary.pptx
Vinod Srivastava
 
Just-In-Timeasdfffffffghhhhhhhhhhj Systems.ppt
Just-In-Timeasdfffffffghhhhhhhhhhj Systems.pptJust-In-Timeasdfffffffghhhhhhhhhhj Systems.ppt
Just-In-Timeasdfffffffghhhhhhhhhhj Systems.ppt
ssuser5f8f49
 
Data Science Courses in India iim skills
Data Science Courses in India iim skillsData Science Courses in India iim skills
Data Science Courses in India iim skills
dharnathakur29
 
Ch3MCT24.pptx measure of central tendency
Ch3MCT24.pptx measure of central tendencyCh3MCT24.pptx measure of central tendency
Ch3MCT24.pptx measure of central tendency
ayeleasefa2
 
Day 1 - Lab 1 Reconnaissance Scanning with NMAP, Vulnerability Assessment wit...
Day 1 - Lab 1 Reconnaissance Scanning with NMAP, Vulnerability Assessment wit...Day 1 - Lab 1 Reconnaissance Scanning with NMAP, Vulnerability Assessment wit...
Day 1 - Lab 1 Reconnaissance Scanning with NMAP, Vulnerability Assessment wit...
Abodahab
 
Developing Security Orchestration, Automation, and Response Applications
Developing Security Orchestration, Automation, and Response ApplicationsDeveloping Security Orchestration, Automation, and Response Applications
Developing Security Orchestration, Automation, and Response Applications
VICTOR MAESTRE RAMIREZ
 
computer organization and assembly language.docx
computer organization and assembly language.docxcomputer organization and assembly language.docx
computer organization and assembly language.docx
alisoftwareengineer1
 
md-presentHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHation.pptx
md-presentHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHation.pptxmd-presentHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHation.pptx
md-presentHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHation.pptx
fatimalazaar2004
 
Thingyan is now a global treasure! See how people around the world are search...
Thingyan is now a global treasure! See how people around the world are search...Thingyan is now a global treasure! See how people around the world are search...
Thingyan is now a global treasure! See how people around the world are search...
Pixellion
 
Secure_File_Storage_Hybrid_Cryptography.pptx..
Secure_File_Storage_Hybrid_Cryptography.pptx..Secure_File_Storage_Hybrid_Cryptography.pptx..
Secure_File_Storage_Hybrid_Cryptography.pptx..
yuvarajreddy2002
 
FPET_Implementation_2_MA to 360 Engage Direct.pptx
FPET_Implementation_2_MA to 360 Engage Direct.pptxFPET_Implementation_2_MA to 360 Engage Direct.pptx
FPET_Implementation_2_MA to 360 Engage Direct.pptx
ssuser4ef83d
 
1. Briefing Session_SEED with Hon. Governor Assam - 27.10.pdf
1. Briefing Session_SEED with Hon. Governor Assam - 27.10.pdf1. Briefing Session_SEED with Hon. Governor Assam - 27.10.pdf
1. Briefing Session_SEED with Hon. Governor Assam - 27.10.pdf
Simran112433
 
AI Competitor Analysis: How to Monitor and Outperform Your Competitors
AI Competitor Analysis: How to Monitor and Outperform Your CompetitorsAI Competitor Analysis: How to Monitor and Outperform Your Competitors
AI Competitor Analysis: How to Monitor and Outperform Your Competitors
Contify
 
GenAI for Quant Analytics: survey-analytics.ai
GenAI for Quant Analytics: survey-analytics.aiGenAI for Quant Analytics: survey-analytics.ai
GenAI for Quant Analytics: survey-analytics.ai
Inspirient
 
183409-christina-rossetti.pdfdsfsdasggsag
183409-christina-rossetti.pdfdsfsdasggsag183409-christina-rossetti.pdfdsfsdasggsag
183409-christina-rossetti.pdfdsfsdasggsag
fardin123rahman07
 
Classification_in_Machinee_Learning.pptx
Classification_in_Machinee_Learning.pptxClassification_in_Machinee_Learning.pptx
Classification_in_Machinee_Learning.pptx
wencyjorda88
 
Safety Innovation in Mt. Vernon A Westchester County Model for New Rochelle a...
Safety Innovation in Mt. Vernon A Westchester County Model for New Rochelle a...Safety Innovation in Mt. Vernon A Westchester County Model for New Rochelle a...
Safety Innovation in Mt. Vernon A Westchester County Model for New Rochelle a...
James Francis Paradigm Asset Management
 
Conic Sectionfaggavahabaayhahahahahs.pptx
Conic Sectionfaggavahabaayhahahahahs.pptxConic Sectionfaggavahabaayhahahahahs.pptx
Conic Sectionfaggavahabaayhahahahahs.pptx
taiwanesechetan
 
04302025_CCC TUG_DataVista: The Design Story
04302025_CCC TUG_DataVista: The Design Story04302025_CCC TUG_DataVista: The Design Story
04302025_CCC TUG_DataVista: The Design Story
ccctableauusergroup
 
EDU533 DEMO.pptxccccvbnjjkoo jhgggggbbbb
EDU533 DEMO.pptxccccvbnjjkoo jhgggggbbbbEDU533 DEMO.pptxccccvbnjjkoo jhgggggbbbb
EDU533 DEMO.pptxccccvbnjjkoo jhgggggbbbb
JessaMaeEvangelista2
 
VKS-Python-FIe Handling text CSV Binary.pptx
VKS-Python-FIe Handling text CSV Binary.pptxVKS-Python-FIe Handling text CSV Binary.pptx
VKS-Python-FIe Handling text CSV Binary.pptx
Vinod Srivastava
 
Just-In-Timeasdfffffffghhhhhhhhhhj Systems.ppt
Just-In-Timeasdfffffffghhhhhhhhhhj Systems.pptJust-In-Timeasdfffffffghhhhhhhhhhj Systems.ppt
Just-In-Timeasdfffffffghhhhhhhhhhj Systems.ppt
ssuser5f8f49
 
Data Science Courses in India iim skills
Data Science Courses in India iim skillsData Science Courses in India iim skills
Data Science Courses in India iim skills
dharnathakur29
 
Ch3MCT24.pptx measure of central tendency
Ch3MCT24.pptx measure of central tendencyCh3MCT24.pptx measure of central tendency
Ch3MCT24.pptx measure of central tendency
ayeleasefa2
 
Day 1 - Lab 1 Reconnaissance Scanning with NMAP, Vulnerability Assessment wit...
Day 1 - Lab 1 Reconnaissance Scanning with NMAP, Vulnerability Assessment wit...Day 1 - Lab 1 Reconnaissance Scanning with NMAP, Vulnerability Assessment wit...
Day 1 - Lab 1 Reconnaissance Scanning with NMAP, Vulnerability Assessment wit...
Abodahab
 
Developing Security Orchestration, Automation, and Response Applications
Developing Security Orchestration, Automation, and Response ApplicationsDeveloping Security Orchestration, Automation, and Response Applications
Developing Security Orchestration, Automation, and Response Applications
VICTOR MAESTRE RAMIREZ
 
computer organization and assembly language.docx
computer organization and assembly language.docxcomputer organization and assembly language.docx
computer organization and assembly language.docx
alisoftwareengineer1
 
md-presentHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHation.pptx
md-presentHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHation.pptxmd-presentHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHation.pptx
md-presentHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHation.pptx
fatimalazaar2004
 
Thingyan is now a global treasure! See how people around the world are search...
Thingyan is now a global treasure! See how people around the world are search...Thingyan is now a global treasure! See how people around the world are search...
Thingyan is now a global treasure! See how people around the world are search...
Pixellion
 
Ad

Embryo selection using AI

  • 1. Segmentation and Classification of Embryo Videos using Deep Learning
  • 3. Quest Chain ● Problem and Motivation ● Deep Learning ● Full end-to-end Deep Learning Architecture ● Image Segmentation ○ Side Quest: U-Net ● Image Embeddings ○ Side Quests: Autoencoders ● Video Classification ○ Side Quest: LSTM ● Level Up: Results ● Summary and Future Work
  • 4. Problem And Motivation ● In Vitro Fertilisation ● Multiple Embryo Transfer ○ Multiple Children ○ Health Issues ● Solution: Single Embryo Transfer ● The best Embryo ● Could AI help doctors to choose embryo?
  • 6. Full End2End Architecture ● Deep Learning end2end solution ● Combines Video and Metadata information ● Steps: 1. Transforms Video into Frames 2. Detect and Crop Embryo in each frame 3. Deep Feature Extraction 4. Recurrent Neural Network 5. Combines RNN state and Metadata 6. Final Fully Connected layer → Score ● Output: 1. Liveborn 2. Miscarriage 3. No Implant
  • 7. Embryo Crop and Preprocessing ● Embryo Segmentation/Crop ● Center + Resize ● Normalization
  • 8. OpenCV ● Brightness Correction ● Adaptive Threshold ● Eroding/Dilating ● ROI selection
  • 10. U-Net Training ● Input: ○ Random Crops (256x256) ○ Data Augmentation (Rotate, Translate, Flip, Brightness) ● Output: ○ Embryo Mask → Cropped Embryo ● Network: ○ Convolution/Deconvolution Filter size: 3x3 ○ Activation: ReLU ○ Batch Normalization ○ Dropout ○ L2
  • 11. Image Embeddings ● Unsupervised Feature Extraction ● Input: Image (Frame) ● Output: Feature Vector ● Autoencoders: ○ Variational Autoencoder ○ Stacked Denoising Autoencoder ● Generative Adversarial Networks
  • 12. Side Quest: Variational Autoencoder
  • 13. Side Quest: Stacked Denoising Autoencoder
  • 16. Video Classification ● Input: Encoded Sequence of Frames ● Outputs: ○ State Vector ○ Probability - [Liveborn, Miscarriage, No implant] ○ Probability - [Implant, No Implant] ● Variable sequence length ○ Downsampling ○ Last N Frames
  • 17. Long Short Term Memory (RNN) ● Layers ~ 2-3 ● Units ~ 512-1024 ● Dropout ~ 0.6 ● Augmented ● TS: 64 - 512 ● Fine Tuning
  • 18. Level Up: Results ● Train/Test split: 90% / 10% ● SDAE + 3xLSTM(512) + Softmax ● Training: ○ SDAE - 2 days on GPU ○ LSTM - 12h on GPU ○ SDAE + LSTM + Fine Tuning - 5 days on GPU ● Liveborn vs Miscarriage vs No Implant ○ Accuracy: 0.68 ● Implant vs No Implant ○ Accuracy: 0.8 ● Shortcomings: ○ Not enough data ○ Need more diverse embryos (most of them are good looking)
  • 19. Future Works ● Collect more data (embryo videos) ● Different LSTM approaches ● 3D CNN ● Different Feature Extraction Techniques BONUS: ● Merge data sources into single model: ○ Patient data ○ Embryo data ○ Embryo time lapse video
  • 20. Quest: Get [H|F]ired at Do you wanna build an AI? Quest Objective: ● Report to our Warchief We are hiring: ● DATA SCIENTIST ● DATA ENGINEERS