How to use Tensorflow ONNX model in C# ML .NET for object detection

This is part 2 in the tutorial series on how to train a Tensorflow 2.x object detection model and use it in C# ML.NET. I advise you to read part 1 first if you haven’t already. 1. Introduction I created a Visual Studio 2022 .NET 6.0 solution which contains all of the example code to… Continue reading How to use Tensorflow ONNX model in C# ML .NET for object detection

How to fix TensorFlow library was compiled to use SSE4.1 instructions, but these aren’t available on your machine. Aborted

Do you get the following error while trying to use TensorFlow on a Linux virtual machine? This might be caused by your CPU that is unsupported. If you are running TensorFlow in a virtual machine, then check how your virtual CPU is configured (what type). Do this by typing the following in your Linux terminal:… Continue reading How to fix TensorFlow library was compiled to use SSE4.1 instructions, but these aren’t available on your machine. Aborted

Train a Tensorflow 2.7 object detection model on Ubuntu 20.04 and convert it to ONNX

Welcome to this tutorial. Here you will learn how to train a Tensorflow 2.x model for object localization and detection, how to convert this trained model to ONNX format and how then to use it in C# ML.NET to do detections on images. 1. Hardware requirements For this tutorial we will use a clean Ubuntu… Continue reading Train a Tensorflow 2.7 object detection model on Ubuntu 20.04 and convert it to ONNX