Skip to content

Commit e254d87

Browse files
authored
Assert the text embeddings process successfully runs (threestudio-project#387)
1 parent 894390a commit e254d87

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • threestudio/models/prompt_processors

threestudio/models/prompt_processors/base.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -379,6 +379,7 @@ def prepare_text_embeddings(self):
379379
)
380380
subprocess.start()
381381
subprocess.join()
382+
assert subprocess.exitcode == 0, "prompt embedding process failed!"
382383
else:
383384
self.spawn_func(
384385
self.cfg.pretrained_model_name_or_path,

0 commit comments

Comments
 (0)