Giter VIP home page Giter VIP logo

Comments (3)

ilblackdragon avatar ilblackdragon commented on September 13, 2024

This seems like you have trainable variables without gradients. Can you
show your variables (print tf.all_variables) and probably gradients in
optimize_loss? Also you should try updating to 0.9 - there has been a lot
of issues addressed there.
On Sat, Jul 2, 2016 at 1:23 PM vinayakumarr [email protected]
wrote:

python neural_translation.py

Traceback (most recent call last):
File "neural_translation.py", line 121, in
translator.fit(x_iter, y_iter, logdir=PATH)
File
"/Library/Python/2.7/site-packages/tensorflow/contrib/learn/python/learn/estimators/base.py",
line 227, in fit
self._setup_training()
File
"/Library/Python/2.7/site-packages/tensorflow/contrib/learn/python/learn/estimators/base.py",
line 163, in _setup_training
optimizer=optimizer, clip_gradients=self.clip_gradients)
File
"/Library/Python/2.7/site-packages/tensorflow/contrib/layers/python/layers/optimizers.py",
line 141, in optimize_loss
logging_ops.histogram_summary(variable.name + "/gradients", grad_values)
File
"/Library/Python/2.7/site-packages/tensorflow/python/ops/logging_ops.py",
line 113, in histogram_summary
tag=tag, values=values, name=scope)
File
"/Library/Python/2.7/site-packages/tensorflow/python/ops/gen_logging_ops.py",
line 55, in _histogram_summary
name=name)
File
"/Library/Python/2.7/site-packages/tensorflow/python/ops/op_def_library.py",
line 415, in apply_op
as_ref=input_arg.is_ref).dtype.name
File
"/Library/Python/2.7/site-packages/tensorflow/python/framework/ops.py",
line 566, in convert_to_tensor
ret = conversion_func(value, dtype=dtype, name=name, as_ref=as_ref)
File
"/Library/Python/2.7/site-packages/tensorflow/python/ops/constant_op.py",
line 179, in _constant_tensor_conversion_function
return constant(v, dtype=dtype, name=name)
File
"/Library/Python/2.7/site-packages/tensorflow/python/ops/constant_op.py",
line 162, in constant
tensor_util.make_tensor_proto(value, dtype=dtype, shape=shape))
File
"/Library/Python/2.7/site-packages/tensorflow/python/framework/tensor_util.py",
line 325, in make_tensor_proto
raise ValueError("None values not supported.")
ValueError: None values not supported.

how to correct this

i am using tensorflow version 0.8 and in linux


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#179, or mute the thread
https://github.com/notifications/unsubscribe/AAKtfs-iirPcoVtbb0nR4hG9Nil5rQv9ks5qRkoggaJpZM4JDp8r
.

from skflow.

terrytangyuan avatar terrytangyuan commented on September 13, 2024

There has been a lot of bug fixes since 0.8. Please try latest version. Please submit an issue to TensorFlow repo in the future instead.

from skflow.

shadiakiki1986 avatar shadiakiki1986 commented on September 13, 2024

Possibly answered on StackOverflow here

from skflow.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.