Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/YZY-stack/DF40
/ inference
Function
inference
DeepfakeBench_DF40/training/test.py:142–144 ·
view source on GitHub ↗
(model, data_dict)
Source
from the content-addressed store, hash-verified
140
141
@torch.no_grad()
142
def
inference(model, data_dict):
143
predictions = model(data_dict, inference=True)
144
return
predictions
145
146
147
def
main():
Callers
1
test_one_dataset
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected