-
Notifications
You must be signed in to change notification settings - Fork 14.9k
New Examples #160
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
New Examples #160
Conversation
aymericdamien
commented
Aug 29, 2017
- Added basic models examples (kmeans, random forest, ...)
- Added API examples (layers, estimator, ...)
- Added other examples (Multi-GPU, build a dataset, ...)
- Notebook refactoring with new header and more details
* Added basic models examples (kmeans, random forest, ...) * Added API examples (layers, estimator, ...) * Added other examples (Multi-GPU, build a dataset, ...) * Notebook refactoring with new header and more details
unicodeescape error is coming whenever I'm trying to read datapath. what to do? |
In [46]: def read_images(dataset_path, mode, batch_size): how to fix this? |
imagepaths, labels = list(), list() | ||
if mode == 'file': | ||
# Read dataset file | ||
data = open(dataset_path, 'r').read().splitlines() |
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.
how to fix this?
In [46]: def read_images(dataset_path, mode, batch_size):
...: imagepaths, labels = list(), list()
...: if mode == 'fyp.txt':
...: data=open(dataset_path, 'r').read().splitlines()
File "", line 4
data=open(dataset_path, 'r').read().splitlines()
^
IndentationError: expected an indented block
* Added basic models examples (kmeans, random forest, ...) * Added API examples (layers, estimator, ...) * Added other examples (Multi-GPU, build a dataset, ...) * Notebook refactoring with new header and more details