Open-source project
zju3dv/manhattan_sdf avatar
zju3dv/manhattan_sdf

A 2022 CVPR Oral whose newest README note is four years old

Code for "Neural 3D Scene Reconstruction with the Manhattan-world Assumption" CVPR 2022 Oral

532 stars32 forksPythonLicense varies

At a glance

What is it?
manhattan_sdf is the research code behind a CVPR 2022 Oral on neural scene reconstruction under a Manhattan-world assumption. Three shell commands cover training, mesh extraction and evaluation, and the details that decide whether you can reproduce anything sit in a conda file, a config line and a data folder.
Who is it for?
Read the docs pages before the README, because the README is a front door rather than a manual. Anyone reproducing the paper needs the processed ScanNet scenes from the linked Drive folder, the baseline results in docs/RESULTS.md, and the custom-data instructions in docs/CUSTOM.md, none of which are described inline.
Can I use it commercially?
Check first. The repository uses a licence we do not classify automatically, so read its LICENSE file before any commercial use.
Is it still maintained?
Yes. The repository last received commits 72 days ago.
What is it written in?
Mainly Python, according to GitHub's language statistics.

Answers come from the project's GitHub data, last synced on November 25, 2026, and from our analysis. They are not legal advice.

From daily snapshots

Star history

  • zju3dv/manhattan_sdf532 ★ · -1
Star history
Repository2026-09-172026-11-25
zju3dv/manhattan_sdf533532

-1 Stars in the last 69 days, measured from the daily GitHub snapshot. Compare with other projects

Editorial analysis

The news block ends in 2022, the commit history does not

The README opens with four dated entries, and every one of them belongs to May or June 2022. Three share the date 05/10/2022: baseline results for COLMAP, COLMAP*, ACMP, NeRF, UNISURF, NeuS and VolSDF, the project's own quantitative and qualitative results with trained models on ScanNet, and the processed ScanNet scene data uploaded to Google Drive. The fourth, dated 06/03/2022, is the one that still gets people to the right place, moving the custom-data instructions into docs/CUSTOM.md.

The repository itself was pushed on 2026-09-15. So the front page has not been touched in four years while the code has, which means the README tells you nothing about what changed since. There are no GitHub releases either, so no tag tells you which state of the code the paper results came from.

Two of the options are space-separated pairs, not flags

The three usage examples share one odd shape. Only some options are flags: `--cfg_file` names the config, `--type` selects mesh_extract or evaluate, `--output_mesh` names the output file. The other two are written as bare words followed by a value, with no leading dashes at all.

shell
python train_net.py --cfg_file configs/scannet/0050.yaml gpus 0, exp_name scannet_0050

So `gpus 0,` and `exp_name scannet_0050` read as positional key and value pairs while `--cfg_file` reads as a flag, and the flag names themselves use underscores rather than dashes. Nothing in the README calls this out, which means anyone scripting a sweep has to copy the ordering exactly rather than assume a conventional parser. The comma after 0 is part of the example as written.

One experiment name couples all three stages

Training, mesh extraction and evaluation are three separate scripts tied together by two strings that must match: the config file and the experiment name. Train with train_net.py, then run run.py with `--type mesh_extract` and `--output_mesh result.obj`, then run it again with `--type evaluate`. All three carry `gpus 0, exp_name scannet_0050` and the same config path, and nothing in the README says where a checkpoint is written, where evaluation output lands, or how a run is resumed.

The mesh path is the one concrete output location given, and it is a bare filename, so it resolves against whatever directory you launched from. The config is `configs/scannet/0050.yaml`, and the data preparation step points at line 38 of that file as the place where the data path must agree with what you extracted, which makes the config the single point of truth for the whole pipeline and also the single point of failure if it disagrees with your disk.

Conda is the only documented way to install anything

Setup is two commands and one file.

shell
conda env create -f environment.yml
conda activate manhattan

There is no requirements.txt in the repository listing, no pip path and no note about which CUDA or PyTorch build the environment expects; all of that is inside environment.yml. The environment is named manhattan, while the project folder is manhattan_sdf, so the activate command does not echo the directory you cloned into. For a 2022 research release on a scene reconstruction task, the pinned versions in that file are almost certainly doing more work than anything in the README, and they will be the part that decides whether the code still runs on a current machine.

The baselines are published as results, not as something you can rerun

The comparison work is delivered as a document rather than as an entry point. docs/RESULTS.md holds the quantitative and qualitative results for COLMAP, COLMAP*, ACMP, NeRF, UNISURF, NeuS and VolSDF, plus the project's own results and trained models on ScanNet. Nothing in the repository shows how to reproduce a baseline row, so the tables are evidence rather than a target.

The input side has the same shape. The processed ScanNet scenes the paper evaluated on sit in a Google Drive folder, and the instruction is to download them and extract them into `data/`. That means the exact preprocessing is fixed by whatever was uploaded, and a researcher with their own ScanNet copy will not get identical inputs without knowing what the processing did. The evaluation command itself reports no metric, no output path and no comparison target, so its usefulness depends entirely on the tables beside it.

Custom data support is one link away and one flag short

The README's own news entry for 06/03/2022 is what moved custom-data work out of the front page and into docs/CUSTOM.md. What remains inline is a single sentence pointing at that document, which means the only documented path to your own scenes is one file away from the top of the repository.

What is missing is any indication of how custom data enters the pipeline. There is no flag for it in the three usage examples, no second config directory, and no statement about which parts of configs/scannet/0050.yaml have to change. The data preparation paragraph names one config line as the place where the path must be consistent, so a reader has to open the config, open CUSTOM.md, and work out the overlap between them. Three dated news entries in 2022 are the whole record of how the project grew.

The acknowledgements reach into a personal fork at one commit

The dependency story is told in the acknowledgements rather than in a requirements file. VolSDF gets credit to Lior Yariv, and to Jianfei Guo for an implementation of it called neurecon. COLMAP gets credit to Johannes Schönberger. The line worth reading twice is the fourth one: credit to Shaohui Liu for a customized implementation of COLMAP, linked at a single commit hash, used as a submodule of NerfingMVS.

A pinned personal fork is a reproducibility decision that outlives the paper. If that submodule is not initialised, the tree has no manifest at the top level and the README gives no command to fetch it, so the first sign of trouble is an import error rather than a documented step. The rest of the credit list is ordinary; this one line is the part to check against your own checkout before planning an experiment.

The license field names nothing while a LICENSE file sits in the root

The repository's license metadata resolves to no assertion, meaning no license is identified at all, and the top-level listing does contain a LICENSE file. The README says nothing about licensing, and there is no license section at the end of it, unlike most research releases that at least name a license for the code and a separate note for data and weights.

That combination is the kind of thing that stalls a real use case. Code written for a paper is often reused inside a commercial product or a new dataset pipeline, and a LICENSE file whose terms nobody has stated in the project's own documentation leaves that question open. The published ScanNet scenes and the trained models raise the same question separately, since they are hosted on Drive and in docs rather than in the repository.

Editorial conclusion

Read the docs pages before the README, because the README is a front door rather than a manual. Anyone reproducing the paper needs the processed ScanNet scenes from the linked Drive folder, the baseline results in docs/RESULTS.md, and the custom-data instructions in docs/CUSTOM.md, none of which are described inline. Confirm the licensing before reusing anything: the repository's license field names no terms at all, while a LICENSE file sits in the root, and that gap is yours to resolve with the authors rather than guess.

Frequently asked questions

What does the manhattan_sdf repository implement?

It is the code for Neural 3D Scene Reconstruction with the Manhattan-world Assumption, published at CVPR 2022 as an Oral presentation, with the paper listed on arXiv as 2205.02836 and a project page hosted by the lab.

How do I install the manhattan_sdf environment?

Create the bundled conda environment with `conda env create -f environment.yml`, then activate it with `conda activate manhattan`. No pip requirements file is documented, and the pinned versions live inside environment.yml.

What data does manhattan_sdf need before training?

The ScanNet scene data evaluated in the paper, downloaded from the project's Google Drive folder and extracted into `data/`, with the path kept consistent with line 38 of configs/scannet/0050.yaml. Instructions for custom data are in docs/CUSTOM.md.

How do I train a model and extract a mesh with manhattan_sdf?

Train with train_net.py and the ScanNet config, then run run.py with `--type mesh_extract` and `--output_mesh result.obj` using the same config and the same experiment name, and run it a third time with `--type evaluate` for the evaluation step.

Which baselines does the manhattan_sdf comparison cover?

COLMAP, COLMAP*, ACMP, NeRF, UNISURF, NeuS and VolSDF, with the quantitative and qualitative results published in docs/RESULTS.md alongside the project's own results and trained models on ScanNet.

Official sources

  1. Issues
  2. Project website
  3. README
  4. zju3dv/manhattan_sdf on GitHub
Add this badge to your README

If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.

Add this badge to your README

markdown
[![Hysen Labs](https://hysenlabs.com/badge/zju3dv-manhattan-sdf.svg)](https://hysenlabs.com/projects/zju3dv-manhattan-sdf)

Star history chart for your README

markdown
[![Star history](https://hysenlabs.com/chart/zju3dv-manhattan-sdf.svg)](https://hysenlabs.com/projects/zju3dv-manhattan-sdf)

Was this useful?