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

[FeTS][GaNDLF] skip loading train.csv during inference mode #1141

Merged
merged 3 commits into from
Nov 12, 2024

Conversation

kta-intel
Copy link
Collaborator

This PR is in support of updating FeTS AI Challenge code base.

Specifically, this PR introduces a conditional check to handle inference mode in the data loader by adjusting the assignment of self.train_csv. If data_path contains a reference to inference, then self.train_csv will not be assigned a path. Otherwise, self.train_csv will load in train.csv from the specified data_path

This is important since training data is not present during inference/testing, so there needed to be a way to bypass this assignment

Signed-off-by: kta-intel <[email protected]>
Copy link
Collaborator

@teoparvanov teoparvanov left a comment

Choose a reason for hiding this comment

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

LGTM!

@kta-intel kta-intel merged commit b8a1f57 into develop Nov 12, 2024
28 checks passed
tanwarsh pushed a commit to tanwarsh/openfl that referenced this pull request Nov 18, 2024
…federatedai#1141)

* remove train.csv path during inference step

Signed-off-by: kta-intel <[email protected]>

* check inference during dataloader

Signed-off-by: kta-intel <[email protected]>

* lint fix

Signed-off-by: kta-intel <[email protected]>

---------

Signed-off-by: kta-intel <[email protected]>
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