Missing Prior Model File and Transfer Learning Setup in REINVENT4 #268
-
|
When running transfer learning in REINVENT4 on Google Colab, the process fails with: RuntimeError: model file /content/REINVENT4/priors/reinvent.prior is not accessible It seems that the repository does not include the required reinvent.prior file, but the provided TOML configuration still points to it under priors/. Could you clarify where this prior model file should be obtained, or whether an officially provided checkpoint is available? Additionally, what edits should be made in the default transfer learning TOML/config setup to make it run successfully if the prior is not bundled? For example, should we replace input_model_file = "priors/reinvent.prior" with another pretrained checkpoint or path? Guidance on how to adapt the configuration for a working run would be very helpful. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
|
You will need to adjust the path to the actual location of the prior file. The file is in the repository. |
Beta Was this translation helpful? Give feedback.
-
|
I do not know how to upload data to Colab. That is really not a REINVENT question. The priors are still in the repository because a git repository is designed such that it keeps all the history (it requires special tools to really delete data). |
Beta Was this translation helpful? Give feedback.
-
|
You would need to check out a revision where the file was still in the working tree. You may be able to do that directly in your Colab notebook. E.g. git checkout b441244 priors/reinvent.prior |
Beta Was this translation helpful? Give feedback.

You would need to check out a revision where the file was still in the working tree. You may be able to do that directly in your Colab notebook. E.g.