microsoft / microsoft/TRELLIS

ModuleNotFoundError: No module named 'trellis.representations.mesh.flexicubes.flexicubes'

Open
#102 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
13.7k
Forks
1.3k
PR merge metrics
No merged PRs in 30d

Description

run python ./app.py

[SPARSE] Backend: spconv, Attention: flash_attn
Traceback (most recent call last):
File "/home/jerryao/TRELLIS/app.py", line 12, in
from trellis.pipelines import TrellisImageTo3DPipeline
File "/home/jerryao/TRELLIS/trellis/init.py", line 3, in
from . import pipelines
File "/home/jerryao/TRELLIS/trellis/pipelines/init.py", line 2, in
from .trellis_image_to_3d import TrellisImageTo3DPipeline
File "/home/jerryao/TRELLIS/trellis/pipelines/trellis_image_to_3d.py", line 15, in
from ..representations import Gaussian, Strivec, MeshExtractResult
File "/home/jerryao/TRELLIS/trellis/representations/init.py", line 4, in
from .mesh import MeshExtractResult
File "/home/jerryao/TRELLIS/trellis/representations/mesh/init.py", line 1, in
from .cube2mesh import SparseFeatures2Mesh, MeshExtractResult
File "/home/jerryao/TRELLIS/trellis/representations/mesh/cube2mesh.py", line 5, in
from .flexicubes.flexicubes import FlexiCubes
ModuleNotFoundError: No module named 'trellis.representations.mesh.flexicubes.flexicubes'

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with app.py and follow the traceback through trellis/representations/mesh/cube2mesh.py, especially the import of FlexiCubes. Check the flexicubes package contents and project setup to determine why trellis.representations.mesh.flexicubes.flexicubes cannot be imported. Done means running python ./app.py no longer fails at this import.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
computer-graphics
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.