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

[BUG] Installing CLIP model breaks ChatRTX #74

Open
sloomingbla opened this issue Jun 19, 2024 · 1 comment
Open

[BUG] Installing CLIP model breaks ChatRTX #74

sloomingbla opened this issue Jun 19, 2024 · 1 comment
Assignees

Comments

@sloomingbla
Copy link

After installing CLIP, I get this error

File "C:\Users\sloom\AppData\Local\NVIDIA\ChatRTX\env_nvd_rag\lib\site-packages\transformers\image_transforms.py", line 386, in normalize
raise ValueError(f"mean must have {num_channels} elements if it is an iterable, got {len(mean)}")
ValueError: mean must have 1 elements if it is an iterable, got 3

among many others. If I close ChatRTX after this I need to run a clean install to fix it.

Otherwise, if I remove CLIP from my aimodels, once I restart it will start working again.

@anujj anujj self-assigned this Jun 24, 2024
@anujj
Copy link
Collaborator

anujj commented Jun 24, 2024

i will check this issue

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