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
Feature/examples #675
Feature/examples #675
Conversation
Locust summaryGit referencesInitial: 58c65c4Terminal: 1752f55 examples/train_pytorch.pyChanges:
examples/generate_ds_transform.pyChanges:
examples/train_tensorflow.pyChanges:
examples/transform_dataset.pyChanges:
|
Codecov Report
@@ Coverage Diff @@
## master #675 +/- ##
=======================================
Coverage 89.09% 89.09%
=======================================
Files 58 58
Lines 4299 4299
=======================================
Hits 3830 3830
Misses 469 469 Continue to review full report at Codecov.
|
@imshashank could you review this? |
This looks great, can we merge?? |
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.
Please add a README.md file with a table to describe the various examples and also instructions on how to run this code locally.
If possible then also add instructions to run these on ray cluster or create a task to add this later.
len_ds = 100 | ||
ds = hub.Dataset(tag, mode="w+", shape=(len_ds,), schema=schema) | ||
|
||
|
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.
Instead of this can we use a real-world dataset? I am okay with kaggle datasets or any dataset we already have.
import hub | ||
from hub.training.model import Model | ||
|
||
|
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.
This is nice, can u please add comments describing what this file does.
import tensorflow as tf | ||
import hub | ||
from hub.training.model import Model | ||
|
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.
Can u please add comments describing what this file does.
import os | ||
import numpy as np | ||
import hub | ||
|
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.
Can u please add comments describing what this file does.
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
Add examples of dataset generation and modification using transforms, trainings with TensorFlow and PyTorch