-
Notifications
You must be signed in to change notification settings - Fork 11
image_processor is None. loading pertained_model fail #2
Copy link
Copy link
Open
Description
Thanks to your great work.
I faced "image_processor = None" when I run inference.py.
Below is error code and when I print the model_name, it print 'Dispider'
Traceback (most recent call last): File "/home/inference.py", line 257, in <module> main() File "/home/inference.py", line 252, in main streamer = videoStream(args.model_path) File "/home/inference.py", line 187, in __init__ self.image_processor, self.time_tokenizer = image_processor TypeError: cannot unpack non-iterable NoneType object
image_processor is loaded in load_pretrained_model function in /dispider/model.
Since 'model_name' is DIspider, image_processor cannot be loaded.
(it seems that model_name should include "llava" "long" "ground".)
Thanks
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels