MCPcopy 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
114def model_type(model):
115 print(next(model.parameters()).device)
116
117
118class SAM2Seg(BaseSeg):

Callers

nothing calls this directly

Calls 1

printFunction · 0.85

Tested by

no test coverage detected