Skip to content

Commit cb6d214

Browse files
authored
Temporally update yolo_world.py
1 parent 24c7121 commit cb6d214

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

yolo_world/models/detectors/yolo_world.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ def predict(self,
4343
img_feats, txt_feats = self.extract_feat(batch_inputs,
4444
batch_data_samples)
4545

46-
self.bbox_head.num_classes = self.num_test_classes
47-
# self.bbox_head.num_classes = txt_feats[0].shape[0]
46+
# self.bbox_head.num_classes = self.num_test_classes
47+
self.bbox_head.num_classes = txt_feats[0].shape[0]
4848
results_list = self.bbox_head.predict(img_feats,
4949
txt_feats,
5050
batch_data_samples,

0 commit comments

Comments
 (0)