FedML icon indicating copy to clipboard operation
FedML copied to clipboard

Exception has occurred: AttrbuteError (module 'fedml' has no attribute 'logger'

Open trannict opened this issue 3 years ago • 2 comments

Hi all

Recently, I am testing SP_FEDAVG_MNIST_LR_CUSTUM_DATA_AND_MODEL_EXAMPLE.

fedml.logger.info("load_data.dataset_name = %s" % args.dataset)

So, I got an errof that has no attribute 'logger'. The problem is at a fedml package or anything else? error

Thanks for your comments.

trannict avatar May 10 '22 08:05 trannict

you can just use logging.info to print the log.

chaoyanghe avatar May 10 '22 17:05 chaoyanghe

image

It seems you are using an old version. Please update your fedml library.

chaoyanghe avatar May 10 '22 17:05 chaoyanghe