NoteCapsule blog

Real-world fixes for Jupyter Notebook & Google Colab users: backups, lost work, datasets, errors, GPU issues, Drive paths, Git, and making ML projects reproducible for final-year submissions and research.

Google Colab · Backups

How to backup Google Colab notebooks (without losing work)

Colab timeouts and resets can wipe hours of training. A step-by-step way to keep your notebooks and state safe.

Jupyter Notebook · Recovery

Jupyter Notebook backup & recovery: avoid “I lost my work” moments

What autosave and checkpoints actually do, and how to combine them with better backups.

Jupyter & Colab · Autosave

Autosave, checkpoints & recovering lost Jupyter/Colab notebooks

When you can recover work, when you can’t, and how to avoid losing days of experiments.

Reproducibility · Checklist

Make your Jupyter Notebook reproducible – a practical checklist

Environment, data paths, randomness, Git and Capsules – everything you need to re-run notebooks reliably.

Students · Final-year

Final-year ML project reproducibility checklist (Jupyter & Colab)

Turn your project into something examiners can actually open, run and understand.

ML projects · Structure

ML project folder structure for Jupyter & Google Colab

A clean, reusable layout for notebooks, data, models, and reports.

Google Colab · Projects

Run your full Python project in Google Colab without breaking paths

Move beyond single notebooks and keep imports & paths working in a full project.

ML projects · Sharing

How to share Jupyter/Colab ML projects that actually run

Stop sending broken notebooks. Package code, environment and data for others.

Google Colab · Datasets

How to load Hugging Face datasets in Google Colab (without errors)

Install, cache in Drive, stream and subset large Hugging Face datasets safely in Colab.

Google Colab · CSV

How to upload local files and read CSV in Google Colab

Upload, mount Drive and fix FileNotFoundError when working with CSVs in Colab.

Google Colab · Drive

How to read data from Google Drive in Google Colab (reliably)

Mount Drive, fix paths, and stop fighting FileNotFoundError for shared datasets.

Jupyter & Colab · Imports

How to fix ModuleNotFoundError in Jupyter Notebook & Google Colab

A systematic way to debug missing packages and environment mismatches.

Environments · Mismatch

Python finds module, Jupyter Notebook does not – environment mismatch explained

Why imports work in terminal but fail in notebooks, and how to align interpreters.

Colab · Compatibility

No module named google.colab – why it happens & how to fix it

Write Colab-specific code that still runs locally or on grading servers.

Jupyter & Colab · Paths

How to fix FileNotFoundError in Jupyter Notebook & Google Colab

Understand working directories and paths so your data files actually load.

Jupyter Notebook · Debugging

How to troubleshoot common Jupyter Notebook errors

A lightweight checklist for imports, paths, kernels and broken notebooks.

Jupyter Notebook · Kernel

Jupyter Notebook “Cannot connect to kernel” – causes & fixes

Debug environment, kernelspec and extension issues when the UI loads but nothing runs.

Google Colab · Runtime

Google Colab “Unable to connect to runtime” – fixes & safe workflows

Practical steps to fix runtime errors and structure work to survive disconnects.

Google Colab · Training

How to handle Google Colab disconnects for long-running training

Checkpoints, resumable runs, and staying sane with Colab time limits.

Google Colab · Crashes

Why does my Google Colab session keep crashing?

RAM, GPU, idle timeouts and code issues – plus a stability checklist for students.

Jupyter Notebook · Performance

Speed up a slow or laggy Jupyter Notebook

Reduce bloat, split notebooks, manage memory and keep the UI responsive.

Google Colab · GPU

Fix “CUDA out of memory” in Google Colab (PyTorch & TensorFlow)

Batch size, model size, mixed precision and other tricks for fitting into Colab GPUs.

Google Colab · GPU usage

Google Colab not using GPU? Fix slow training

Make sure your models and tensors really run on GPU, not just CPU.

Google Colab · Models

How to save & load ML models in Google Colab (Google Drive)

Store TensorFlow & PyTorch models safely in Drive so runtime resets don’t kill your work.

Google Colab · Large data

Large datasets in Google Colab – how to avoid out-of-memory

Sampling, chunking and efficient dtypes so big datasets don’t crash your session.

Jupyter Notebook · Memory

How to fix MemoryError in Jupyter Notebook for large datasets

Chunked loading, sampling and memory hygiene when working with big data.

Google Colab · Git

How to use Git with Google Colab for real projects

Clone, commit and push from Colab – and combine Git with runnable Capsules.

Git · Collaboration

Version control Jupyter Notebooks with Git – practical workflows

Handle ugly diffs, keep history clean and combine notebooks with scripts.

Jupyter Notebook · Scripts

Convert Jupyter Notebook (.ipynb) to Python script (.py)

Three quick ways to get a clean .py file ready for production or grading.

Visualization · Matplotlib

Matplotlib plot not showing in Jupyter Notebook or Google Colab

Fix inline plots, backends and the classic “no figure appears” problem.

Tools · Comparison

Jupyter vs Google Colab vs VS Code – which should you use?

Choose the right environment for coursework, research and full ML projects.