From 3a4e6b9ab73b2dedeaddb98fc32924a365460f5e Mon Sep 17 00:00:00 2001 From: Chester Chen <512707+chesterxgchen@users.noreply.github.com> Date: Fri, 30 Aug 2024 10:39:47 -0700 Subject: [PATCH] fix path due to simulator output structure changes (#2885) --- .../cifar10-splitnn/cifar10_split_learning.ipynb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/advanced/vertical_federated_learning/cifar10-splitnn/cifar10_split_learning.ipynb b/examples/advanced/vertical_federated_learning/cifar10-splitnn/cifar10_split_learning.ipynb index c952a0a23c..6a0a57abdb 100644 --- a/examples/advanced/vertical_federated_learning/cifar10-splitnn/cifar10_split_learning.ipynb +++ b/examples/advanced/vertical_federated_learning/cifar10-splitnn/cifar10_split_learning.ipynb @@ -170,8 +170,8 @@ "\n", "gt_overlap = np.load(os.path.join(SPLIT_DIR, \"overlap.npy\"))\n", "\n", - "psi_overlap_1 = np.loadtxt(\"/tmp/nvflare/cifar10_psi/simulate_job/site-1/psi/intersection.txt\")\n", - "psi_overlap_2 = np.loadtxt(\"/tmp/nvflare/cifar10_psi/simulate_job/site-2/psi/intersection.txt\")\n", + "psi_overlap_1 = np.loadtxt(\"/tmp/nvflare/cifar10_psi/site-1/simulate_job/site-1/psi/intersection.txt\")\n", + "psi_overlap_2 = np.loadtxt(\"/tmp/nvflare/cifar10_psi/site-2/simulate_job/site-2/psi/intersection.txt\")\n", " \n", "print(\"gt_overlap\", gt_overlap, f\"n={len(gt_overlap)}\")\n", "print(\"psi_overlap_1\", psi_overlap_1, f\"n={len(psi_overlap_1)}\")\n",