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 in loading pre-trained models for minigames #35

Open
XinyiYS opened this issue Mar 14, 2020 · 2 comments
Open

Error in loading pre-trained models for minigames #35

XinyiYS opened this issue Mar 14, 2020 · 2 comments
Labels

Comments

@XinyiYS
Copy link

XinyiYS commented Mar 14, 2020

Hi just wanted to reproduce the results reported by downloading the zip files from releases

I ran into two issues:

  1. In the unzipped folders, there seems to be missing the config.gin files
  2. In an attempt to resolve the first issue, I started the training for the corresponding minigame and interrupted to get the config.gin file. But loading the model checkpoints seems to give another problem, giving the error message:
    Restoring from checkpoint failed. This is most likely due to a Variable name or other graph key that is missing from the checkpoint.
    Could it be due to the version of tensorflow?

Thanks again!

@inoryy inoryy added the bug label Mar 23, 2020
@inoryy
Copy link
Owner

inoryy commented Mar 23, 2020

Hello,

  1. A dedicated config shouldn't be necessary as the model weights were trained with the provided configs (although that might have changed, will need to double check).
  2. This is indeed probably due to updates to TF version and I will have to re-train the models from scratch. In the meantime you can use the same version of code and deps as the one used when weights were released.

@XinyiYS
Copy link
Author

XinyiYS commented Mar 25, 2020

Got it. Was just wondering if there would be a hack or workaround of the error. Thanks for the response.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants