OpenViSTAI · Agents · Blockchain · Crypto
Menu
AI Models

Upsnet

UPSNet is a Python and PyTorch implementation of a panoptic segmentation network that processes images into semantic and instance-level scene labels. The repository provides training and testing scripts, configurations for COCO and Cityscapes, and downloadable trained weights.

Independent OpenViST project profile, based on linked sources.

Upsnet — OpenViST project profile in AI Models.
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Use UPSNet when a local computer-vision research workflow needs panoptic segmentation experiments on COCO or Cityscapes and can accommodate the repository's dataset preparation and compute requirements.

Who it is for

  • Computer-vision researchers evaluating panoptic segmentation on COCO or Cityscapes.
  • Teams preparing those datasets for model training or testing.
  • Developers building a research evaluation workflow around the supplied scripts and experiment configurations.

Documented uses

  • Run image-based panoptic segmentation with the supplied COCO or Cityscapes weights.
  • Train or fine-tune the model on prepared COCO or Cityscapes data.
  • Evaluate model variants through the repository's dataset-specific configurations and test script.
Before you choose

Requirements & limits

The repository states that it is licensed under the Uber Non-Commercial License.

  • The README reports Python 3.6 and PyTorch 0.4.1 as the tested software versions.
  • The initialization process builds C++/CUDA modules.
  • Training is recommended on 4–16 GPUs with at least 11 GB memory; the README reports 16-GPU training with Horovod.
  • COCO and Cityscapes must be downloaded and prepared separately, with specific label-preparation requirements for Cityscapes.
  • The license is non-commercial.

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

Run the supplied COCO or Cityscapes test workflow

Prepare the repository and dataset, then use a supplied weight file and configuration with the test script.

Before you start

  • A Linux environment with Python 3.6 and PyTorch 0.4.1, the README's stated tested setup.
  • The repository and the relevant downloaded COCO or Cityscapes dataset.
  • For Cityscapes, generated TrainIds label images; for COCO, images and annotations folders.
  • The README's initialization scripts build C++/CUDA modules and prepare the dataset.

Steps

  1. Clone the repository and run init.sh to build essential C++/CUDA modules and download a pretrained model.

  2. For Cityscapes, link the dataset at data/cityscapes and run init_cityscapes.sh; for COCO, link it at data/coco and run init_coco.sh.

  3. Run download_weights.sh to obtain the trained COCO and Cityscapes weights.

  4. Run upsnet/upsnet_end2end_test.py with a matching experiment configuration and weight_path, using one of the dataset-specific examples in the README.

Expected outcome

The documented test workflow runs UPSNet evaluation using a supplied dataset-specific configuration and trained weights.

Guide limitations

  • Dataset files must be downloaded separately and meet the stated preparation requirements.
  • The README's tested software versions are Python 3.6 and PyTorch 0.4.1; it suggests other versions may work but does not guarantee compatibility.
  • This is a repository workflow, not a hosted inference service.
Source-based practical guide

Prepare a configured training run

Prepare COCO or Cityscapes data and select a supplied experiment configuration for model training.

Before you start

  • Python and PyTorch; the README reports testing with Python 3.6 and PyTorch 0.4.1.
  • Downloaded COCO or Cityscapes data prepared as specified in the README.
  • The README recommends 4–16 GPUs with at least 11 GB memory and reports training with 16 GPUs using Horovod.

Steps

  1. Clone the repository and run init.sh to build essential C++/CUDA modules.

  2. Link the prepared dataset under data/coco or data/cityscapes and run its corresponding initialization script.

  3. Choose a matching YAML configuration from upsnet/experiments.

  4. Use the documented training entry point, upsnet/upsnet_end2end_train.py, with the selected configuration.

Expected outcome

The repository is prepared to start a training run using a supplied dataset configuration.

Guide limitations

  • The README recommends substantial multi-GPU hardware for training.
  • This guide covers the documented setup and invocation, not completion or measured results of a run.
  • The project is licensed under the Uber Non-Commercial License.
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
18 October 2026
Original website title
uber-research/UPSNet · Official homepage title · retained in its source language