Solving a segmentation problem for the AI&ML exam at University of Verona. Group formed by a colleague of mine and me. You can find the dataset and the github repo.

Technical report

Here you can find a technical report with all the details, tests, results and conclusions of the project. Take a look at it!


The dataset is composed by 366 images and the corresponding masks. For the images we have essentially three problems: the images have different sizes, the dataset is quite small and finally there are a lot of different light conditions, contrast and content. You can find some examples below:

Test the model trained previously on a aws ec2 instance. More details here


curl -w '\n' -F image=@helmet.jpg http://ip:8080/predict -w "\n %{time_connect}:%{time_starttransfer}:%{time_total} \n"
It works, not so pretty to visualize. Let’s see the response

Speed up aws sam build with container image

For all the details, take a look at this feature request

I never used the Yolo network so I test it on NFL dataset

Result of the helmets detection

Useful material

Github page and the official docs


In the following section I will post the most important parts of the notebook, some considerations and the results.

How to custom train the network

The most important thing when using the Yolov5 (for training the custom…

I was reading Practical Deep Learning for Cloud, Mobile, and Edge and I wanted to try a simple reverse image search on Caltech 256 with Tensorflow on Kaggle.


The idea is to take a pre-trained model (ResNet50) and eliminate the fully connected layer. Indeed, the last layer now become a…

This is the some results from my advanced databases & information system exam.


It contains tweets and users information from 29/1/2020 to 7/03/2020. The total size is 6,1 GB.

Using Kaggle dataset to gain experience with LSTM and text processing.

Here, you’ll find Stack Overflow quality ranking based on a model that takes multi-input (title, body and tags of the question) and process it with LSTM using Keras.

Here I will put the most relevant parts of the code…

Today you will see how the convolutional layers of a CNN transform an image. Moreover, you’ll see that as we go higher on the stacked conv layer the activations become more and more abstracts.

For doing this, I created a CNN from scratch trained on ‘cats_vs_dogs’ dataset taken from TensorFlow…

Before starting, here the final result

Correctly, the first file is uploaded. The second return an error because there is a file with the same name


I assume you are familiar with Laravel (in this case version 5.x) and you have already a laravel webapp installed with dropzone js imported in your upload page (follow the installation guide from the link)

Moreover, you’ll find the code as images only for…


Master’s degree in Computer Engineering for Robotics and Smart Industry — Smart Systems & Data Analytics

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