FedML-AI / FedNLP

FedNLP: An Industry and Research Integrated Platform for Federated Learning in Natural Language Processing, Backed by FedML, Inc. The Previous Research Version is Accepted to NAACL 2022
223 stars 45 forks source link

No such file or directory: 'cache_dir/distilbert_distilbert-base-uncased_cached_256_ClassificationModel_20news_niid_label_clients=100_alpha=5.0_-1' #16

Open ayanflow opened 3 years ago

ayanflow commented 3 years ago

If I run the script "sh run_text_classification.sh FedAvg "niid_label_clients=100_alpha=5.0" 5e-5 0.1 2 0" it returns an error: File "~/workspace/FedNLP/data_manager/base_data_manager.py", line 198, in _load_federated_data_server with open(res, "wb") as handle: FileNotFoundError: [Errno 2] No such file or directory: 'cache_dir/distilbert_distilbert-base-uncased_cached_256_ClassificationModel_20news_niid_label_clients=100alpha=5.0-1'

chaoyanghe commented 3 years ago

Hi @DeviRule Please check this data loading issue.

DeviRule commented 3 years ago

please add --reprocess_input_data at the end of the bash script