Open-source project
shitagaki-lab/see-through avatar
shitagaki-lab/see-through

See-through: 23 layers from one anime illustration, and two environment names

"Single-image Layer Decomposition for Anime Characters" (SIGGRAPH 2026 Conference Paper)

5,868 stars506 forksPythonApache-2.0

At a glance

What is it?
This SIGGRAPH 2026 project turns a single anime illustration into up to 23 inpainted, semantically separated layers with a layered PSD export. The setup paths disagree on the name of the conda environment, two of the three optional annotator tiers need a build isolation flag, and the default pipeline expects 12 to 16 GB of video memory.
Who is it for?
Use See-through if you have an illustration and need editable layers rather than a flat image, and if you have a GPU with enough memory for the pipeline tier you pick. Before you start, settle three things.
Can I use it commercially?
Yes. Apache-2.0 is a permissive licence: you can use, modify and sell software built on it, as long as you keep its copyright and licence notices.
Is it still maintained?
Yes. The repository last received commits 9 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 23, 2026, and from our analysis. They are not legal advice.

From daily snapshots

Star history

  • shitagaki-lab/see-through5,868 ★ · +1,764
Star history
Repository2026-09-232026-11-23
shitagaki-lab/see-through4.1k5.9k

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

Editorial analysis

The setup instructions name two different environments

The README creates one conda environment.

bash
conda create -n see_through python=3.12 -y
conda activate see_through

The dependency file at the repository root documents a different one, see_through_dev, with the same Python 3.12, and describes itself as a unified environment that replaces the per-subdirectory requirement files it superseded.

bash
conda create -n see_through_dev python=3.12 -y

Two names for what is meant to be the same working setup, and the same file also carries its own install recipe including the PyTorch wheel index. Nothing stops either from working, since an environment is just a directory, but a contributor who follows the README and then follows the dependency file ends up with two environments and a moment of confusion about which one the scripts expect.

The dependency file is dated in a comment, pinned on 2026-03-24. It also installs two local packages in editable mode, ./common and ./annotators, which is why the environment has to be created from the repository root.

CUDA 12.8 is pinned, with two documented ways out

The PyTorch install is fully pinned, including the CUDA build suffix and the index that serves it.

bash
pip install torch==2.8.0+cu128 torchvision==0.23.0+cu128 torchaudio==2.8.0+cu128 \
  --index-url https://download.pytorch.org/whl/cu128

Two comments sit directly above that command, and they are the two most useful lines in the setup section.

For aarch64 machines, the pinned versions may not be available, and the instruction is to use torch 2.9.0 or newer instead. For AMD users, the instruction is to install the ROCm wheel set that matches the local ROCm runtime, with an example index for ROCm 7.2.

So the pin is not absolute: it is a default for the CUDA case with named exits for the two hardware families where those exact wheels do not exist. Note that both exits move you off the pinned set, which is where version skew between torch, torchvision and torchaudio tends to show up first.

Two of the three annotator tiers need build isolation disabled

The optional annotators are installed from separate requirement files, one per tier, and the install flags differ between them.

bash
pip install --no-build-isolation -r requirements-inference-sam2.txt

The SAM2 tier and the body parsing tier, which brings in detectron2, are both installed with --no-build-isolation. The anime instance segmentation tier, which uses mmcv and mmdet, is not.

What each tier adds is worth knowing before you install all three. Body parsing provides detectron2 for tagging body attributes, SAM2 provides language-guided segmentation, and the instance segmentation tier adds mmcv/mmdet for anime instance segmentation. The README points to a separate module, scrap_model.py, for the definition of the complete body tags.

Video memory decides which pipeline you run

The default run is a bf16 pipeline that expects 12 to 16 GB of VRAM at 1280 resolution. Two documented switches bring that down.

bash
python inference/scripts/inference_psd.py \
  --srcp assets/test_image.png \
  --save_to_psd \
  --group_offload

Group offload is the 12 GB option, bringing peak memory to roughly 10 GB at the same resolution.

The 8 GB option is a different pipeline rather than a flag: an NF4 quantized path using 4-bit weights, which needs bitsandbytes installed once, reaches about 8 GB peak at 1280 resolution, and can be reduced further by combining it with group offload at a lower resolution.

The resolution is therefore a third lever, independent of both.

Three model repositories at three different versions

The pipeline runs on three published models, and their version tags do not line up.

LayerDiff 3D, published by a different organisation, carries the v0.0.2 tag and generates the transparent layers. Marigold depth, fine-tuned for anime, carries v0.0.1 and produces the pseudo-depth estimate. The SAM body parsing model is published under a name that encodes the iteration rather than a version, l2d_sam_iter2.

Two versions of the project family and one iteration counter, which is a small thing but the kind of detail that matters when a checkpoint stops behaving as the README describes.

The main script is inference_psd.py, and it can take either a single image or a directory.

bash
python inference/scripts/inference_psd.py \
  --srcp path/to/image_folder/ \
  --save_to_psd

Output lands in a workspace directory under the repository root, which is also why the documentation insists that scripts be run from the root directory as the working directory. Each run writes a layered PSD plus the intermediate depth maps and segmentation masks, and the note attached to the command says it uses the most recent model, the one with 23-layer body part separation.

Head and body are separated in two continuous stages

One performance caveat is stated plainly rather than buried: the separation for the head and the body happens in two continuous stages, which can take longer than the original model described in the paper.

So a timing figure from the paper is not a timing figure for this code, and anyone comparing throughput should measure the pipeline rather than quote the publication.

Post-processing is a separate script. After the layer split, heuristic_partseg.py refines specific parts, either by depth or by left and right position, and it takes the tags to act on.

bash
python inference/scripts/heuristic_partseg.py seg_wdepth --srcp workspace/test_samples_output/PV_0047_A0020.psd --target_tags handwear

The two subcommands can be chained. The second one, seg_wlr, takes the output of the first, here a file with a wdepth suffix in its name, and refines it further with a tag that itself carries the left-right distinction. The result is that a single part can be refined along two axes in two passes, and each pass is a separate invocation over a PSD file.

The project warns about paid sites offering this functionality

The README opens with a notice that is unusual to see in a research repository. The project is open source, no paid service has been set up for it, and if you find a website charging for this functionality it is not from them. Use at your own risk. The same warning appears in Chinese.

Both official demos are hosted elsewhere and neither is charged for. The Hugging Face Space uses ZeroGPU, which means you register an account and are then limited to one or two PSD extractions a day, each taking roughly two to three minutes at 1280 resolution. The ModelScope demo is described as completely free, supporting slightly higher resolution, and is the practical choice if the ZeroGPU quota is the binding constraint.

The stated intent is to keep both running for accessibility, which is why two of them exist rather than one.

Editorial conclusion

Use See-through if you have an illustration and need editable layers rather than a flat image, and if you have a GPU with enough memory for the pipeline tier you pick. Before you start, settle three things. Match the environment name to the instructions you are following, since the README and the dependency file name the conda environment differently. Decide your memory tier from the numbers given, whether the default bf16 run, group offload, or the NF4 quantized path. And note that the annotator tiers are optional, so a missing detectron2 build is a tier you skipped rather than a broken install. Anyone publishing results should read the project's warning about paid websites offering this functionality, because it is not from them.

Frequently asked questions

What does the See-through project do?

It decomposes a single anime illustration into fully inpainted, semantically distinct layers with inferred drawing orders, up to 23 layers covering hair, face, eyes, clothing and accessories, and exports the result as a layered PSD. The work is published as a SIGGRAPH 2026 conference paper.

How much VRAM does See-through need?

The default pipeline runs at bf16 precision and expects about 12 to 16 GB at 1280 resolution. Group offload brings peak memory to roughly 10 GB, and the NF4 quantized pipeline with 4-bit weights reaches about 8 GB, which can be reduced further by lowering the resolution together with group offload.

Can See-through run on an aarch64 or AMD machine?

The README addresses both. On aarch64 the pinned CUDA wheels may not exist, so it suggests torch 2.9.0 or newer instead. On AMD it says to install the ROCm wheel set matching the local ROCm runtime, giving the ROCm 7.2 index as an example.

Is there a paid version of See-through?

No. The project states that it is an open source research project with no paid service, and that any website charging for this functionality is not from the project. It asks users to proceed at their own risk.

Where can I try See-through without a GPU?

A Hugging Face Space runs on ZeroGPU, which requires an account and allows one or two PSD extractions a day at roughly two to three minutes each in 1280 resolution. A ModelScope demo is free and supports slightly higher resolution.

Which models does the See-through pipeline use?

Three published checkpoints: LayerDiff 3D tagged v0.0.2 for transparent layer generation, a Marigold depth model tagged v0.0.1 for pseudo-depth, and a SAM body parsing model published as l2d_sam_iter2 for semantic body part segmentation.

Official sources

  1. Issues
  2. License: Apache-2.0
  3. README
  4. shitagaki-lab/see-through 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/shitagaki-lab-see-through.svg)](https://hysenlabs.com/projects/shitagaki-lab-see-through)

Star history chart for your README

markdown
[![Star history](https://hysenlabs.com/chart/shitagaki-lab-see-through.svg)](https://hysenlabs.com/projects/shitagaki-lab-see-through)

Was this useful?