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

Facing this error while using DialogScorer #5

Closed
phanisai22 opened this issue Mar 18, 2022 · 4 comments
Closed

Facing this error while using DialogScorer #5

phanisai22 opened this issue Mar 18, 2022 · 4 comments

Comments

@phanisai22
Copy link

MicrosoftTeams-image (1)

@mingkaid
Copy link
Collaborator

Thank you for raising the issue, and sorry for the delay. Could you let us know the version of your Python and torch? We're trying to reproduce the error.

@phanisai22
Copy link
Author

Hi @mingkaid, I'm using Google Collab, these are the default versions, Python 3.7.13, Torch 1.10.0+cu111.

@yuh-zha yuh-zha pinned this issue Apr 20, 2022
@yuh-zha
Copy link
Collaborator

yuh-zha commented Apr 20, 2022

Hi @phanisai22 @jungokasai , gdrive recently change their download logic. We've updated the model loading part and it should work now!

However, there is possibility that the downloading process failed (e.g. MD5 does not match) due to something we can't control (e.g. gdrive changes their logic again, Internet connection...). If you find the same error states that invalid load key, I suggest that you download it manually to ~/.cache/ctc_score_models/{dataset_name}/{ckpt_file_name}. All the download information can be found at (https://github.com/tanyuqian/ctc-gen-eval/blob/master/ctc_score/configs.py).

And a kind reminder: if you previously ran the model and it failed. I suggest that delete the cached file at ~/.cache/ctc_score_models/ by executing rm -rf ~/.cache/ctc_score_models/

@yuh-zha yuh-zha closed this as completed Apr 20, 2022
@yuh-zha
Copy link
Collaborator

yuh-zha commented Apr 20, 2022

If you previously installed ctc-score via pypi, it is highly recommended to update it via pip install ctc-score --upgrade.

@hunterhector hunterhector unpinned this issue Jun 5, 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

No branches or pull requests

3 participants