Open KuanKuanQAQ opened 1 year ago
Hi, how were you able to run without the mqtt problem? Thanks.
Hi, how were you able to run without the mqtt problem? Thanks.
I think I don't need the MQTT-related content, and my GPU server is not suitable for staying online, so I removed the part of checking the network connection at the beginning of the program's execution.
I commented out all the content after line 86 in fedml/cli/env/collect_env.py.
Hope helpful to you.
When using fed_cifar100 in centralized settings, I encountered a bug. In the file
fedml/data/data_loader.py
, line 559 constructs thetest_data_local_dict
in the following way:However, in the file
fedml/data/fed_cifar100/data_loader.py
, only 100 clients have a local test set while there are 500 clients with local training sets.This causes all dataloaders for client IDs 200 to 500 in the
test_data_local_dict
dictionary to be None, making them unsuitable as iterators in the list comprehension.Here is a temporary solution, but a more formal fix may be necessary: