Skip to content

Corrupted checkpoint file on Dropbox (sequence_classification.ckpt) #15

Description

@Roineri5

Hello, thank you for sharing this great foundation model and the codebase.

I am currently trying to run the downstream inference script (src/test_inference_finetune.py) using the checkpoints provided in your Dropbox link. However, I am encountering a RuntimeError specifically with the sequence_classification.ckpt file.

Interestingly, the brainage.ckpt model loads and works perfectly fine, which indicates my environment and pipeline setup are correct. The issue seems isolated to the sequence classification checkpoint.

When trying to load sequence_classification.ckpt, it throws the following error:
Datasets to run: ['sequence_task']
'==================================================
Running inference for sequence_task
Task type: multiclass
Image type: single
Test CSV: ./data/csv/test.csv
Output CSV: ./inference/output.csv
'----------------------------------------
Loading model from ./checkpoints/sequence_classifcation.ckpt
Backbone weights loaded!!
Error : PytorchStreamReader failed reading zip archive: failed finding central directory
Metrics saved to: inference/eval_results.json

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions