Skip to content

Commit

Permalink
Fix: Fix incorrect feature dimension
Browse files Browse the repository at this point in the history
  • Loading branch information
whats2000 committed Aug 2, 2024
1 parent 3636489 commit 250cdac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cirr_test_submission_clip.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ def generate_cirr_test_predictions(

# Initialize pairs_id, predicted_features, group_members and reference_names
pairs_id = []
predicted_features = torch.empty((0, 256)).to(device, non_blocking=True)
predicted_features = torch.empty((0, clip_text_encoder.text_projection.out_features)).to(device, non_blocking=True)
group_members = []
reference_names = []

Expand Down

0 comments on commit 250cdac

Please sign in to comment.