Skip to content
Projets

À propos

Official Repository for "Finding NeMO: A Geometry-Aware Representation of Template Views for Few-Shot Perception"

IA et apprentissage automatique

Comment ces chiffres sont mesurés

Progression mesurée des étoiles

in 24h
0
in 7 days
+1
in 15 days
+2
in 1 month
Historique en cours

Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.

README.md

Original

NeMO: Neural Memory Objects

Paper Project Page License

Sebastian Jung, Leonard Klüpfel, Rudolph Triebel, Maximilian Durner

German Aerospace Center (DLR)

NeMO Banner

Official pytorch implementation of the paper Finding NeMO: A Geometry-Aware Representation of Template Views for Few-Shot Perception

This repository contains code for the nemolib package, an easy-to-use python package to generate Neural Memory Objects from images and use them to perform segmentation, detection and 6DoF Pose Estimation.

Timeline

  • 2025/02/10: Code release

Install

We recommend a package manager such as conda or uv and python>=3.9. If you have troubles installing pytorch, please follow the official pytorch installation guide.

# Clone repository
git clone [email protected]:DLR-RM/NeMO.git
cd NeMO

# Install dependencies
python -m pip install .

# Install pytorch >= 2.0.0
## CUDA 12.6 (Adapt to your setup)
pip install torch==2.8.0 torchvision==0.23.0 torchaudio==2.8.0 --index-url https://download.pytorch.org/whl/cu126
## CPU only
pip install torch==2.8.0 torchvision==0.23.0 torchaudio==2.8.0 --index-url https://download.pytorch.org/whl/cpu

# Afterwards you might have to call
plotly_get_chrome

Concatenate the checkpoint shards.

cat checkpoints/part_* > checkpoints/checkpoint.pth

Run Inference

To run a full demo script, use

python examples/nemo_demo.py --object-name=object

We provide some example scripts to get you started with the nemolib package.

# Specify Object Name, chose from ['mug', 'coffee_machine']
OBJECT_NAME='mug'

# Generate Neural Memory Object using the encoder
python examples/run_encoder.py --image-glob="assets/${OBJECT_NAME}/*.jpg"

# Visualize the surface predictions of the template images interactivly
python examples/run_interactive_surface_reconstruction.py --nemo-path="out/${OBJECT_NAME}/NeMO.pt" --image-glob="assets/${OBJECT_NAME}/*.jpg"

# Have a look at the decoder outputs on a single image
python examples/run_decoder_on_image.py --nemo-path="out/${OBJECT_NAME}/NeMO.pt" --image-path="assets/${OBJECT_NAME}/object0_0.jpg"

# Run inference on a video
python examples/run_decoder_on_video.py --nemo-path="out/${OBJECT_NAME}/NeMO.pt" --video-path="assets/${OBJECT_NAME}/video.mp4"

# This script takes a video as input, cuts it in patches and performs detection on it
python examples/run_detection_on_video.py --nemo-path="out/${OBJECT_NAME}/NeMO.pt" --video-path="assets/${OBJECT_NAME}/video.mp4"

This codebase borrows code from LEAP and Dust3r, we would like to thank them for making their code public.

📖 Citation

@inproceedings{jung2026nemo,
  title     = {Finding NeMO: A Geometry-Aware Representation of Template Views for Few-Shot Perception},
  author    = {Jung, Sebastian and Klüpfel, Leonard and Triebel, Rudolph and Durner, Maximilian},
  booktitle = {International Conference on 3D Vision (3DV)},
  year      = {2026},
}

Explorer des projets similaires

Chargement…