google-deepmind / google-deepmind/alphageometry

msgpk unpack error

Open
#76 12 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
4.9k
Forks
572
PR merge metrics
No merged PRs in 30d

Description

When running `run.sh` in bash without changing anything, I got the following error:
```
File "msgpack/_unpacker.pyx", line 205, in msgpack._cmsgpack.unpackb
ValueError: Unpack failed: incomplete input
```

This error occurs when getting the language model on line 641 of `alphageometry.py`: `model = get_lm(_CKPT_PATH.value, _VOCAB_PATH.value)` . The error comes from initializing the trainer on line 62 of lm_inference.py ` (tstate, _, imodel, prngs) = trainer.initialize_model()`. I have weights and vocabulary downloaded in `ag_cpkt_vocab` and checked that **_CKPT_PATH.value = 'ag_cpkt_vocab** and **_VOCAB_PATH.value = ag_ckpt_vocab/geometry.757.model**. How should I resolve this error? Appreciate your help.
![image](https://github.com/google-deepmind/alphageometry/assets/39500675/36c6e0b8-ce4c-4590-a041-384ec5d041a9)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.