PCIResearch / TransCore-M

Large Multimodal Model
15 stars 1 forks source link

AttributeError: 'NoneType' object has no attribute 'preprocess' #1

Open lzhhha opened 7 months ago

lzhhha commented 7 months ago

Traceback (most recent call last): File "/root/share/program/test_LVLM/TransCore-M/inference.py", line 31, in output_result = eval_model(args_params) File "/root/share/program/test_LVLM/TransCore-M/transcorem/eval/run_transcorem.py", line 57, in eval_model image_tensor = image_processor.preprocess(image, return_tensors='pt')['pixel_values'].half().cuda() AttributeError: 'NoneType' object has no attribute 'preprocess'