Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion datasets/populate
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
16 changes: 8 additions & 8 deletions server/tests/e2e/federated.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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));
});
Expand All @@ -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));
});
Expand All @@ -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));
});
Expand Down Expand Up @@ -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));
})
Expand Down
Loading