Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
1
import
os
2
os.environ[
"PYTORCH_CUDA_ALLOC_CONF"
] =
"expandable_segments:True"
# Can save GPU memory
3
import
trimesh
4
from
PIL
import
Image
Callers
nothing calls this directly
Calls
4
from_pretrained
Method · 0.45
cuda
Method · 0.45
load
Method · 0.45
run
Method · 0.45
Tested by
no test coverage detected