Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

medmnist example update #312

Merged
merged 1 commit into from
Jan 19, 2023
Merged

Conversation

GustavBaumgart
Copy link
Collaborator

There was a more recent version of this example available outside the lib directory (examples/medmnist/medmnist.zip).

This example has now been used to update the files in lib/python/flame/examples/medmnist.

Copy link
Contributor

@myungjin myungjin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a couple of minor comments were left. please consider to address them.

@@ -1,19 +1,3 @@
# Copyright 2022 Cisco Systems, Inc. and its affiliates
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please reinstate the copyright text.

@@ -1,31 +1,15 @@
# Copyright 2022 Cisco Systems, Inc. and its affiliates
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same here

# logger.info(f"Test Loss: {val_loss}")
# logger.info(f"Test Accuracy: {val_acc}")
# logger.info(f"Testset Size: {self.dataset_size}")
logger.info(f"Dataset: {str(self.config.dataset)}")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can remove this line.

self.update_metrics({"Val Loss": val_loss, "Val Accuracy": val_acc, "Testset Size": self.dataset_size})
# logger.info(f"Test Loss: {val_loss}")
# logger.info(f"Test Accuracy: {val_acc}")
# logger.info(f"Testset Size: {self.dataset_size}")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps we can uncomment these three lines to check the progresses of the evaluate part.

There was a more recent version of this example available outside the lib directory (examples/medmnist/medmnist.zip).

This example has now been used to update the files in lib/python/flame/examples/medmnist.
Copy link
Contributor

@myungjin myungjin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@myungjin myungjin merged commit 537418c into cisco-open:main Jan 19, 2023
@GustavBaumgart GustavBaumgart deleted the medmnist branch January 19, 2023 19:57
@GustavBaumgart GustavBaumgart restored the medmnist branch January 19, 2023 20:03
@GustavBaumgart GustavBaumgart deleted the medmnist branch January 19, 2023 20:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants