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.
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 aRuntimeErrorspecifically with thesequence_classification.ckptfile.Interestingly, the
brainage.ckptmodel 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.