OpenViSTAI · Agents · Blockchain · Crypto
Menu
Image & Video AI

Kaggle Carvana Image Masking Challenge

A Python and Keras repository that implements U-Net image-segmentation models for the Kaggle Carvana Image Masking Challenge, with training and test-prediction scripts.

Independent OpenViST project profile, based on linked sources.

Kaggle Carvana Image Masking Challenge — OpenViST project profile in Image & Video AI.
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Use it when you have the Carvana-style train, mask and test folders and want the repository's documented Keras training and prediction workflow.

Who it is for

  • People reproducing or adapting the documented Carvana image-masking workflow.
  • Developers examining a U-Net baseline for image segmentation using labeled images and masks.

Documented uses

  • Train a U-Net on Carvana training images and corresponding masks.
  • Predict masks for test images and generate a challenge submission.
  • Compare implementations at four documented image resolutions.
Before you choose

Requirements & limits

The repository is public and lists an MIT license. Its documented requirements include Keras 2.0 with a TensorFlow backend and supporting Python packages.

  • The README specifies a particular input folder layout and PNG training-mask format.
  • The multithreaded inference script separates data loading and inference into different threads.
  • The README flags memory constraints with large inputs.

Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.

Source-based practical guide

Train a U-Net and generate Carvana predictions

Use the documented folder structure and scripts to train a model and create test-image predictions and a submission.

Before you start

  • Keras 2.0 with a TensorFlow backend
  • sklearn, cv2, tqdm and h5py
  • The train, train_masks and test data folders
  • GIF training masks converted to PNG

Steps

  1. Place the train, train_masks and test folders inside an input folder.

  2. In train_masks, convert GIF masks to PNG; the README gives mogrify -format png *.gif as an example.

  3. Run the command below to train the model.

    Documented command
    python train.py
  4. Run the command below to produce test predictions and a submission.

    Documented command
    python test_submit.py

Expected outcome

A trained U-Net model followed by predictions on test data and a generated submission.

Guide limitations

  • The guide follows the README's Carvana folder and mask-format instructions.
  • The README notes memory constraints with large inputs and says it no longer uses predict_generator.
Source-based practical guide

Use the multithreaded inference script

Run the project's separate-thread inference and data-loading workflow.

Before you start

  • The project requirements: Keras 2.0 with a TensorFlow backend, sklearn, cv2, tqdm and h5py
  • The project's test data and trained model

Steps

  1. Prepare the test data in the documented input folder structure.

  2. Run test_submit_multithreaded.py to try inference with data loading and inference on separate threads.

Expected outcome

The project runs its multithreaded inference and data-loading script to generate test predictions.

Guide limitations

  • The README reports a 40% inference-time reduction in its tests; results may differ in other environments.
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
21 November 2026
Original website title
petrosgk/Kaggle-Carvana-Image-Masking-Challenge · Official homepage title · retained in its source language