MCPcopy Create free account
hub / github.com/bbaaii/DreamDiffusion / __init__

Method __init__

code/eval_metrics.py:47–49  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

45
46class fid_wrapper:
47 def __init__(self):
48 self.device = "cuda" if torch.cuda.is_available() else "cpu"
49 self.fid = FrechetInceptionDistance(feature=64)
50
51 @torch.no_grad()
52 def __call__(self, pred_imgs, gt_imgs):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected