gehong-coder

Results 9 comments of gehong-coder

> ### 描述问题 > 下面是我的代码片段,我想为我的图像生成标题。 > > ```python > def gen_image_caption(self, imgs, temperature=0.2, top_p=0.7, num_beams=1, qs=None, max_new_tokens=512, batch_size=8, image_aspect_ratio=None): > ''' > [PIL.Image, ...] > ''' > image_sizes = [x.size...

Hello, author, If you follow EANN, why is the number of this Twitter data set inconsistent with EANN? You wrote 7021 5974, while EANN wrote 7898 6026, I am very...

Hello author, I saw the data you cleaned cleaned_train_text.pkl, its number is 15630 cleaned_test_text.pkl, its number is 2229 image_test:104 photos image_train:363 photos image_val:50 Filtering the data with images according to...

You are really responsible and thank you very much for your answer.

> Why does the speed of OCR become very slow after using 8 GPUs? device: RTX 3090, 8 gpu Problem solved by setting number_works=0

> try 4.36.2?It runs well on VILA1.5. @gehong-coder hello I use pip install git+https://github.com/huggingface/[email protected] /mnt/nfs/bj4-v100-1/data1/hong.ge/miniconda3/envs/vila/lib/python3.10/site-packages/transformers/utils/generic.py:441: UserWarning: torch.utils._pytree._register_pytree_node is deprecated. Please use torch.utils._pytree.register_pytree_node instead. _torch_pytree._register_pytree_node( /mnt/nfs/bj4-v100-1/data1/hong.ge/miniconda3/envs/vila/lib/python3.10/site-packages/transformers/utils/generic.py:309: UserWarning: torch.utils._pytree._register_pytree_node is deprecated. Please...

hello There are still errors. Why is this environment so difficult to build? The VILA1.5 model I downloaded cannot be loaded. Isn’t this code version universal? Traceback (most recent call...