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

POS dataset class #1

Merged
merged 7 commits into from
Apr 27, 2021
Merged

POS dataset class #1

merged 7 commits into from
Apr 27, 2021

Conversation

KyloRen1
Copy link
Member

No description provided.

@KyloRen1 KyloRen1 requested review from Craq and IronTony-Stark and removed request for Craq and IronTony-Stark April 23, 2021 18:41
@KyloRen1 KyloRen1 requested review from IronTony-Stark and removed request for Craq April 27, 2021 16:56
Comment on lines +57 to +58
if self._check_exists():
return

Choose a reason for hiding this comment

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

Add warning that there is a dataset in the directory already?
If download=True it makes more sense to override an existing set to me

Copy link
Member Author

Choose a reason for hiding this comment

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

In this case a person can delete previous one and download again

Copy link
Collaborator

Choose a reason for hiding this comment

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

Warning would be nice, but I don't think we need to override (re-download) existing dataset if download=True. If user wants to do that, they can simply delete the dataset. Anyway, it's probably for @KyloRen1 to decide what is a desired behaviour here

Copy link
Member Author

Choose a reason for hiding this comment

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

I think it's fine for now. In case of feature request, we can easily add

Choose a reason for hiding this comment

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

Well, yeah, I can agree on that. Wouldn't it be better to simply move this method out of class then? This way it may be called on demand, instead of the download flag.

Copy link
Member Author

Choose a reason for hiding this comment

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

As this dataset is dedicated to a certain data I think it is better to leave it as it is

@KyloRen1 KyloRen1 merged commit 74e447c into fido-ai:main Apr 27, 2021
Copy link
Collaborator

@IronTony-Stark IronTony-Stark left a comment

Choose a reason for hiding this comment

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

Looks fine to me

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.

4 participants