Spaces:
Build error
Build error
praeclarumjj3
commited on
Commit
•
2a2a86d
1
Parent(s):
9c4915e
Update vcoder_llava/model/vcoder_ds_llava_arch.py
Browse files
vcoder_llava/model/vcoder_ds_llava_arch.py
CHANGED
@@ -178,7 +178,6 @@ class VCoderDSLlavaMetaForCausalLM(ABC):
|
|
178 |
cur_seg_idx = 0
|
179 |
cur_depth_idx = 0
|
180 |
for batch_idx, cur_input_ids in enumerate(input_ids):
|
181 |
-
print(cur_input_ids)
|
182 |
if (cur_input_ids == IMAGE_TOKEN_INDEX).sum() == 0 and (cur_input_ids == SEG_TOKEN_INDEX).sum() == 0:
|
183 |
# FIXME: this is a hacky fix, for deepspeed zero3 to work
|
184 |
cur_image_features = image_features[cur_image_idx]
|
|
|
178 |
cur_seg_idx = 0
|
179 |
cur_depth_idx = 0
|
180 |
for batch_idx, cur_input_ids in enumerate(input_ids):
|
|
|
181 |
if (cur_input_ids == IMAGE_TOKEN_INDEX).sum() == 0 and (cur_input_ids == SEG_TOKEN_INDEX).sum() == 0:
|
182 |
# FIXME: this is a hacky fix, for deepspeed zero3 to work
|
183 |
cur_image_features = image_features[cur_image_idx]
|