Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aigc3d/LHM
/ model_type
Function
model_type
engine/SegmentAPI/SAM.py:114–115 ·
view source on GitHub ↗
(model)
Source
from the content-addressed store, hash-verified
112
113
114
def
model_type(model):
115
print(next(model.parameters()).device)
116
117
118
class
SAM2Seg(BaseSeg):
Callers
nothing calls this directly
Calls
1
print
Function · 0.85
Tested by
no test coverage detected