ydshieh
commited on
Commit
·
bcdd5f7
1
Parent(s):
b05f10c
improve doc
Browse files
run_image_captioning_flax.py
CHANGED
@@ -803,6 +803,7 @@ def main():
|
|
803 |
"""
|
804 |
|
805 |
model_inputs = {}
|
|
|
806 |
model_inputs.update(tokenization_fn(examples, max_target_length))
|
807 |
model_inputs.update(feature_extraction_fn(model_inputs))
|
808 |
# Remove image path column
|
|
|
803 |
"""
|
804 |
|
805 |
model_inputs = {}
|
806 |
+
# This contains image path column
|
807 |
model_inputs.update(tokenization_fn(examples, max_target_length))
|
808 |
model_inputs.update(feature_extraction_fn(model_inputs))
|
809 |
# Remove image path column
|