This repository contains my snippets and sample codes for developing deep learning application with Pytorch.
conda create -n PyTorchTutorial python=3.12 -y
. "$HOME/anaconda3/etc/profile.d/conda.sh"
conda activate PyTorchTutorial
For a machine with a working NVIDIA driver and nvidia-smi, install the current CUDA build from the official PyTorch wheel index:
python -m pip install --upgrade pip
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu126
pip install jupyterlab matplotlib seaborn scikit-learn pydot torchviz mlflow timm opencv-python albumentations tqdm tensorboard wandb kagglehub pytorch-lightning shap
monai[all] is intentionally not installed by default because it is large and pulls many optional dependencies. Install it only if you need the medical imaging notebooks:
pip install "monai[all]"
If you want to view generated graphviz .dot files:
sudo apt-get install graphviz
sudo apt-get install xdot
If you want the env-local src symlink that points to this repo:
ln -s /home/$USER/workspace/PyTorchTutorial /home/$USER/anaconda3/envs/PyTorchTutorial/src
Do not use conda update --all for this env. It tends to churn the full stack and is a common way to break a working PyTorch/CUDA setup.
Upgrade only what you actually need, for example:
pip install --upgrade torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu126
General-purpose, self-supervised backbones that are frozen and reused across many downstream tasks (classification, retrieval, segmentation, depth, correspondence) via lightweight heads.
Experiment Tracking & Monitoring
Pre-deployment Quality & Validation
197 commits
Jupyter Notebook
89.9%
Python
10.1%
This repository contains my snippets and sample codes for developing deep learning application with Pytorch.
conda create -n PyTorchTutorial python=3.12 -y
. "$HOME/anaconda3/etc/profile.d/conda.sh"
conda activate PyTorchTutorial
For a machine with a working NVIDIA driver and nvidia-smi, install the current CUDA build from the official PyTorch wheel index:
python -m pip install --upgrade pip
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu126
pip install jupyterlab matplotlib seaborn scikit-learn pydot torchviz mlflow timm opencv-python albumentations tqdm tensorboard wandb kagglehub pytorch-lightning shap
monai[all] is intentionally not installed by default because it is large and pulls many optional dependencies. Install it only if you need the medical imaging notebooks:
pip install "monai[all]"
If you want to view generated graphviz .dot files:
sudo apt-get install graphviz
sudo apt-get install xdot
If you want the env-local src symlink that points to this repo:
ln -s /home/$USER/workspace/PyTorchTutorial /home/$USER/anaconda3/envs/PyTorchTutorial/src
Do not use conda update --all for this env. It tends to churn the full stack and is a common way to break a working PyTorch/CUDA setup.
Upgrade only what you actually need, for example:
pip install --upgrade torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu126
General-purpose, self-supervised backbones that are frozen and reused across many downstream tasks (classification, retrieval, segmentation, depth, correspondence) via lightweight heads.
Experiment Tracking & Monitoring
Pre-deployment Quality & Validation
197 commits
Jupyter Notebook
89.9%
Python
10.1%