Cheetsheet for Python os module

Posted: Mar 6, 2024 ·  Updated: Oct 28, 2023 · 3 min.
Cheet sheet

Some useful commands for Python os module, especially IO operations and file system operations.

Customize your PyTorch Dataset

Posted: Mar 6, 2024 ·  Updated: Oct 28, 2023 · 1 min.
Cheet sheet

A guide to customize your PyTorch Dataset. This is the first step for your PyTorch project.

Debugging Python with pdb

Oct 27, 2023 · 2 min.
Cheet sheet

Use pdb to debug python code. Cheat sheet.

Tensorboard Cheet Sheet (SummaryWriter)

Posted: Oct 21, 2023 ·  Updated: Oct 27, 2023 · 3 min.
Cheet sheet

List some commonly used commands for tensorboard.

Using tmux to manage your terminal

Posted: Oct 21, 2023 ·  Updated: Oct 28, 2023 · 1 min.
Cheet sheet

Create, kill, and manage tmux sessions

Entropy, KL Divergence and Cross Entropy

Aug 22, 2023 · 3 min.
Machine Learning Tutorial

Cross entropy is a loss function used in classification problems. This post will introduce the definition and the intuition behind cross entropy.

How to Evaluate the Performance of ML Models

Aug 22, 2023 · 3 min.
Machine Learning Tutorial

Maching learning basically have 2 tasks: regression and classification. This post will introduce how to evaluate the performance of ML models in these 2 tasks.

Create A Site by Hugo

Jul 29, 2023 · 7 min.

Setting up a Hugo site. Some details and tips.

Coding Python in Linux Server

Posted: Jul 28, 2023 ·  Updated: Oct 9, 2023 · 6 min.

Configurate Python Env. in Linux. Connect to server with VSCode.

Git Command Guide

Posted: Jul 28, 2023 ·  Updated: Sep 6, 2023 · 5 min.
Cheet sheet

Some common and useful git commands.