google-deepmind / alphafold3

AlphaFold 3 inference pipeline.
Other
5.06k stars 563 forks source link

corrupted weights are dumped in the output #60

Closed aozalevsky closed 4 days ago

aozalevsky commented 6 days ago

Correction: If the weight file is corrupted, the whole weights stream (mega/gigabytes of data) is dumped into the console.

  File "/alphafold3_venv/lib/python3.11/site-packages/alphafold3/model/params.py", line 68, in _read_record
    raise RecordError(f'Incomplete payload: {payload}')
alphafold3.model.params.RecordError: Incomplete payload: b'diffuser/~/diffusion_head/transformer/__layer_stack_with_per_layer/__layer_stack_with_per_layer/transformerk_projectionweightsfloat32\x06\x00\x00\x00<...>
Tracyishere commented 5 days ago

Try to check your weight file size? It should be 1G, I updated my weight file and solved the same issue.

aozalevsky commented 5 days ago

@Tracyishere indeed! i didn't notice when the archive got corrupted.

Augustin-Zidek commented 4 days ago

The error message has been fixed in https://github.com/google-deepmind/alphafold3/commit/83c4be2ec188b79e664256fde837f7ca7b318794.