Shadows Generation in the Wild
Taras Lehinevych
Rails Reactor
Who am I ML Engineer @ Rails Reactor
ML Engineer @ nice try bro :) (censored)
Disclaimer!
All the provided information based on open
publication and datasets
Agenda
- Motivation
- Generative Adversarial Networks
- Cycle GAN
- MaskShadowGAN
- U-GAT-IT
- Summary
What’s wrong with shadows?
What do we want?
Datasets
SBU Dataset (link) - this new dataset contains 4,727 images (4,089 train images
and 638 test images) with pixel based ground truth.
ISTD Dataset (link) - it contains 1870 triplets of shadow, shadow mask and
shadow-free image under 135 different scenarios.
Generative Adversarial Networks
https://medium.com/datadriveninvestor/generative-adversarial-network-gan-using-keras-ce1c05cfdfd3
GAN objective
Generative Adversarial Networks
Conditional GAN
Image-to-Image Translation with Conditional Adversarial Networks
Conditional GAN
Image-to-Image Translation with Conditional Adversarial Networks
z|yx|y
Shadow Detection
Fast Shadow Detection from a Single Image Using a Patched Convolutional Neural Network (2018)
Fast Shadow Detection from a Single Image Using a Patched Convolutional Neural Network (2018)
Shadow detected
What next?
Approach #2 - Shadow Detection & Removing
Stacked Conditional Generative Adversarial Networks for Jointly Learning Shadow Detection and Shadow Removal (2017)
Taras Lehinevych "Shadows Generation in the Wild"
Shadow Detection & Removing
Approach #3 - Shadow Generation/Augmentation
Cycle GAN - Datasets
https://hardikbansal.github.io/CycleGANBlog/
Cycle GAN
Unpaired Image-to-Image Translation using Cycle-
Consistent Adversarial Networks (2017)
https://hardikbansal.github.io/CycleGANBlog/
Cycle GAN
Cycle GAN
Identity Loss
Cycle GAN
Mask-Shadow GAN
Mask-ShadowGAN: Learning to Remove Shadows from Unpaired Data
Mask-ShadowGAN
Mask-ShadowGAN
What to improve?
Mask-ShadowGAN: Learning to Remove Shadows from Unpaired Data
U-GAT-IT
U-GAT-IT: Unsupervised Generative Attentional Networks with Adaptive Layer-Instance Normalization for Image-to-Image Translation
U-GAT-
IT
U-GAT-IT
Summary
Thanks for your time and attention!
Questions?

More Related Content

PPTX
Deep Learning A-Z™: Recurrent Neural Networks (RNN) - Module 3
PPTX
Deep Learning A-Z™: Self Organizing Maps (SOM) - How Do SOMs Work?
PPTX
Deep Learning A-Z™: Recurrent Neural Networks (RNN) - LSTMs
PPTX
Deep Learning A-Z™: Self Organizing Maps (SOM) - How do SOMs learn (part 2)
PPTX
Deep Learning A-Z™: Boltzmann Machines - Boltzmann Machine
PDF
NIPS - Deep learning @ Edge using Intel's NCS
PDF
Introduction To Machine Learning and Neural Networks
PDF
Computational decision making
Deep Learning A-Z™: Recurrent Neural Networks (RNN) - Module 3
Deep Learning A-Z™: Self Organizing Maps (SOM) - How Do SOMs Work?
Deep Learning A-Z™: Recurrent Neural Networks (RNN) - LSTMs
Deep Learning A-Z™: Self Organizing Maps (SOM) - How do SOMs learn (part 2)
Deep Learning A-Z™: Boltzmann Machines - Boltzmann Machine
NIPS - Deep learning @ Edge using Intel's NCS
Introduction To Machine Learning and Neural Networks
Computational decision making

What's hot (16)

PPTX
Anomaly Detection using Deep Auto-Encoders | Gianmario Spacagna
PPTX
Nimrod cloud
PPTX
Deep Learning A-Z™: Self Organizing Maps (SOM) - Module 4
PDF
AP Calculus AB March 17, 2009
PDF
Zühlke Meetup - Mai 2017
PDF
Single layer perceptron in python
PDF
Elasticluster
PDF
Threat Detection in Surveillance Videos
PDF
AIA Hsinchu Orange3
PDF
[AI07] Revolutionizing Image Processing with Cognitive Toolkit
PPTX
Deep Learning A-Z™: Artificial Neural Networks (ANN) - Module 1
PPTX
Deep Learning A-Z™: AutoEncoders - Module 6
PDF
Image Classification Done Simply using Keras and TensorFlow
PDF
Role of Machine Learning in High Energy physics research at LHC
PPTX
AI at Scale for Materials and Chemistry
PDF
Why FPGA
Anomaly Detection using Deep Auto-Encoders | Gianmario Spacagna
Nimrod cloud
Deep Learning A-Z™: Self Organizing Maps (SOM) - Module 4
AP Calculus AB March 17, 2009
Zühlke Meetup - Mai 2017
Single layer perceptron in python
Elasticluster
Threat Detection in Surveillance Videos
AIA Hsinchu Orange3
[AI07] Revolutionizing Image Processing with Cognitive Toolkit
Deep Learning A-Z™: Artificial Neural Networks (ANN) - Module 1
Deep Learning A-Z™: AutoEncoders - Module 6
Image Classification Done Simply using Keras and TensorFlow
Role of Machine Learning in High Energy physics research at LHC
AI at Scale for Materials and Chemistry
Why FPGA
Ad

More from Fwdays (20)

PDF
"Mastering UI Complexity: State Machines and Reactive Patterns at Grammarly",...
PDF
"Effect, Fiber & Schema: tactical and technical characteristics of Effect.ts"...
PPTX
"Computer Use Agents: From SFT to Classic RL", Maksym Shamrai
PPTX
"Як ми переписали Сільпо на Angular", Євген Русаков
PDF
"AI Transformation: Directions and Challenges", Pavlo Shaternik
PDF
"Validation and Observability of AI Agents", Oleksandr Denisyuk
PPTX
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
PDF
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
PPTX
"Co-Authoring with a Machine: What I Learned from Writing a Book on Generativ...
PPTX
"Human-AI Collaboration Models for Better Decisions, Faster Workflows, and Cr...
PDF
"AI is already here. What will happen to your team (and your role) tomorrow?"...
PPTX
"Is it worth investing in AI in 2025?", Alexander Sharko
PDF
''Taming Explosive Growth: Building Resilience in a Hyper-Scaled Financial Pl...
PDF
"Scaling in space and time with Temporal", Andriy Lupa.pdf
PDF
"Database isolation: how we deal with hundreds of direct connections to the d...
PDF
"Scaling in space and time with Temporal", Andriy Lupa .pdf
PPTX
"Provisioning via DOT-Chain: from catering to drone marketplaces", Volodymyr ...
PPTX
" Observability with Elasticsearch: Best Practices for High-Load Platform", A...
PPTX
"How to survive Black Friday: preparing e-commerce for a peak season", Yurii ...
PPTX
"Istio Ambient Mesh in production: our way from Sidecar to Sidecar-less",Hlib...
"Mastering UI Complexity: State Machines and Reactive Patterns at Grammarly",...
"Effect, Fiber & Schema: tactical and technical characteristics of Effect.ts"...
"Computer Use Agents: From SFT to Classic RL", Maksym Shamrai
"Як ми переписали Сільпо на Angular", Євген Русаков
"AI Transformation: Directions and Challenges", Pavlo Shaternik
"Validation and Observability of AI Agents", Oleksandr Denisyuk
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
"Co-Authoring with a Machine: What I Learned from Writing a Book on Generativ...
"Human-AI Collaboration Models for Better Decisions, Faster Workflows, and Cr...
"AI is already here. What will happen to your team (and your role) tomorrow?"...
"Is it worth investing in AI in 2025?", Alexander Sharko
''Taming Explosive Growth: Building Resilience in a Hyper-Scaled Financial Pl...
"Scaling in space and time with Temporal", Andriy Lupa.pdf
"Database isolation: how we deal with hundreds of direct connections to the d...
"Scaling in space and time with Temporal", Andriy Lupa .pdf
"Provisioning via DOT-Chain: from catering to drone marketplaces", Volodymyr ...
" Observability with Elasticsearch: Best Practices for High-Load Platform", A...
"How to survive Black Friday: preparing e-commerce for a peak season", Yurii ...
"Istio Ambient Mesh in production: our way from Sidecar to Sidecar-less",Hlib...
Ad

Recently uploaded (20)

PDF
Transform-Your-Factory-with-AI-Driven-Quality-Engineering.pdf
PDF
Transform-Your-Streaming-Platform-with-AI-Driven-Quality-Engineering.pdf
PDF
IT-ITes Industry bjjbnkmkhkhknbmhkhmjhjkhj
PDF
Improvisation in detection of pomegranate leaf disease using transfer learni...
PPTX
Module 1 Introduction to Web Programming .pptx
PDF
Electrocardiogram sequences data analytics and classification using unsupervi...
PDF
Enhancing plagiarism detection using data pre-processing and machine learning...
PDF
SaaS reusability assessment using machine learning techniques
PPTX
Microsoft User Copilot Training Slide Deck
PPTX
AI-driven Assurance Across Your End-to-end Network With ThousandEyes
PDF
AI.gov: A Trojan Horse in the Age of Artificial Intelligence
PDF
INTERSPEECH 2025 「Recent Advances and Future Directions in Voice Conversion」
PDF
Auditboard EB SOX Playbook 2023 edition.
PDF
Accessing-Finance-in-Jordan-MENA 2024 2025.pdf
PDF
A symptom-driven medical diagnosis support model based on machine learning te...
PDF
5-Ways-AI-is-Revolutionizing-Telecom-Quality-Engineering.pdf
PDF
Comparative analysis of machine learning models for fake news detection in so...
PDF
The-2025-Engineering-Revolution-AI-Quality-and-DevOps-Convergence.pdf
PDF
The-Future-of-Automotive-Quality-is-Here-AI-Driven-Engineering.pdf
PPTX
Internet of Everything -Basic concepts details
Transform-Your-Factory-with-AI-Driven-Quality-Engineering.pdf
Transform-Your-Streaming-Platform-with-AI-Driven-Quality-Engineering.pdf
IT-ITes Industry bjjbnkmkhkhknbmhkhmjhjkhj
Improvisation in detection of pomegranate leaf disease using transfer learni...
Module 1 Introduction to Web Programming .pptx
Electrocardiogram sequences data analytics and classification using unsupervi...
Enhancing plagiarism detection using data pre-processing and machine learning...
SaaS reusability assessment using machine learning techniques
Microsoft User Copilot Training Slide Deck
AI-driven Assurance Across Your End-to-end Network With ThousandEyes
AI.gov: A Trojan Horse in the Age of Artificial Intelligence
INTERSPEECH 2025 「Recent Advances and Future Directions in Voice Conversion」
Auditboard EB SOX Playbook 2023 edition.
Accessing-Finance-in-Jordan-MENA 2024 2025.pdf
A symptom-driven medical diagnosis support model based on machine learning te...
5-Ways-AI-is-Revolutionizing-Telecom-Quality-Engineering.pdf
Comparative analysis of machine learning models for fake news detection in so...
The-2025-Engineering-Revolution-AI-Quality-and-DevOps-Convergence.pdf
The-Future-of-Automotive-Quality-is-Here-AI-Driven-Engineering.pdf
Internet of Everything -Basic concepts details

Taras Lehinevych "Shadows Generation in the Wild"