Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ChenhongyiYang/QueryDet-PyTorch
/ device
Method
device
models/querydet/detector.py:160–161 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
158
159
@property
160
def
device(self):
161
return
self.pixel_mean.device
162
163
def
forward(self, batched_inputs, just_forward=False):
164
if
self.training:
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected