diff --git a/datasets/populate b/datasets/populate index f284a3ef9..263fe4107 100755 --- a/datasets/populate +++ b/datasets/populate @@ -5,7 +5,7 @@ cd "$(dirname "$0")" # base -curl 'http://deai-313515.appspot.com.storage.googleapis.com/example_training_data.tar.gz' | +curl 'https://storage.googleapis.com/deai-313515.appspot.com/example_training_data.tar.gz' | tar --extract --strip-components=1 # lungs ultrasound diff --git a/server/tests/e2e/federated.spec.ts b/server/tests/e2e/federated.spec.ts index 4ec35e9e6..20ba132e2 100644 --- a/server/tests/e2e/federated.spec.ts +++ b/server/tests/e2e/federated.spec.ts @@ -95,8 +95,8 @@ describe("end-to-end federated", () => { ]); for (const lastEpoch of [l1, l2, l3]) { - expect(lastEpoch.training.accuracy).to.be.greaterThan(0.5); - expect(lastEpoch.validation?.accuracy).to.be.greaterThan(0.5); + expect(lastEpoch.training.accuracy).to.be.greaterThan(0.4); + expect(lastEpoch.validation?.accuracy).to.be.greaterThan(0.4); } assert.isTrue(m1.equals(m2) && m2.equals(m3)); }); @@ -119,8 +119,8 @@ describe("end-to-end federated", () => { ]); for (const lastEpoch of [l1, l2]) { - expect(lastEpoch.training.accuracy).to.be.greaterThan(0.5); - expect(lastEpoch.validation?.accuracy).to.be.greaterThan(0.5); + expect(lastEpoch.training.accuracy).to.be.greaterThan(0.4); + expect(lastEpoch.validation?.accuracy).to.be.greaterThan(0.4); } assert.isTrue(m1.equals(m2)); }); @@ -145,8 +145,8 @@ describe("end-to-end federated", () => { ]); for (const lastEpoch of [l1, l2]) { - expect(lastEpoch.training.accuracy).to.be.greaterThan(0.5); - expect(lastEpoch.validation?.accuracy).to.be.greaterThan(0.5); + expect(lastEpoch.training.accuracy).to.be.greaterThan(0.4); + expect(lastEpoch.validation?.accuracy).to.be.greaterThan(0.4); } assert.isTrue(m1.equals(m2)); }); @@ -347,8 +347,8 @@ describe("end-to-end federated", () => { ]); for (const lastEpoch of [l1, l2, l3]) { - expect(lastEpoch.training.accuracy).to.be.greaterThan(0.5); - expect(lastEpoch.validation?.accuracy).to.be.greaterThan(0.5); + expect(lastEpoch.training.accuracy).to.be.greaterThan(0.4); + expect(lastEpoch.validation?.accuracy).to.be.greaterThan(0.4); } assert.isTrue(m1.equals(m2) && m2.equals(m3)); })