Closed qqiuqq closed 8 months ago
Hi @qqiuqq , thank you for your interest. I have updated the repo, please update the code and try it once again. Let me know if it works now.
same question
Hi @qqiuqq , thank you for your interest. I have updated the repo, please update the code and try it once again. Let me know if it works now.
it works! tanks!
Hi @qqiuqq , thank you for your interest. I have updated the repo, please update the code and try it once again. Let me know if it works now.
I'm trying to reproduce it for the vqa task, but it's reporting the same error in batch_geochat_vqa.py. Do you know how to fix it?
I'm trying to reproduce it for scene categorization, but it's reporting an error in batch_geochat_scene.py. Here is what the error is reported: Traceback (most recent call last): File "/opt/data/private/RS-MLLM/GeoChat/./geochat/eval/batch_geochat_scene.py", line 149, in eval_model(args) File "/opt/data/private/RS-MLLM/GeoChat/./geochat/eval/batch_geochat_scene.py", line 102, in eval_model image_tensor_batch = image_processor.preprocess(image_folder,crop_size ={'height': 504, 'width': 504},size = {'shortest_edge': 504}, return_tensors='pt')['pixel_values'] AttributeError: 'NoneType' object has no attribute 'preprocess'
and I checked image_processor and it is assigned to None in builder.py
I'm trying to reproduce it for the vqa task, but it's reporting the same error in batch_geochat_vqa.py. Do you know how to fix it?
I'm trying to reproduce it for scene categorization, but it's reporting an error in batch_geochat_scene.py. Here is what the error is reported: Traceback (most recent call last): File "/opt/data/private/RS-MLLM/GeoChat/./geochat/eval/batch_geochat_scene.py", line 149, in
eval_model(args)
File "/opt/data/private/RS-MLLM/GeoChat/./geochat/eval/batch_geochat_scene.py", line 102, in eval_model
image_tensor_batch = image_processor.preprocess(image_folder,crop_size ={'height': 504, 'width': 504},size = {'shortest_edge': 504}, return_tensors='pt')['pixel_values']
AttributeError: 'NoneType' object has no attribute 'preprocess'
and I checked image_processor and it is assigned to None in builder.py