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
Following your instruction, I run
export DEFAULT_IMG_PATH=fig/baby.mp4 python q_align/evaluate/scorer.py --img_path $DEFAULT_IMG_PATH --video --model-path q-future/one-align
and I meet such error
Traceback (most recent call last): File "/Users/momiao/Desktop/Projects/Q-Align/q_align/evaluate/scorer.py", line 147, in <module> scorer = QAlignVideoScorer(pretrained=args.model_path, device=args.device) File "/Users/momiao/Desktop/Projects/Q-Align/q_align/evaluate/scorer.py", line 102, in __init__ tokenizer, model, image_processor, _ = load_pretrained_model(pretrained, None, "mplug_owl2", device=device) File "/Users/momiao/Desktop/Projects/Q-Align/q_align/model/builder.py", line 106, in load_pretrained_model tokenizer = AutoTokenizer.from_pretrained(model_path, use_fast=False) File "/Users/momiao/miniforge3/envs/q_align/lib/python3.9/site-packages/transformers/models/auto/tokenization_auto.py", line 803, in from_pretrained tokenizer_class_py, tokenizer_class_fast = TOKENIZER_MAPPING[type(config)] File "/Users/momiao/miniforge3/envs/q_align/lib/python3.9/site-packages/transformers/models/auto/auto_factory.py", line 737, in __getitem__ model_type = self._reverse_config_mapping[key.__name__] KeyError: 'MPLUGOwl2Config'
The text was updated successfully, but these errors were encountered:
could anyone help me about this question? Does this repo really have such good results as they claimed?
Sorry, something went wrong.
following code does not work either
import pyiqa import torch qalign = pyiqa.create_metric('qalign').cuda() quality_score = qalign(input, task_='quality') aesthetic_score = qalign(input, task_='aesthetic')
did you try pip install "transformers==4.36.1"? I ran into the issue similar to this and the solution there fixes it
pip install "transformers==4.36.1"
I tried but failed the same.
No branches or pull requests
Following your instruction, I run
and I meet such error
The text was updated successfully, but these errors were encountered: