Skip to content

Commit 02f7388

Browse files
committed
Fix infer
Signed-off-by: heyufan1995 <heyufan1995@gmail.com>
1 parent 0d2d5a2 commit 02f7388

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

scripts/infer.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,7 @@ def infer(
168168
batch_data = self.batch_data
169169
else:
170170
batch_data = self.infer_transforms(image_file)
171+
batch_data["label_prompt"] = label_prompt
171172
batch_data = list_data_collate([batch_data])
172173
self.batch_data = batch_data
173174
if point is not None:

0 commit comments

Comments
 (0)