-
Notifications
You must be signed in to change notification settings - Fork 212
Conversation
Hello @tchaton! Thanks for updating this PR. There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻 Comment last updated at 2021-03-25 19:32:55 UTC |
Co-authored-by: Kaushik B <[email protected]>
LGTM Let's meger it |
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.
about the middle of reading
Co-authored-by: Jirka Borovec <[email protected]>
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.
not sure how much the test covers real cases as many return values are not checked...
tests/data/test_data_pipeline.py
Outdated
# assert preprocess.train_load_data_called | ||
# assert preprocess.train_per_sample_pre_tensor_transform_called | ||
# assert preprocess.train_collate_called | ||
assert preprocess.train_per_batch_transform_on_device_called | ||
# assert preprocess.val_load_data_called | ||
# assert preprocess.val_load_sample_called | ||
# assert preprocess.val_per_sample_to_tensor_transform_called | ||
# assert preprocess.val_collate_called | ||
assert preprocess.val_per_batch_transform_on_device_called | ||
# assert preprocess.test_load_data_called | ||
# assert preprocess.test_per_sample_to_tensor_transform_called | ||
# assert preprocess.test_per_sample_post_tensor_transform_called | ||
# assert preprocess.predict_load_data_called |
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.
if you do not use these assets, remove them
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.
Not, it is related to the previous bug. Just a reminder on how to update the test.
What does this PR do?
This PR adds DataPipeline without any changes to the model.
However, as the model need to be changed, it will be done as a hard switch and the following PRs will contain all tasks at once.