-
Notifications
You must be signed in to change notification settings - Fork 10
Description
Issue Description:
I encountered an error when trying to load an index created using Voyager as the backend on a Windows system. The error message displayed is: "Corrupted or unsupported index."
Steps to Reproduce:
Create an index using Voyager as the backend.
Save the index.
Attempt to load the index on a Windows system.
Expected Behavior:
The index should load without any errors.
Actual Behavior:
The system throws an error stating "Corrupted or unsupported index."
Reference:
This issue is known and has been documented in the Voyager repository: GitHub Issue #40.
Resolution:
To resolve the issue, you can modify the load method in the voyager.py file. Follow these steps:
Navigate to the Vicinity directory within your virtual environment.
Locate the file vicinity/backend/voyager.py.
Modify the load method as follows:
with open(path, 'rb') as f:
index = Index.load(f)This will fix the error.