XieKaiwen
XieKaiwen
Do I input my image size as an array [] for that argument? Is it [height, weight] or [weight, height]?
@wondervictor File "/home/jupyter/til-24-base/vlm/YOLO-World/VLMManager.py", line 25, in __init__ self.model = init_detector(cfg, checkpoint=checkpoint, device='cuda:0') File "/home/jupyter/til-24-base/vlm/YOLOvenv/lib/python3.10/site-packages/mmdet/apis/inference.py", line 102, in init_detector metainfo = DATASETS.build(test_dataset_cfg).metainfo File "/home/jupyter/til-24-base/vlm/YOLOvenv/lib/python3.10/site-packages/mmengine/registry/registry.py", line 570, in build return self.build_func(cfg, *args,...
@wondervictor please advise on how to edit the config files/deal with this error. The config i used for the Config.from() is taken from the file im this github and it...
@wondervictor hi sorry for troubling you so often, but could I get some advice on this? Must I just pip install from the github link?
@wondervictor I have resolved the error by pip installing the github link. However I was met with an error " File "/home/jupyter/til-24-base/vlm/YOLOvenv/lib/python3.10/site-packages/lvis/lvis.py", line 35, in _load_json with open(path, "r") as...
@CZ999-07 I followed the format in the LVIS dataset. and the captions I merged the name of all the different objects in the image into one sentence, then I used...
@CZ999-07 You captions really depends on how you want to use the model. I merged all the names of the different classes into one sentence, e.g. "plane . helicopter ....
@CZ999-07 i used the code from this github repo