MCPcopy Create free account
hub / github.com/drinkingcoder/NeuralMarker / inference_model

Method inference_model

flow_estimator.py:65–75  ·  view source on GitHub ↗
(self, im1, im2)

Source from the content-addressed store, hash-verified

63
64 @torch.no_grad()
65 def inference_model(self, im1, im2):
66 self.network.eval()
67 output = self.network(im1, im2, iters=self.args.iters, test_mode=True)
68 '''
69 if output is tuple:
70 print(len(output))
71 if output[1] is tuple:
72 print(len(output[1]))
73 print(output[1][0].shape)
74 '''
75 return output[1]
76

Callers 1

estimateMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected