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

AssertionError: Model 'mini_gpt4' has not been registered. #530

Open
MaTengSYSU opened this issue Sep 23, 2024 · 0 comments
Open

AssertionError: Model 'mini_gpt4' has not been registered. #530

MaTengSYSU opened this issue Sep 23, 2024 · 0 comments

Comments

@MaTengSYSU
Copy link

AssertionError: Model 'mini_gpt4' has not been registered.

(BAP) (base) [mateng@localhost BAP-Jailbreak-Vision-Language-Models-via-Bi-Modal-Adversarial-Prompt]$ python VAP.py

Initializing Models
Traceback (most recent call last):
File "/mnt/sda1/mateng/BAP-Jailbreak-Vision-Language-Models-via-Bi-Modal-Adversarial-Prompt/VAP.py", line 71, in
cfg = Config(args)
File "/mnt/sda1/mateng/BAP-Jailbreak-Vision-Language-Models-via-Bi-Modal-Adversarial-Prompt/MiniGPT-4/minigpt4/common/config.py", line 30, in init
model_config = self.build_model_config(config, **user_config)
File "/mnt/sda1/mateng/BAP-Jailbreak-Vision-Language-Models-via-Bi-Modal-Adversarial-Prompt/MiniGPT-4/minigpt4/common/config.py", line 63, in build_model_config
assert model_cls is not None, f"Model '{model.arch}' has not been registered."
AssertionError: Model 'mini_gpt4' has not been registered.

May I ask why this is? There is a similar issue in ISSUE, and after carefully reading it, I did not make the same mistake.

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

1 participant