tony607 / keras_catvsdog_tf_estimator Goto Github PK
View Code? Open in Web Editor NEWSource for post "An Easy Guide to build new TensorFlow Datasets and Estimator with Keras Model"
License: Other
Source for post "An Easy Guide to build new TensorFlow Datasets and Estimator with Keras Model"
License: Other
Getting ValueError: Shapes (?,) and (?, 1) must have the same rank
error even when running the same code with only 2 necessary changes as mentioned in the pull request. My tensorflow version is '1.8.0'.
Hi, I like your tutorial! I just have one minor suggestion, since you are using a path that only exists on your computer, running the notebook directly gives me the error below. And the formatting of the path is not very Mac-freindly...
FileNotFoundError Traceback (most recent call last)
in ()
17 src = os.path.join(original_dataset_dir, fname)
18 dst = os.path.join(train_cats_dir, fname)
---> 19 shutil.copyfile(src, dst)
20 # Copy first 1000 dog images to train_dogs_dir
21 fnames = ['dog.{}.jpg'.format(i) for i in range(1000)]
/Users/Qihong/anaconda/envs/brainiak/lib/python3.6/shutil.py in copyfile(src, dst, follow_symlinks)
118 os.symlink(os.readlink(src), dst)
119 else:
--> 120 with open(src, 'rb') as fsrc:
121 with open(dst, 'wb') as fdst:
122 copyfileobj(fsrc, fdst)
FileNotFoundError: [Errno 2] No such file or directory: 'E:\Learning_Resources\Deep_learning\my_data_sets\DATASETS_IMAGE\dog_vs_cat\train/cat.0.jpg'
They are simple to solve, but it would be really nice if you can fix it!
What about including the TF Dataset API now in core?
Hi I've been able to adapt your model to my own data set of images. It was very informative so I thank you for putting it together. If I wanted to use one of the premade TF estimators like DNNClassifier how would I define the feature_column required for the estimator?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.