-
Notifications
You must be signed in to change notification settings - Fork 214
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
Enable empty split #466
Enable empty split #466
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In my opinion, when there is no train split, users should be responsible for failure of accessing train split. So this behavior is ok:
for x, y in self.data['train']: |
As for val and test splits, what is our intended behavior?
e.g., is this still ok?
|
Now, val and test splits follow the same principle in if target_data_split_name not in self.data:
do nothing
return {f'{target_data_split_name}_loss': 0,
f'{target_data_split_name}_total': 0,} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
approved. It seems that we'd better make our proj more "typed".
No description provided.