We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6e3201f commit a1da5e2Copy full SHA for a1da5e2
1 file changed
vista3d/modeling/vista3d.py
100644
100755
@@ -310,15 +310,14 @@ def forward(
310
)
311
torch.cuda.synchronize()
312
print(f"Encoder Time: {time.time() - time0}, shape : {input_images.shape}, point: {point_coords is not None}")
313
- if False:
+ if self.engine is None:
314
# breakpoint()
315
torch.onnx.export(self.image_encoder,
316
(input_images,),
317
"Encoder.onnx",
318
verbose=False,
319
opset_version=18
320
321
- self.engine = True
322
323
input_images = None
324
time1 = time.time()
0 commit comments