Computing pretrained image embeddings in PythonIn this tutorial, we'll create a Python package for computing image embeddings using a pretrained convolutional neural network (CNN) from the command line. An image embedding is a numerical representation of an image that "embeds" it within a high-d...Aug 29, 2022 · 12 min readblog.jmswaney.com
Tips for using Jupyter Notebooks with GitHubTo machine learning engineers and data scientists, Jupyter notebooks have become a workhorse tool in the toolbox. Notebooks allow researchers to quickly prototype new solutions and make interactive visualizations in a remote computing environment. Un...1NAug 22, 2022 · 6 min readblog.jmswaney.com
Setting up Python Linting and Auto-formatting in VSCodeIn this tutorial, we will setup Python linting and automatic code formatting in VSCode. We will use pylint to highlight linting errors and black for auto-formatting our code on save. Linting and auto-formatting are commonly used in Javascript project...Feb 7, 2022 · 3 min readblog.jmswaney.com
Poetry: a yarn-like package manager for PythonIn this tutorial, we will create a Python package called math-demo using the poetry Python package manager. We will use poetry to scaffold out the math-demo package, install our dependencies in a conda virtual environment, and run scripts for unit te...Feb 4, 2022 · 7 min readblog.jmswaney.com
Creating beautiful command-line interfaces in PythonPhoto by Ryan Quintal on Unsplash In this tutorial, we will create a Python package called starfox with a command-line interface (CLI) that simulates conversations between players from Star Fox 64. We will create the CLI using the click package and a...Mar 4, 2021 · 13 min readblog.jmswaney.com