CogVLM
CogVLM copied to clipboard
a state-of-the-art-level open visual language model | 多模态预训练模型

### System Info / 系統信息 python 3.9 ### Who can help? / 谁可以帮助到您? [rank0]: if tokenizer.pad_token_id is None: [rank0]: AttributeError: 'bool' object has no attribute 'pad_token_id' ### Information / 问题信息...
- Handle both 2-coordinate points [x,y] and 4-coordinate boxes [x1,y1,x2,y2] - Convert 2-coordinate points to small bounding boxes around the point - Add validation to skip invalid coordinate formats with...
### System Info / 系統信息 Traceback (most recent call last): File "/home/ubuntu/haize/CogVLM/basic_demo/cli_demo_hf.py", line 137, in outputs = model.generate(**inputs, **gen_kwargs) File "/home/ubuntu/anaconda3/envs/cogagent/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context return func(*args, **kwargs) File "/home/ubuntu/anaconda3/envs/cogagent/lib/python3.10/site-packages/transformers/generation/utils.py",...