Ri

Richard – A CNN written in C++ and Vulkan (no ML or math libs)

Hacker News

Richard – A CNN written in C++ and Vulkan (no ML or math libs)

This started out as a personal effort to learn more about machine learning. It's currently a CLI app where you give it a JSON file specifying your network architecture and hyperparameters and point it to your training data, then invoke it again in 'eval' mode with some data it's not seen before and it will try to classify each sample. I don't see many other people using Vulkan for GPGPU, and there may be many good reasons for that, but I wanted to try something a bit different. I've made every attempt to make the code very clean and readable and I've written up the math in documentation/math.pdf, so hopefully this is a useful learning resource for anyone interested in how neural nets work under the hood. I'll be continuing to add new features over the coming months.

Share card

Actual performance

184points
24comments
Made the leaderboard

Launch Intel predictions

Analyze your own launch →
Product HuntOn track for Day 1 leaderboard · Strong signals: mac, new, using · Missing: agents, macos, agent
69%69% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
best fitHighest predicted score across all platforms for this description.
Hacker NewsStrong engagement from HN community · Strong signals: io · Missing: https docs, excited, just released
60%60% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
TrustMRRFits verified-revenue profile · Strong signals: personal, month, para · Missing: mobile apps, ios, entrepreneurs
53%53% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
Indie HackersIH features products with proven revenue · Strong signals: started, para · Missing: supports, reddit linkedin, podcasting
50%50% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
AppSumoMay struggle as an AppSumo deal · Missing: plus, platform, intuitive
27%27% predicted probability of success on AppSumo, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Strong signals: training · Missing: arr, mrr, revenue
22%22% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
0%0% predicted probability of success on BetaList, based on ML models trained on real launch data.

Correct prediction on native model

Similar products

Ex
Expreduce, a language for math written in Go64%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Expreduce, a language for math written in Go

Hacker News3
Mu
Mulle-container: Sets, hashtables, arrays and more – written in C46%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Mulle-container: Sets, hashtables, arrays and more – written in C

Hacker News5
Mu
Mulle_sprintf, an extensible sprintf written in C60%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Mulle_sprintf, an extensible sprintf written in C

Hacker News2
Qu
QuickNote (qnote) written in GoLang48%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

QuickNote (qnote) written in GoLang

Hacker News2
Wi
Wireworld written in Nim64%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Wireworld written in Nim

Hacker News115
Tl
Tldr written in golang50%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Tldr written in golang

Hacker News5
Rm
Rmux, a Redis multiplexer written in Go67%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Rmux, a Redis multiplexer written in Go

Hacker News2
Ri
Rift – An Intel 8051/52 assembler written in Java45%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Rift – An Intel 8051/52 assembler written in Java

Hacker News4
A
A Tmux Keylogger Written in Bash74%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

A Tmux Keylogger Written in Bash

Hacker News4
A
A pipelined RISC-V processor written in VHDL67%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

A pipelined RISC-V processor written in VHDL

Hacker News65