-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
add dataflow module #1028
base: master
Are you sure you want to change the base?
add dataflow module #1028
Conversation
CIFAR10_URL = 'https://www.cs.toronto.edu/~kriz/cifar-10-python.tar.gz' | ||
|
||
|
||
class CIFAR10(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.
move to tl.files?? any idea? use tl.files.load_dataset_cifar10 ??
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.
I think those data-related functions originally in tl.files should be moved to tl.data in the future so that all data-related functionalities are in the same place.
tensorlayer/dataflow/utils.py
Outdated
urlretrieve(url_source, filepath, reporthook=_dlProgress) | ||
|
||
|
||
def maybe_download_and_extract(filename, working_directory, url_source, extract=False, expected_bytes=None): |
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.
why copy the code ..
Checklist
Motivation and Context
Create tensorlayer.dataflow modeule for data loading, augmentation, preprocessing, multiprocessing, shuffle and batch.
Description
TODOs: