Skip to content
  • Home
  • About Me
    • Cookie Policy (EU)
  • R Blogs
  • Python Blogs
  • My GitHub
  • NHS-R Community
Hutsons-hacks

Hutsons-hacks

HACKS, TIPS AND TRICKS IN R, Python and beyond…

Category: Python Blogs

Blogs relating to Python

Creating doodles with HED detection and ControlNet

PythonGary Hutson01/10/20230

Want to use your profile image and use this alongside edge detection and stable diffusion to generate an image based off your profile? Then, you are in luck and should read this post.

Continue Reading

Building a PyTorch binary classification multi-layer perceptron from the ground up

PythonGary Hutson10/07/20230

This assumes you know how to programme in Python and know a little about n-dimensional arrays and how to work with them in numpy (don’t worry if you don’t I got you covered). PyTorch is a pythonic way of building Deep Learning neural networks from scratch. This is something I have been learning over the…

Continue Reading
PythonGary Hutson30/06/20230

Graph Data Modeling with Python

I am so excited to announce that I have a new book (in collaboration with Packt) that has just been launched,…
PythonGary Hutson25/05/20230

Fine tune a Dreambooth model for image generation using Stable Diffusion with PyTorch

I recently did a great talk at Leeds Data Science, where I presented how to fine tune a Stable Diffusion model,…
PythonGary Hutson09/03/20231

Using ControlNet models to remodel my living room

This post will use an old image of my house before I bought it, and remodelled the living room, to see…
PythonGary Hutson05/01/20230

Stable Diffusion model for generating images of Fjords

My family had the experience of going to the Norwegian Fjords in May 2022 and I took some great pictures on…
PythonGary Hutson23/12/20222

Stable Diffusion application with Streamlit

This combines my love of Deep Learning and Transformer frameworks, with the ability to generate images from textual prompts. First of…
PythonGary Hutson08/08/20221

Hyperparameter tuning a Transformer with Optuna

Learn how to use Optuna with the transformers large language model library
PythonGary Hutson05/08/20220

Build a PyTorch regression MLP from scratch

Shows how to build a MLP regression network from scratch with PyTorch.
PythonGary Hutson13/06/20220

I know dictionaries, but what is a DefaultDict?

The supporting repository and code file is: https://github.com/StatsGary/PyHacks-Tutorials/blob/main/28_defaultdict.py. This is aimed as a short article to explain why you would want…

Posts navigation

Older posts
Follow and Subscribe
Follow @StatsGary
Most recent musings!
  • Creating doodles with HED detection and ControlNet 01/10/2023
  • Building a PyTorch binary classification multi-layer perceptron from the ground up 10/07/2023
  • Graph Data Modeling with Python 30/06/2023
  • Fine tune a Dreambooth model for image generation using Stable Diffusion with PyTorch 25/05/2023
  • Using ControlNet models to remodel my living room 09/03/2023
Recent Comments
  • Creating doodles with HED detection and ControlNet – Hutsons-hacks on Stable Diffusion application with Streamlit
  • Creating doodles with HED detection and ControlNet – Hutsons-hacks on Using ControlNet models to remodel my living room
  • Using ControlNet models to remodel my living room – Hutsons-hacks on Stable Diffusion application with Streamlit
  • danielgbaena on Hyperparameter tuning a Transformer with Optuna
  • Diverging Bar Charts – Plotting Variance with ggplot2 – NHS-R Community on Diverging Bar Charts – Plotting Variance with ggplot2
Archives
Cool categories
RSS
  • User parameters for Shiny applications
    Source: R-Bloggers Published on 16-May-2025 By Jason Bryer
  • Google Cloud Marketplace simplifies deals and improves economics
    Source: Google Cloud Blog Published on 15-May-2025
  • Introducing Cassandra-compatible APIs in Spanner for zero-code-change migration
    Source: Google Cloud Blog Published on 15-May-2025
  • Simplify database fleet management with AI-powered Database Center, now GA
    Source: Google Cloud Blog Published on 15-May-2025
  • Expanding our Risk Protection Program with new insurance partners and AI coverage
    Source: Google Cloud Blog Published on 15-May-2025
Advertising blurb
Copyright © 2025 Hutsons-Hacks. All Rights Reserved.
Boston Theme by FameThemes
Manage Cookie Consent
We use cookies to optimise our website and our service.
Functional Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes. The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
Manage options Manage services Manage {vendor_count} vendors Read more about these purposes
View preferences
{title} {title} {title}