parent
42f427ffc1
commit
32ce996dcd
@ -0,0 +1,18 @@
|
|||||||
|
2200320144张汉
|
||||||
|
|
||||||
|
#一、启动server
|
||||||
|
conda activate pytorch_GPU
|
||||||
|
python server.py
|
||||||
|
|
||||||
|
#二、启动client
|
||||||
|
#client_0
|
||||||
|
conda activate pytorch_GPU
|
||||||
|
python client0.py --partition-id 0
|
||||||
|
|
||||||
|
#client_1
|
||||||
|
conda activate pytorch_GPU
|
||||||
|
python client1.py --partition-id 1
|
||||||
|
|
||||||
|
#使用模型
|
||||||
|
python use.py
|
||||||
|
|
Loading…
Reference in new issue