Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenDriveLab/ReSim
/ inference_yolos.py
File
inference_yolos.py
SwissArmyTransformer/examples/yolos/inference_yolos.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
torch
2
import
torch.nn
as
nn
3
import
os
4
import
torch.nn.functional
as
F
Callers
nothing calls this directly
Calls
13
nested_tensor_from_tensor_list
Function · 0.90
CocoDetection
Class · 0.85
save_pred_fig
Function · 0.85
save_gt_fig
Function · 0.85
get_mixin
Method · 0.80
exists
Method · 0.80
device
Method · 0.80
to
Method · 0.80
make_coco_transforms
Function · 0.70
from_pretrained
Method · 0.45
reinit
Method · 0.45
__getitem__
Method · 0.45
Tested by
no test coverage detected