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

refactor: Refactored pyrovision.datasets module #97

Merged
merged 5 commits into from
Feb 6, 2021
Merged

Conversation

frgfm
Copy link
Member

@frgfm frgfm commented Feb 3, 2021

Following up on #94, this PR introduces the following modifications:

  • refactors the datasets module into: utils (general utilities functions), video_utils (utilities specific to videos), openfire (everything related to OpenFireDataset), wildfire (everything related to WildFireDataset)
  • reflected these changes in unittests

Once this PR is merged (which keeps every single class/function), we'll need to reassess which part are relevant to the library I think (fire labeler might not be really relevant here, perhaps in a repo dedicated to data labelling?)
Any feedback is welcome!

@frgfm frgfm added type: enhancement New feature or request module: datasets Related to datasets labels Feb 3, 2021
@frgfm frgfm added this to the 0.1.1 milestone Feb 3, 2021
@frgfm frgfm self-assigned this Feb 3, 2021
@frgfm
Copy link
Member Author

frgfm commented Feb 3, 2021

The link validity check failure isn't related, and will be fixed once #96 is merged. Regarding the unittest failure, I have seen this one of other PRs before, I'm not sure about its origin. It's seems like a random edge case because it doesn't always pop, and I'm not able to reproduce it locally.

Copy link
Member

@MateoLostanlen MateoLostanlen left a comment

Choose a reason for hiding this comment

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

Hi, fg and thank you for the PR. It seems likely that future datasets will have the same metadata style as wilfire, so we can easily reuse the fire labeleller with some minor adaptations. Therefore, this update seems relevant to me.

All good for me!

@frgfm frgfm merged commit 186ac59 into master Feb 6, 2021
@frgfm frgfm deleted the datasets-refactor branch February 6, 2021 17:00
@frgfm frgfm mentioned this pull request Feb 7, 2021
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module: datasets Related to datasets type: enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants