I trained an AI Model to Detect Trading Candlesticks (from scratch using ViTs) @NicholasRenotte
I trained an AI Model to Detect Trading Candlesticks (from scratch using ViTs)  @NicholasRenotte
Uploaded July 2025 | Updated September 2026, 1 hour ago
So this one’s been a while in the making. Honestly I’ve been pretty keen to truly get my head around vision transformers and figured this project could be the one. It took a month and a half to get it to this point and ton of banging my head against the keyboard to finally get it working (I’m looking at you ColorJitter 😒).

I want to keep this one going as a live project so i’ll be monitoring any issues you guys have a bit more closely. If you get stuck let me know and I’ll make as many updates as I can. Anyway, hope you enjoy it guys!

Code: github.com/nicknochnack/ViTCandlesticks

👨‍💻 Sign up for the Full Stack course and use YOUTUBE50 to get 50% off:
coursesfromnick.com/bundles/fullstackml

Stuff I found useful:
Albumentations: albumentations.ai/docs
CutMix/Mixup: docs.pytorch.org/vision/main/auto_examples/transforms/plot_cutmix_mixup.html
Lucid Rains ViT for PyTorch: github.com/lucidrains/vit-pytorch/tree/main/vit_pytorch

Oh, and don't forget to connect with me!
LinkedIn: bit.ly/324Epgo
Facebook: bit.ly/3mB1sZD
GitHub: bit.ly/3mDJllD
Patreon: bit.ly/2OCn3UW
Join the Discussion on Discord: bit.ly/3dQiZsV

Happy coding!
Nick
I trained an AI Model to Detect Trading Candlesticks (from scratch using ViTs)Master ML Papers without Losing Your Sh*tTensorflow Multi-Person Pose Estimation with Python // Machine Learning TutorialTons of Machine Learning FEATURE data? Try this!Build a Python Facial Recognition App with Tensorflow and KivyBuilding AI LLM Apps with LangChain (and more?) - LIVE STREAMpip list but better? #shortsHow to Install OpenCV for Python // OpenCV for BeginnersPython for Data Science  - Importing Functions, Packages, Making API CallsLangChain Crash Course: Build a AutoGPT app in 25 minutes!So...what is DALLE-2 exactly?Can we use ML to understand Data Scientists? | AI4Code Kaggle Competition EDA
Nicholas Renotte |

I trained an AI Model to Detect Trading Candlesticks (from scratch using ViTs)

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER