Skip to content

Fix osediff_path and BertTokenizer path#27

Open
zhtjtcz wants to merge 2 commits into
cswry:mainfrom
zhtjtcz:main
Open

Fix osediff_path and BertTokenizer path#27
zhtjtcz wants to merge 2 commits into
cswry:mainfrom
zhtjtcz:main

Conversation

@zhtjtcz
Copy link
Copy Markdown

@zhtjtcz zhtjtcz commented Aug 8, 2024

When running on Ubuntu, I encountered the following error:

FileNotFoundError: [Errno 2] No such file or directory: 'presetmodelsosediff.pkl'

osediff_path should use preset/models/osediff.pkl instead of preset\models\osediff.pkl.

And change the path of the BertTokenizer from the local path to the repo id on the huggingface.

@zhtjtcz zhtjtcz changed the title Fix osediff_path Fix osediff_path and BertTokenizer path Aug 8, 2024
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

Successfully merging this pull request may close these issues.

1 participant