kitsch231 / pytorch_fake_news_Classification_mml

使用pytorch完成的一个多模态分类任务,文本和图像部分分别使用了bert和resnet提取特征(在config里可以组合多种模型),在我的小规模数据集上取得了良好的性能(验证集acc96%)
61 stars 8 forks source link

您好,请问一下:为什么我下载了BERT模型后报错OSError: It looks like the config file at 'bert_model/minirbt-h256/config.json' is not a valid JSON file. #2

Closed Sandy520-del closed 1 year ago

kitsch231 commented 1 year ago

请在huggingface直接git到项目文件夹下,你这个报错应该是下载的问题

Sandy520-del commented 1 year ago

出现了新的问题是,h5py库在打开HDF5文件时遇到“OSError: Unable to open file (file signature not found)”错误,重新安装这个库还是解决不了