Deep Learning

Applying deep learning with supervised contrastive learning to detect diseases on cassava leaves.

Image for post
Image for post
Photo by malmanxx on Unsplash

Supervised Contrastive Learning (Prannay Khosla et al.) is a training methodology that outperforms supervised training with cross-entropy on classification tasks.
The idea is that training models using Supervised Contrastive Learning (SCL) can make the model encoder learn better class representation from the samples, this should lead to better generalization and robustness to image and label corruption.

In short, this is how SCL works:

Clusters of points belonging to the same class are pulled together…

Machine Learning, Programming

Using the Tensorflow data module to build a complex image augmentation pipeline.

Image for post
Image for post

If you want to train your models with Tensorflow in the most efficient way you probably should use TFRecords and the Tensorflow data module to build your pipelines, but depending on the requirements and constraints of your applications, using them might be necessary not and an option, the good news is that Tensorflow has made both of them pretty clean and easy to use.

One of the options I mentioned that could improve your…

Leveraging Tensorflow and TPUs to build a flower classification system.

Image for post
Image for post
Photo by Annie Spratt on Unsplash

A while ago (early 2020), Kaggle added TPUs as a hardware option to be used on its kernel environment, shortly after, they launched the competition “Flower Classification with TPUs” and challenged the community to use a large dataset of images and extract the most of this powerful hardware.

The objective of this article is to provide basic knowledge about the integration between Tensorflow and TPUs so that you can build a good image classifier baseline that can take advantage of the TPU processing power.

So, what are TPUs?

TPU is short for “Tensor processing unit”, TPUs are powerful hardware accelerators specialized in deep learning…

Using deep learning to identify melanomas from skin images and patient meta-data

Image for post
Image for post

Kaggle, SIIM, and ISIC hosted the SIIM-ISIC Melanoma Classification competition on May 27, 2020, the goal was to use image data from skin lesions and the patients meta-data to predict if the skin image had a melanoma or not, here is a small introduction to the task from the hosts:

Skin cancer is the most prevalent type of cancer. Melanoma, specifically, is responsible for 75% of skin cancer deaths, despite being the least common skin cancer. The American Cancer Society estimates over 100,000 new melanoma cases will be…

Dimitre Oliveira

Data Scientist | Google Developer Expert on Machine Learning

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store