MCPcopy Create free account
hub / github.com/UVA-Computer-Vision-Lab/FrameINO / dino_transform_Image

Function dino_transform_Image

evaluation/evaluate_INO_DINO.py:19–24  ·  view source on GitHub ↗
(n_px)

Source from the content-addressed store, hash-verified

17
18
19def dino_transform_Image(n_px):
20 return Compose([
21 Resize(size=n_px, antialias=False),
22 ToTensor(),
23 Normalize((0.485, 0.456, 0.406), (0.229, 0.224, 0.225))
24 ])
25
26
27

Callers 1

INO_DINO_evaluationFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected