Skip to content

Commit

Permalink
Assert the text embeddings process successfully runs
Browse files Browse the repository at this point in the history
  • Loading branch information
johnbanq committed Dec 27, 2023
1 parent 894390a commit 646ae31
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions threestudio/models/prompt_processors/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -379,6 +379,7 @@ def prepare_text_embeddings(self):
)
subprocess.start()
subprocess.join()
assert subprocess.exitcode == 0, "prompt embedding process failed!"
else:
self.spawn_func(
self.cfg.pretrained_model_name_or_path,
Expand Down

0 comments on commit 646ae31

Please sign in to comment.