Cifar10-example Provisioning #1731
Replies: 6 comments 2 replies
-
Hi @LeandroDiL Thanks for your interest and the question! You are correct, you want to add an admin entity in your project.yml. Let's just walk through what to fill there one by one: For name, you can just use any name you like, it just needs to be "xxx@yyy". For type, you want "admin" so this entity will leads to the generation of admin startup kits. For org, I notice your other sites are all under "my_org", so we can just use that. For role, "project_admin" means the super user, so that's use that for now. So you can try this:
Then after you run provision, you should be able to connect to the server using something like:
Then you can use a bunch of admin commands to interact with the systems: https://nvflare.readthedocs.io/en/main/real_world_fl/operation.html |
Beta Was this translation helpful? Give feedback.
-
Hi @YuanTingHsieh ,
These commands are not possible from the admin console. So the question is: how can I run the project if I have these limitations? There's a way to do the same thing with other commands? (the submit_job job_folder command is not helpful since he gives me always the error "is not a valid folder") Ty in advance! |
Beta Was this translation helpful? Give feedback.
-
Hello, thanks for following up! For the first two steps, they should be done in each client site. Please make sure you follow every step in https://github.com/NVIDIA/NVFlare/tree/2.3/examples/advanced/cifar10/cifar10-real-world#readme first. After you done that, then we can continue on your custom project.yml.
The NVFlare system looks like this:
|
Beta Was this translation helpful? Give feedback.
-
Ty again for the support. P.S. Maybe I discovered the problem: after the clients are connected to the server and after u opened the admin console u need to copy the job folder in the admin console "transfer" folder so when u submit the job the admin entity can find the job and launch it giving an unique ID to it. I don't know if it is necessary only for me because I did something wrong but if it's not the case I suggest to update the wiki about that! |
Beta Was this translation helpful? Give feedback.
-
After submitting the job from admin console, please run list_jobs to see the job id. To see the log.txt for that job in site-1, first run |
Beta Was this translation helpful? Give feedback.
-
close as no activity. @LeandroDiL feel free to open when you got new information/questions! |
Beta Was this translation helpful? Give feedback.
-
Hi!
I'd like to execute the cifar10 example in a real world scenario. I have an host, which IP is A, that is the host from which I do the provision and generate the folders for client, admin... and I want it to be the server, and another 2 hosts (Virtualbox VMs),with IP B and C, and I want them to be the clients.
Now, what do I have to write exactly into the file project.yml in order to compile it exactly?
Here it's my project.yml:
When I try to run the start.sh file in the local host machine with the command:
bash nvflare_project/cifar10-sim/workspace/nvflare/prod_00/192.168.56.1/startup/start.sh
the server start and I can connect to it running the commandbash nvflare_project/cifar10-sim/workspace/nvflare/prod_00/site-a/startup/start.sh
ebash nvflare_project/cifar10-sim/workspace/nvflare/prod_00/site-a/startup/start.sh
from virtual machines. In the server terminal I obtain something like this:The question is: since after the connection of the 2 clients nothing happened, how can I run the program now that both clients are connected to the servers? I already set the number of clients equal to 2 in the "meta.json" file and the "config_fed_server.json" file since this could be an issue.
I think the problem could be that I need an admin entity in my project.yml file. Something like:
But I don't know which email should I use, how can I use the server to be also the admin or if is really necessary to have ad admin role.
Hope u can help me, ty in advance!
Beta Was this translation helpful? Give feedback.
All reactions