Results from 18-hours of training a machine learning model | Airbnb Amenity Detection 7

12 Apr 2020 · 22 min
22:11

In this seventh part of his Airbnb amenity‑detection replication series, Daniel Bourke walks through the final stages of week 5 (day 32) and the transition into week 6. He outlines his project plan – building a “small‑dog” model on a 10 % representative subset of the Open Images‑derived Airbnb dataset (~35 k images) to select the best architecture, then scaling to a “big‑dog” model on the full data. Using a Notion board and a well‑organized GitHub repo, he documents the workflow. After experimenting with seven Detectron2 model‑zoo candidates, he narrows the choice to two (EarthlyCloud39 and FineHaze37) based on average‑precision results tracked in Weights & Biases (W&B). He creates stratified 10 % train and hold‑out splits that preserve class distribution, moves all data and model checkpoints to a Google Cloud Storage bucket, and shifts training from Colab to GCP to avoid time‑outs. Two parallel experiments run: (1) training RetinaNet‑R101 from scratch and (2) fine‑tuning the same architecture with COCO‑pretrained weights. Both run up to 180 k iterations, monitored every 2 k steps via W&B. The transfer‑learning run achieves a mean average precision (mAP) of 43.3 %, short of Airbnb’s 50 % internal target but surpassing their own AWS‑trained baseline, and does so in 18 h 37 min on a single Tesla P100 GPU. Bourke reflects on the training‑time vs. performance trade‑off, the limitations of using only the Open Images subset versus Airbnb’s internal data, and the advantage of having a downloadable model compared to Google AutoML. He outlines next steps: building inference code, storing checkpoints in GCP, and creating a small application to showcase the model.

Chapters

More from Daniel

youtube.com

Small Language Models (SLMs) Are the Future: Fine-Tuning AI That Runs on Your iPhone

7mo ago
youtube.com

Introducing Sunny - A MedGemma-Powered Skin Health Tracking App (Kaggle Competition Entry)

7mo ago
youtube.com

NVIDIA DGX Spark vs RTX 4090 | LLM inference, training speed and more

8mo ago
youtube.com

Benchmarking: NVIDIA DGX Spark & NVIDIA RTX 4090 | Part 4 - Comparing the results

8mo ago
youtube.com

Benchmarking: NVIDIA DGX Spark & NVIDIA RTX 4090 | Part 3 - Running LLMs on the RTX 4090

8mo ago
youtube.com

Benchmarking: NVIDIA DGX Spark & NVIDIA RTX 4090 | Part 2 - Formalizing the tests

8mo ago
youtube.com

Benchmarking: NVIDIA DGX Spark & NVIDIA RTX 4090 | Part 1 - Creating a series of tests

8mo ago
youtube.com

Local Multimodal RAG Pipeline End-to-End Tutorial | On DGX Spark

8mo ago
youtube.com

Local Multimodal RAG on the NVIDIA DGX Spark | Part 4 - Publishing our demo to Hugging Face

8mo ago
youtube.com

Local Multimodal RAG on the NVIDIA DGX Spark | Part 3.5 - Making a demo

8mo ago
youtube.com

Local Multimodal RAG on the NVIDIA DGX Spark | Part 3 - Putting it all together

8mo ago
See all content