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

Support fairness related vector value in FedHPOB #348

Merged
merged 1 commit into from
Sep 14, 2022

Conversation

rayrayraykk
Copy link
Collaborator

@rayrayraykk rayrayraykk commented Aug 24, 2022

How to use:
Set key to xxx_fair will return a fairness-related vector value, such as train_avg_loss_fair, train_acc_fair, etc.

@rayrayraykk rayrayraykk added Feature New feature FedHPO FedHPO related labels Aug 24, 2022
@rayrayraykk rayrayraykk requested a review from joneswong August 24, 2022 12:26
fairness_log = os.path.join(path, file_name, 'eval_results.raw')
if os.path.exists(fairness_gz):
with gzip.open(fairness_gz, 'rb') as f:
fairness_list = read_fairness(f.readlines())
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is it necessary to avoid loading all the content but reading a (large) file line by line as usual

Copy link
Collaborator

@joneswong joneswong left a comment

Choose a reason for hiding this comment

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

approved. [TODO] fix the log file loading step

@joneswong joneswong merged commit ccafa14 into alibaba:master Sep 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature New feature FedHPO FedHPO related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants