-
Notifications
You must be signed in to change notification settings - Fork 46
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
bug: ConcretizationTypeError
when trying to use prob_model.predictive()
#101
Comments
Hi Paul, |
@gianlucadetommaso it looks like it was my mistake! I passed in the directory |
Alright! I'm anyway refactoring the checkpointing to work with Orbax instead. This is part of #96 which will also enable model sharding. |
Looking forward to it! @gianlucadetommaso. As I've been using fortuna more, I've had some thoughts as well for possible feature enhancement / pull requests. What would be the best place to discuss such things? |
If you want to discuss something at high-level, I would open a Discussion. If you have a more concrete bug/feature request in mind, I'd suggest to open an issue. If you find some small problems and want directly to propose a quick fix, feel free to open a PR. |
Bug Report
Hi! I've trained a
prob_model
and created checkpoints. I then runprob_model.load_state
and attempt to produce predictions on the test set. However, I'm getting the following error:... pspec=PartitionSpec('processes',) ] b from line [/home/pscemama/bayesian-conformal-sets/.venv/lib/python3.10/site-packages/orbax/checkpoint/utils.py:63](https://vscode-remote+ssh-002dremote-002brapidstart.vscode-resource.vscode-cdn.net/home/pscemama/bayesian-conformal-sets/.venv/lib/python3.10/site-packages/orbax/checkpoint/utils.py:63) (sync_global_devices) See https://jax.readthedocs.io/en/latest/errors.html#jax.errors.ConcretizationTypeError
The only thing I've done that is not standard is use my own custom model, which is here:
Steps to reproduce:
Other information:
The data is coming from a
torch
dataloader, and converted with.from_torch_dataloader()
. Let me know if you need more information on the actual data.My hunch is that maybe I'm doing something wrong here. Any guidance is appreciated :)
The text was updated successfully, but these errors were encountered: