We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The text was updated successfully, but these errors were encountered:
Janus模块是3.10以下的,3.11以上导入就出错。
from janus.models import MultiModalityCausalLM, VLChatProcessor /usr/local/lib/python3.11/dist-packages/transformers/models/auto/image_processing_auto.py:590: FutureWarning: The image_processor_class argument is deprecated and will be removed in v4.42. Please use `slow_image_processor_class`, or `fast_image_processor_class` instead warnings.warn( Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/janus/janus/models/__init__.py", line 21, in <module> from .modeling_vlm import MultiModalityCausalLM File "/janus/janus/models/modeling_vlm.py", line 21, in <module> from attrdict import AttrDict File "/usr/local/lib/python3.11/dist-packages/attrdict/__init__.py", line 5, in <module> from attrdict.mapping import AttrMap File "/usr/local/lib/python3.11/dist-packages/attrdict/mapping.py", line 4, in <module> from collections import Mapping ImportError: cannot import name 'Mapping' from 'collections' (/usr/lib/python3.11/collections/__init__.py)
Sorry, something went wrong.
No branches or pull requests
The text was updated successfully, but these errors were encountered: