A.I, Data and Software Engineering


front-end development

Save, restore, visualise Graph with TensorFlow v2.0 & KERAS

Petamind A.I

TensorFlow 2.0 is coming really soon. Therefore, we quickly show some useful features, i.e., save and load a pre-trained model, with v.2 syntax. To make it more intuitive, we will also visualise the graph of the neural network model. Benefits of saving a model Quick answer: to save time, easy-share, and fast deploy. A SavedModel contains a complete TensorFlow program, including weights and...

Smooth nature snake – game re-dev with Kotlin (part 2)

This is the second part of creating a smooth nature snake game. You can read the first part here. In this part, we will cover the challenges in simulating the snake’s movement pattern. How snakes move Snakes move in zigzag patterns as demonstrated in the following figure. Smooth nature snake movement patterns We can see that the whole body of the snake forms a shape that is similar to the...

Smooth nature snake game – re-dev with Kotlin (part 1)

When my students proposed a snake game for their projects, I thought it is kind of boring. They are all the same old ideas. Nevertheless, how you want it to be do matter as the game mechanics and animations can be much varied. snake game Why I redev the snake game? Did I try to reinvent the wheel – Not quite! What I include in this post addresses several challenges to simulate a fully...

AI in agriculture: fruit grading (Part 1)

Petamind A.I

During a meet up last month, a friend told me about the current project on a farm in New Zealand. They want to build a system to grade their fruits and AI is the technology they are looking for. It inspired me to write about how machine learning can help in solving such a problem. Fig 1: Apple grading The grading task Given an apple, we need to sort it to correct category in three available...

A.I, Data and Software Engineering

PetaMinds focuses on developing the coolest topics in data science, A.I, and programming, and make them so digestible for everyone to learn and create amazing applications in a short time.

Pin It on Pinterest