MCPcopy Index your code
hub / github.com/microsoft/TRELLIS.2 / example_texturing.py

File example_texturing.py

example_texturing.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import os
2os.environ["PYTORCH_CUDA_ALLOC_CONF"] = "expandable_segments:True" # Can save GPU memory
3import trimesh
4from PIL import Image

Callers

nothing calls this directly

Calls 4

from_pretrainedMethod · 0.45
cudaMethod · 0.45
loadMethod · 0.45
runMethod · 0.45

Tested by

no test coverage detected