Janus
Janus copied to clipboard
AttributeError: 'tuple' object has no attribute 'get_seq_length'
Hi,
When I ran the JanusFlow model, it had the error "AttributeError: 'tuple' object has no attribute 'get_seq_length'". How to solve it?
Thanks,
Regards,
Simon
reinstall transformers==4.38.2
reinstall transformers==4.38.2
Thanks! It works for me.
i got a fix without having to reinstall transformers
https://github.com/deepseek-ai/Janus/issues/77#issuecomment-2634147660