-
Notifications
You must be signed in to change notification settings - Fork 74.7k
iris_monitors.py broken in release r1.0 due to inacurate MetricSpec namespace #7637
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
Comments
Needs many more changes to work, iris_monitors.py seems to be is totally broken with r1.0 or I am just too newbie to understand what's wrong ... After fixing a couple of more inaccurate imports I get lots of warnings when I run it:
|
I'm getting the errors using the latest nightly TF build (3/3/2017) with the Iris dataset. I see this issue as closed. So how was it fixed? Errors: C:\Users\Jake\py\my_env\lib\site-packages\tensorflow\python\util\deprecation.py:248: FutureWarning: comparison to During handling of the above exception, another excepti 8000 on occurred: Traceback (most recent call last): Caused by op 'save/RestoreV2_5', defined at: NotFoundError (see above for traceback): Key dnn/hiddenlayer_1/biases/denlayer_1/biases/part_0/Adagrad not found in checkpoint |
Use learn.MetricSpec instead |
I'm new to this and using the tensorflow site as a learning resource. If recent code changes break the learn example than for the sake of clear/concise learning it would require updating the tensorflow site with the corrected code. Specifically: https://www.tensorflow.org/get_started/tflearn |
… optimization passes Imported from GitHub PR openxla/xla#7637 This is to set the right expectation that an already optimized graph shouldn't be optimized again. Copybara import of the project: -- 61f19f6138578bb1b39d7aa517a9147394be816a by Jane Liu <janeliu@nvidia.com>: raise an error if it get an optimized graph as input -- 150a7513a2b926eb106c21d2b4a5b67da373c936 by Jane Liu <janeliu@nvidia.com>: fix a unit test by removing its module's is_schedule=true Merging this change closes #7637 PiperOrigin-RevId: 591186406
Uh oh!
There was an error while loading. Please reload this page.
NOTE: Only file GitHub issues for bugs and feature requests. All other topics will be closed.
For general support from the community, see StackOverflow.
To make bugs and feature requests more easy to find and organize, we close issues that are deemed
out of scope for GitHub Issues and point people to StackOverflow.
For bugs or installation issues, please provide the following information.
The more information you provide, the more easily we will be able to offer
help and advice.
What related GitHub issues or StackOverflow threads have you found by searching the web for your problem?
tf.contrib.learn.metric_spec.MetricSpec
should be changed toMetricSpec
in iris_monitors.py in release 1.0.0No need to import MetricSpec in iris_monitors.py it's already imported on line 24 in commit fa4ba830f437fdb9dc1085b4d68a3bab41a16e20:
tensorflow.contrib.learn.python.learn.metric_spec import MetricSpec
Environment info
Operating System:
Installed version of CUDA and cuDNN:
(please attach the output of
ls -l /path/to/cuda/lib/libcud*
):If installed from binary pip package, provide:
python -c "import tensorflow; print(tensorflow.__version__)"
.If installed from source, provide
git rev-parse HEAD
)bazel version
If possible, provide a minimal reproducible example (We usually don't have time to read hundreds of lines of your code)
repositories/tensorflow/tensorflow/examples/tutorials/monitors$ python iris_monitors.py
Traceback (most recent call last):
File "iris_monitors.py", line 116, in
tf.app.run()
File "/home/chidochipotle/anaconda3/lib/python3.5/site-packages/tensorflow/python/platform/app.py", line 44, in run
_sys.exit(main(_sys.argv[:1] + flags_passthrough))
File "iris_monitors.py", line 42, in main
tf.contrib.learn.metric_spec.MetricSpec(
AttributeError: module 'tensorflow.contrib.learn' has no attribute 'metric_spec'
What other attempted solutions have you tried?
Logs or other output that would be helpful
(If logs are large, please upload as attachment or provide link).
The text was updated successfully, but these errors were encountered: