NameError: name 'FlexiCubes' is not defined
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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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