FedML icon indicating copy to clipboard operation
FedML copied to clipboard

Error when running ‘run_custom_data_and_model_example.sh’

Open Alan-JW opened this issue 2 years ago • 5 comments

Hi, @chaoyanghe, I encountered the following error when running ‘run_custom_data_and_model_example.sh’, but I have torch installed? image image

Alan-JW avatar Aug 25 '22 13:08 Alan-JW

@Alan-JW have you tried a simple PyTorch demo? or

(base) chaoyanghe@Chaoyangs-MBP FedML_product % python
Python 3.9.12 (main, Apr  5 2022, 01:53:17) 
[Clang 12.0.0 ] :: Anaconda, Inc. on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import torch
>>> 

If these two also raised errors, it's not related to FedML. You then need to search at stackoverflow for further help.

chaoyanghe avatar Aug 25 '22 16:08 chaoyanghe

@chaoyanghe image

Alan-JW avatar Aug 25 '22 17:08 Alan-JW

@Alan-JW how about this one? python/examples/simulation/sp_fedavg_mnist_lr_example

chaoyanghe avatar Aug 25 '22 17:08 chaoyanghe

@Alan-JW please join our slack or discord (you can find the link at fedml.ai), and let's follow more details there.

chaoyanghe avatar Aug 25 '22 17:08 chaoyanghe

@chaoyanghe image

@Alan-JW please join our slack or discord (you can find the link at fedml.ai), and let's follow more details there.

Ok

Alan-JW avatar Aug 25 '22 18:08 Alan-JW

Closing this. The issue has been resolved.

fedml-dimitris avatar Oct 25 '23 01:10 fedml-dimitris