MCPcopy Index your code
hub / github.com/GZWSAMA/OnePoseviaGen

github.com/GZWSAMA/OnePoseviaGen @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
3,495 symbols 12,306 edges 458 files 1,140 documented · 33%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

One View, Many Worlds: Single-Image to 3D Object Meets Generative Domain Randomization for One-Shot 6D Pose Estimation

arXiv Project Page

Zheng Geng, Nan Wang, Shaocong Xu, Bohan Li, Zhaoxi Chen, Chongjie Ye, Sida Peng, Hao Zhao


Manipulation


Instruction


TODO:

  • [ ] Release Polished Paper
  • [ ] Release Evaluation Code
  • [ ] Release Training Code

⚙️ Installation

Quick Setup Using setup.sh

To streamline the setup process, we provide a setup.sh script that automates all installation steps. Follow these instructions to get started:

Prerequisites

Before running the setup.sh script, ensure you have the following prerequisites installed on your system:

  • Python 3.11+
  • Conda (recommended)
  • Basic build tools (git, make, cmake, etc.)

Usage

  1. Clone the repository:

bash git clone https://github.com/GZWSAMA/OnePoseviaGen.git cd OnePoseviaGen

  1. Make the setup.sh script executable:

bash chmod +x setup.sh

  1. Run the setup.sh script:

It is recommended to run this script within a fresh conda environment. Here's how you can create and activate a new environment before running the script:

bash conda create -n OnePoseviaGen python=3.11 -y conda activate OnePoseviaGen ./setup.sh

The script will handle: - Installing PyTorch with CUDA support. - Installing required dependencies. - Cloning and installing external extensions. - Building FoundationPose. - Installing local packages in editable mode. - Downloading pretrained weights. - Patching the transformers library.

  1. Verify the setup:

After running the script, verify that all dependencies are correctly installed and the necessary files are downloaded.

  1. Web demo:

bash python app.py


Troubleshooting

Indices should be on the same device

Can't convert cuda:0 device type tensor to numpy


📚 Citation

If you find this work useful, please cite:

TODO

Core symbols most depended-on inside this repo

reshape
called by 710
oneposeviagen/trellis/trellis/modules/sparse/basic.py
append
called by 602
oneposeviagen/SpaTrackerV2/models/monoD/zoeDepth/utils/misc.py
join
called by 484
oneposeviagen/SpaTrackerV2/models/moge/utils/pipeline.py
cat
called by 433
oneposeviagen/SAM2-in-video/sam2/utils/amg.py
print
called by 372
oneposeviagen/Amodal3R/dit/utils.py
float
called by 287
oneposeviagen/trellis/trellis/modules/sparse/basic.py
cpu
called by 270
oneposeviagen/trellis/trellis/pipelines/base.py
get
called by 153
oneposeviagen/SpaTrackerV2/models/moge/utils/pipeline.py

Shape

Method 1,764
Function 1,240
Class 491

Languages

Python100%
C++1%

Modules by API surface

oneposeviagen/SpaTrackerV2/models/moge/utils/pipeline.py72 symbols
oneposeviagen/fpose/fpose/datareader.py63 symbols
oneposeviagen/Amodal3R/dit/utils.py62 symbols
oneposeviagen/SpaTrackerV2/models/SpaTrackV2/models/tracker3D/delta_utils/blocks.py56 symbols
oneposeviagen/SpaTrackerV2/models/SpaTrackV2/models/tracker3D/co_tracker/utils.py54 symbols
oneposeviagen/fpose/fpose/Utils.py52 symbols
oneposeviagen/SpaTrackerV2/models/SpaTrackV2/models/utils.py45 symbols
oneposeviagen/trellis/trellis/modules/sparse/basic.py41 symbols
oneposeviagen/Amodal3R/amodal3r/modules/sparse/basic.py41 symbols
oneposeviagen/SpaTrackerV2/models/SpaTrackV2/models/blocks.py40 symbols
app.py39 symbols
oneposeviagen/SpaTrackerV2/models/moge/utils/tools.py37 symbols

For agents

$ claude mcp add OnePoseviaGen \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact