Skip to content

image_processor is None. loading pertained_model fail #2

@SeongRyong0726

Description

@SeongRyong0726

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions