microsoft / microsoft/TRELLIS

NameError: name 'FlexiCubes' is not defined

Open
#32 12 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

I have faced these error many times after setting all required libraires i install everything but these error still facing me

sipython-input-4-e36362159f8f> in <cell line: 13>()

Load a pipeline from a model folder or a Hugging Face model hub.

= TrellisImageTo3DPipeline. from_pretrained ("JeffreyXiang/TRELLIS-image-large")
pipeline. cuda ()
TRELLIS
15
sample_data
5 frames
/content/TRELLIS/trellis/representations/mesh/cube2mesh.py in_init_(self, device, res, use_color)
self.device=device
self. res = res
self mesh_extractor = FlexiCubes(device=device)
self.sdf_bias = -1.0 / res
verts, cube = construct_dense_grid(self.res, self.device)
NameError: name 'FlexiCubes' is not defined

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 trellis/representations/mesh/cube2mesh.py and the TrellisImageTo3DPipeline.from_pretrained call shown in the traceback. Reproduce the pipeline load in the reported environment and trace why FlexiCubes is unavailable; done means the model loads without this NameError.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
computer-graphics, machine-learning
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.