What happened
An engineer developed a method for classifying binary data using a CNN, starting with individual bit positions.
The process involved exporting defined bit positions to JSON format using MaskRomTool, then generating square bitmaps centered on each bit position, saving them as PNG files with filenames including the logical column and row number.
Why it matters
The goal was to train a convolutional neural network to identify these bits as either 0 or 1. The engineer successfully created a dataset of 105MB worth of PNG files – each containing either a bit or a not-bit – which was then used to train the CNN. This represents an innovative and resource-efficient approach to data classification, particularly useful in scenarios where traditional methods might be overly complex or expensive.
But, but, but…
While the primary method was leveraging automated image generation with Python, the engineer also created a manual 'Bit Voter' tool using Python and Tkinter for rapid bit classification.
This involved classifying bits by eye, creating a quick and dirty tool that could quickly sort bits by eye into buckets as either 0s or 1s. This was to support distributed work with consensus if the CNN training didn’t work out. The classification tool is shown here as a '1' bit.
“‘We just have to sort images into two buckets, 0s or 1s.’”
— Dr Non
The counter-take
The reliance on manual classification serves as a reminder that even with powerful AI models, human judgment remains essential for validating and interpreting results.
The AI angle
This project showcases the potential of AI to automate repetitive tasks, even those involving visual inspection and data labeling. The success of this DIY solution highlights the accessibility of machine learning tools and techniques.
