MCPcopy Create free account
hub / github.com/NVlabs/InstantSplat / write

Method write

utils/general_utils.py:118–123  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

116 self.silent = silent
117
118 def write(self, x):
119 if not self.silent:
120 if x.endswith("\n"):
121 old_f.write(x.replace("\n", " [{}]\n".format(str(datetime.now().strftime("%d/%m %H:%M:%S")))))
122 else:
123 old_f.write(x)
124
125 def flush(self):
126 old_f.flush()

Callers 15

evaluateFunction · 0.80
render_set_optimizeFunction · 0.80
write_cameras_textFunction · 0.80
write_next_bytesFunction · 0.80
write_images_textFunction · 0.80
write_points3D_textFunction · 0.80
save_plyMethod · 0.80
__init__Method · 0.80
readColmapCamerasFunction · 0.80
readColmapCamerasInterpFunction · 0.80
storePlyFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected