Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AttributeError: 'dict' object has no attribute 'to_dict' #537

Open
xiGHK opened this issue Feb 12, 2025 · 2 comments
Open

AttributeError: 'dict' object has no attribute 'to_dict' #537

xiGHK opened this issue Feb 12, 2025 · 2 comments

Comments

@xiGHK
Copy link

xiGHK commented Feb 12, 2025

accelerate launch --num_processes 8 --main_process_port 12345 -m lmms_eval
--model llava_vid
--model_args pretrained=lmms-lab/LLaVA-NeXT-Video-32B-Qwen,conv_template=qwen_1_5,video_decode_backend=decord,max_frames_num=32,mm_spatial_pool_mode=average,mm_newline_position=grid,mm_resampler_location=after
--tasks videomme
--batch_size 1
--log_samples
--log_samples_suffix llava_vid_32B
--output_path ./logs/

Running the newly updated cli code gives the error AttributeError: 'dict' object has no attribute 'to_dict'

@MouxiaoHuang
Copy link

Excuse me, have you solved the problem?

@MouxiaoHuang
Copy link

Excuse me, have you solved the problem?

Oh, never mind. I downgraded the transformers version from 4.49.0 to 4.39.3 to solved it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants