zscszndxdxs / 2023-MT-BERT-SATD

🌟replication package for 📜Self-Admitted Technical Debts Identification: How Far Are We?, SANER 2024.
1 stars 1 forks source link

RuntimeError: PytorchStreamReader failed reading zip archive: failed finding central directory #1

Open HanJin996 opened 2 weeks ago

HanJin996 commented 2 weeks ago

When I use python mt-bert-satd/predict.py --task 4 --data_dir unclassified_files/4_unclassified --output_dir predict_files, there is an error: RuntimeError: PytorchStreamReader failed reading zip archive: failed finding central directory. I tried many ways, but it cannot be solved.

HanJin996 commented 2 weeks ago

May be ur upload model file pytorch_model.bin is broken, when I use the model re-trained by myself, it works.