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

Error when running 02.Phi3_Vision.ipynb #47

Closed
revodavid opened this issue Jan 22, 2025 · 2 comments
Closed

Error when running 02.Phi3_Vision.ipynb #47

revodavid opened this issue Jan 22, 2025 · 2 comments

Comments

@revodavid
Copy link
Member

In src/01.notebooks demo, running Cell 3 gives the following error:

Cell In[4], [line 3](vscode-notebook-cell:?execution_count=4&line=3)
      [1](vscode-notebook-cell:?execution_count=4&line=1) # Create an instance of the Model class from the onnxruntime_genai module
      [2](vscode-notebook-cell:?execution_count=4&line=2) # This instance is initialized with the path to the model file
----> [3](vscode-notebook-cell:?execution_count=4&line=3) model = og.Model(model_path)
      [5](vscode-notebook-cell:?execution_count=4&line=5) # Create a multimodal processor using the model instance
      [6](vscode-notebook-cell:?execution_count=4&line=6) # This processor will handle different types of input data (e.g., text, images)
      [7](vscode-notebook-cell:?execution_count=4&line=7) processor = model.create_multimodal_processor()

RuntimeError: Error encountered while parsing '../../Models/Phi-3-vision-128k-instruct-onnx-cpu/cpu-int4-rtn-block-32-acc-level-4/genai_config.json' JSON Error: Unknown value: visual_features at line 44 index 53

Environment: Codespace

@leestott
Copy link
Collaborator

fixed with #49

@kinfey
Copy link
Contributor

kinfey commented Jan 27, 2025

this is the problem about Phi-3-v, I have update Phi-3.5-v , thanks @revodavid

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

3 participants