MCPcopy Create free account
hub / github.com/MetaSLAM/SphereVLAD / infer_frame

Method infer_frame

models/robotLCD.py:151–155  ·  view source on GitHub ↗
(self, x, t=False)

Source from the content-addressed store, hash-verified

149#! Inference #
150#!=======================================================================#
151 def infer_frame(self, x, t=False):
152 if self.config.MODEL.TYPE in ["Lidar", "LiSPH"]:
153 return self.infer_lidar(*x, t)
154 elif self.config.MODEL.TYPE == "Image":
155 return self.infer_image(*x, t)
156
157 def infer_image(self, x, t=False):
158 self.model.eval()

Callers 1

get_features_recallMethod · 0.80

Calls 2

infer_lidarMethod · 0.95
infer_imageMethod · 0.95

Tested by

no test coverage detected