Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
tzole1155 committed Oct 23, 2024
2 parents 9a638d0 + 8b627ef commit 37e82e8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docker/serve/azure/pt220-cu118/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ghcr.io/moverseai/moai/serve:v1.1.2-pt220-cu118
FROM ghcr.io/moverseai/moai/serve:v1.1.3-pt220-cu118

USER root

Expand Down
2 changes: 2 additions & 0 deletions moai/serve/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,8 @@ def postprocess(
log.debug(f"Postprocessing outputs:\n{data['__moai__']}")
outs = [] # TODO: corner case with no postproc crashes, fix it
for k, p in self.postproc.items():
if isinstance(p, omegaconf.dictconfig.DictConfig):
continue
res = p(data, data["__moai__"]["json"])
if len(outs) == 0:
outs = res
Expand Down
2 changes: 1 addition & 1 deletion moai/visualization/rerun/mesh.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def __call__(
self.path,
rr.Mesh3D(
vertex_positions=vertices[0],
triangle_indices=faces[0],
indices=faces[0],
vertex_colors=np.tile(
np.array(self.color.get_rgb() + (1,)), (vertices.shape[1], 1)
), # TODO: memoize
Expand Down

0 comments on commit 37e82e8

Please sign in to comment.