You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi!!
I want to do some experiments with Llava. But I don't know how to set the image input to a null value. args = type('Args', (), { "model_path": model_path, "model_base": None, "model_name": get_model_name_from_path(model_path), "query": prompt, "conv_mode": None, "image_file": image_file, "sep": ",", "temperature": 0, "top_p": None, "num_beams": 1, "max_new_tokens": 512 })()
If I set the "image_file" to None, the model will give me a error: AttributeError: 'NoneType' object has no attribute 'split'
The text was updated successfully, but these errors were encountered:
Question
Hi!!
I want to do some experiments with Llava. But I don't know how to set the image input to a null value.
args = type('Args', (), { "model_path": model_path, "model_base": None, "model_name": get_model_name_from_path(model_path), "query": prompt, "conv_mode": None, "image_file": image_file, "sep": ",", "temperature": 0, "top_p": None, "num_beams": 1, "max_new_tokens": 512 })()
If I set the "image_file" to None, the model will give me a error:
AttributeError: 'NoneType' object has no attribute 'split'
The text was updated successfully, but these errors were encountered: