jyC23333

Results 8 comments of jyC23333

@20191864218 Hi, yes, I've already adapt the qwen model to llava. Many details should be noticed. I suggest you to follow this repo to adapt qwen to llava: https://github.com/Ucas-HaoranWei/Vary Vary...

You can check whether the pad_token is undefined in your tokenizer. When I adapt Qwen to llava, the pad_token is None in QwenTokenizer, which caused the same error.

The pad_token is used to make attention mask, just set the pad_token_id as -100 directly in the training code will solve it.

> at the end of the setup.py file, find: > > setup( ext_modules=cythonize(ext_modules), include_dirs=[numpy_include_dir], cmdclass={ 'build_ext': BuildExtension } ) > > add "include_dirs=[numpy_include_dir]," as above. > > That's how I...

Hi,@SkalskiP ,my code shows below: ```python import cv2 import maestro image = cv2.imread('./鲫鱼.png') generator = maestro.SegmentAnythingMarkGenerator(device='cuda') marks = generator.generate(image=image) marks = maestro.refine_marks(marks=marks) mark_visualizer = maestro.MarkVisualizer() marked_image = mark_visualizer.visualize(image=image, marks=marks) ```...

@SkalskiP Hi,the bug still exists with the latest version. ![image](https://github.com/roboflow/multimodal-maestro/assets/110331827/e5d7e24f-81db-485c-a232-c2d0137509c3) This is my cuda info: ![image](https://github.com/roboflow/multimodal-maestro/assets/110331827/48aeb4a8-dfec-4b44-94a9-472a6ade1332) And I'm using torch 2.1.0: ![image](https://github.com/roboflow/multimodal-maestro/assets/110331827/e02fb66b-792d-42db-8352-79502e0d3839)

@SkalskiP Hi,the dependent info is: ![image](https://github.com/roboflow/multimodal-maestro/assets/110331827/10c7d34e-b95a-4e28-b851-2a135154cb3a) ![image](https://github.com/roboflow/multimodal-maestro/assets/110331827/cde75759-4cf7-492c-9f75-27da5a52b8dd)