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

Method proj

utils/pointProcess.py:74–79  ·  view source on GitHub ↗
(self, pt)

Source from the content-addressed store, hash-verified

72 self.visib_radius = visib_radius
73
74 def proj(self, pt):
75 sph_proj = self.do_sph_projection(pt)
76 sph_proj = sph_proj.reshape([1, self.sph_H, self.sph_W])
77 sph_proj = torch.from_numpy(sph_proj).to(
78 self.device, dtype=torch.float)
79 return sph_proj
80
81 def proj_img(self, pt):
82 sph_proj = self.do_sph_projection(pt)

Callers

nothing calls this directly

Calls 1

do_sph_projectionMethod · 0.95

Tested by

no test coverage detected