You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
kaplan-meier-he example gives an error.
fl_model.params send to server from client is empty
fl_model.params {}
Warning message:
2025-01-30 10:25:12,710 - InProcessClientAPI - INFO - Try to send local model back to peer
2025-01-30 10:25:12,908 - PTToNumpyParamsConverter - WARNING - 2 vars excluded as they were non-tensor type: ['hist_obs', 'hist_cen']
Error message:
File "kaplan-meier-he/src/kaplan_meier_wf.py", line 51, in aggr_hist
hist = fl_model.params["hist_obs"]
~~~~~~~~~~~~~~~^^^^^^^^^^^^
KeyError: 'hist_obs'
Thanks! It works after installing nvflare from main branch.
Note:
There was another error 'unable to import torch'. It was quickly fixed by installing torch. Maybe it's good to add that to the requirement.txt.
Error message:
File "/home/smore/nvflare_trial/NVFlare/nvflare/job_config/script_runner.py", line 314, in init
super().init(
File "/home/smore/nvflare_trial/NVFlare/nvflare/job_config/script_runner.py", line 123, in init
raise ValueError("Using FrameworkType.PYTORCH, but unable to import torch")
ValueError: Using FrameworkType.PYTORCH, but unable to import torch
Describe the bug
kaplan-meier-he example gives an error.
fl_model.params send to server from client is empty
fl_model.params {}
Warning message:
2025-01-30 10:25:12,710 - InProcessClientAPI - INFO - Try to send local model back to peer
2025-01-30 10:25:12,908 - PTToNumpyParamsConverter - WARNING - 2 vars excluded as they were non-tensor type: ['hist_obs', 'hist_cen']
Error message:
File "kaplan-meier-he/src/kaplan_meier_wf.py", line 51, in aggr_hist
hist = fl_model.params["hist_obs"]
~~~~~~~~~~~~~~~^^^^^^^^^^^^
KeyError: 'hist_obs'
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: