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.
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 backup & recovery: avoid “I lost my work” moments
What autosave and checkpoints actually do, and how to combine them with better backups.
Autosave, checkpoints & recovering lost Jupyter/Colab notebooks
When you can recover work, when you can’t, and how to avoid losing days of experiments.
Make your Jupyter Notebook reproducible – a practical checklist
Environment, data paths, randomness, Git and Capsules – everything you need to re-run notebooks reliably.
Final-year ML project reproducibility checklist (Jupyter & Colab)
Turn your project into something examiners can actually open, run and understand.
ML project folder structure for Jupyter & Google Colab
A clean, reusable layout for notebooks, data, models, and reports.
Run your full Python project in Google Colab without breaking paths
Move beyond single notebooks and keep imports & paths working in a full project.
How to share Jupyter/Colab ML projects that actually run
Stop sending broken notebooks. Package code, environment and data for others.
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.
How to upload local files and read CSV in Google Colab
Upload, mount Drive and fix FileNotFoundError when working with CSVs in Colab.
How to read data from Google Drive in Google Colab (reliably)
Mount Drive, fix paths, and stop fighting FileNotFoundError for shared datasets.
How to fix ModuleNotFoundError in Jupyter Notebook & Google Colab
A systematic way to debug missing packages and environment mismatches.
Python finds module, Jupyter Notebook does not – environment mismatch explained
Why imports work in terminal but fail in notebooks, and how to align interpreters.
No module named google.colab – why it happens & how to fix it
Write Colab-specific code that still runs locally or on grading servers.
How to fix FileNotFoundError in Jupyter Notebook & Google Colab
Understand working directories and paths so your data files actually load.
How to troubleshoot common Jupyter Notebook errors
A lightweight checklist for imports, paths, kernels and broken notebooks.
Jupyter Notebook “Cannot connect to kernel” – causes & fixes
Debug environment, kernelspec and extension issues when the UI loads but nothing runs.
Google Colab “Unable to connect to runtime” – fixes & safe workflows
Practical steps to fix runtime errors and structure work to survive disconnects.
How to handle Google Colab disconnects for long-running training
Checkpoints, resumable runs, and staying sane with Colab time limits.
Why does my Google Colab session keep crashing?
RAM, GPU, idle timeouts and code issues – plus a stability checklist for students.
Speed up a slow or laggy Jupyter Notebook
Reduce bloat, split notebooks, manage memory and keep the UI responsive.
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 not using GPU? Fix slow training
Make sure your models and tensors really run on GPU, not just CPU.
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.
Large datasets in Google Colab – how to avoid out-of-memory
Sampling, chunking and efficient dtypes so big datasets don’t crash your session.
How to fix MemoryError in Jupyter Notebook for large datasets
Chunked loading, sampling and memory hygiene when working with big data.
How to use Git with Google Colab for real projects
Clone, commit and push from Colab – and combine Git with runnable Capsules.
Version control Jupyter Notebooks with Git – practical workflows
Handle ugly diffs, keep history clean and combine notebooks with scripts.
Convert Jupyter Notebook (.ipynb) to Python script (.py)
Three quick ways to get a clean .py file ready for production or grading.
Matplotlib plot not showing in Jupyter Notebook or Google Colab
Fix inline plots, backends and the classic “no figure appears” problem.
Jupyter vs Google Colab vs VS Code – which should you use?
Choose the right environment for coursework, research and full ML projects.