Skip to content

Commit

Permalink
Release 2.2.0
Browse files Browse the repository at this point in the history
FIxing i2i label
  • Loading branch information
dylanuys authored Feb 20, 2025
1 parent 8fe4dcb commit 2f0d2fe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bitmind/validator/forward.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ def determine_challenge_type(media_cache, fake_prob=0.5):
elif modality == 'image':
# 20% chance to use i2i (in-painting)
task = 'i2i' if np.random.rand() < 0.2 else 't2i'
label = 2
cache = cache[task]
return label, modality, task, cache

Expand Down

0 comments on commit 2f0d2fe

Please sign in to comment.