-
Notifications
You must be signed in to change notification settings - Fork 139
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
[notebooks] add jupyter notebook introducing how to merge datasets #738
[notebooks] add jupyter notebook introducing how to merge datasets #738
Conversation
cdeb7a6
to
23f272b
Compare
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
23f272b
to
88c3cbb
Compare
@@ -0,0 +1,172 @@ | |||
{ |
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.
Line #2. os.system('ls -l merged_dataset')
Can we list only names by ls merged_dataset
. You can also use Jupyter magic command rather than using os.system()
.
Reply via ReviewNB
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.
e.g. !ls merged_dataset
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.
Cool.
@@ -0,0 +1,301 @@ | |||
{ |
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.
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.
Looks good to me.
Summary
Add a jupyter sample introducing how to merge datasets.
How to test
Check the jupyter notebook results.
In the first example, we import 'mnist' and 'mnist_csv' datasets.
Note that their data format is the same as mnist but the data of former is stored as pickle and the latter as csv.
Then, we export the merged dataset to single dataset.
In the second example, we import two heterogeneous datasets and export a merged dataset into a unified data format.
First, we import two sample datasets that the data formats of them are COCO detection, VOC detection, respectively.
Then, we will export the merged dataset as Yolo format
Checklist
develop
branchLicense
Feel free to contact the maintainers if that's a concern.