TensorFlow Example Projects
tobegit3hub / tensorflow_examples Goto Github PK
View Code? Open in Web Editor NEWTensorFlow Example Projects
License: Apache License 2.0
TensorFlow Example Projects
License: Apache License 2.0
func_code
I tried to reproduce your code, and got an error message in line 71
preprocess_function_string = marshal.dumps(preprocess.func_code)
AttributeError: 'function' object has no attribute 'func_code'
Hello! I've found a performance issue in /estimator/iris_classifier.py: dataset.batch(batch_size)
(here) should be called before dataset.map(_parse_csv)
(here), which could make your program more efficient.
Here is the tensorflow document to support it.
Besides, you need to check the function _parse_csv
called in dataset.map(_parse_csv)
whether to be affected or not to make the changed code work properly. For example, if _parse_csv
needs data with shape (x, y, z) as its input before fix, it would require data with shape (batch_size, x, y, z) after fix.
Looking forward to your reply. Btw, I am very glad to create a PR to fix it if you are too busy.
Hello,I found a performance issue in the definition of _input_fn
,
estimator/iris_classifier.py,
dataset = dataset.map(_parse_csv) was called without num_parallel_calls.
I think it will increase the efficiency of your program if you add this.
Here is the documemtation of tensorflow to support this thing.
Looking forward to your reply. Btw, I am very glad to create a PR to fix it if you are too busy.
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.