Using an ONNX Resnet model in Java

Hello everyone! 👋 This is a follow-up post to the previous one, long story short I started taking the course from fast.ai to learn more about Deep Learning. I’ve built a simple Image Tagging model using the Resnet architecture (don’t worry about the paper I did not read it, GitHub Copilot suggested it while writing this blog post). FastAI is a high-level Python library that allows you to train complex ML models really fast and efficiently. After training my model, I’ve exported it into the ONNX format and in this post we’re using the model in a Java application. ...

July 4, 2023 · 8 min · Denis Nutiu

Image tagging with Deep Learning

Hello everyone 👋, I’ve been playing with FastAI and deep learning for a week or so and I’ve decided to combine my passion for software with my passion for photography. I’m working on an app or maybe a library that allows you to generate tags for a photo. For an amateur photographer like me it’s quite useful as I don’t always have inspiration to write tags for my photos and sometimes the tags I write are inconsistent. ...

July 2, 2023 · 3 min · Denis Nutiu

Deploy a FastAI model with FastAPI

Hello everyone 👋, In this quick post I’ll show you how to deploy a FastAI model using FastAPI. It’s a follow-up to my previous post from here and it is partially based on this FastAI lecture: Exporting the Model Before we create the API, we need to export the model as a pickle file. ...

June 21, 2023 · 3 min · Denis Nutiu

FastAI GPU Support

Hello everyone 👋, This is my first blog post about AI, it’s a quick post on how to enable GPU support for the FastAI library. I have avoided getting into AI for some time now, I thought that it would involve lots of complicated math, and I was not sure that it would be worth the effort, I did not get very good grates in my college math classes 😅. ...

June 20, 2023 · 3 min · Denis Nutiu

How to make RØDE audio interface work on Linux

Hi 👋, I have recently updated the firmware of my RODE audio interface from 1.12.x to 1.13, and the device was no longer working properly on Linux, it had trouble with the microphone. I found out that it was an audio sampling issue. 1 2 3 4 5 6 7 dmesg -kH [feb21 16:20] usb 1-9.3: 1:1: cannot set freq 44100 to ep 0x82 [ +0,005008] usb 1-9.3: 1:1: cannot set freq 44100 to ep 0x82 [ +0,005019] usb 1-9.3: 1:1: cannot set freq 44100 to ep 0x82 [ +0,004971] usb 1-9.3: 1:1: cannot set freq 44100 to ep 0x82 [ +0,015019] usb 1-9.3: 1:1: cannot set freq 44100 to ep 0x82 To fix it, I did the following: ...

February 21, 2022 · 2 min · Denis Nuțiu