--
You received this message because you are subscribed to the Google Groups "tensor2tensor" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tensor2tenso...@googlegroups.com.
To post to this group, send email to tensor...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tensor2tensor/e2055e56-970d-48d3-82d2-b7d24e82b722%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
there should be no need for the placeholder.if you added the feature to the example_reading_spec, it should now be in the features dictionary in the model
On Thu, Jul 19, 2018 at 11:30 AM Simon Mc Duff <simon....@gmail.com> wrote:
Hi,--I'm trying to add a new parameters to t2t.new parameter name : newparam type=int64.I added the following to the problemdef example_reading_spec(self):[...]data_fields["newparam"] = tf.VarLenFeature(tf.int64)After that in my transformer I did the following:newparam=tf.placeholder(tf.int64,name="newparam")I'm able to export my model but I have an error when I query it.For the query, I add it in the input variables at the same level than the t2t inputs.INVALID_ARGUMENT: You must feed a value for placeholder tensor 'transformer/while/newparam' with dtype int64Do I need to do something else ?I'm using Tensor2tensor 1.6.5Thank youSimon
You received this message because you are subscribed to the Google Groups "tensor2tensor" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tensor2tensor+unsubscribe@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to tensor2tenso...@googlegroups.com.
To post to this group, send email to tensor...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tensor2tensor/e2055e56-970d-48d3-82d2-b7d24e82b722%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "tensor2tensor" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tensor2tenso...@googlegroups.com.
To post to this group, send email to tensor...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tensor2tensor/CAMnnjGzACX3%3DJvB%3DFbpqCM%3Dd%2BAoYgaJFnTw-VkcNg5tSPNcSRg%40mail.gmail.com.
To unsubscribe from this group and stop receiving emails from it, send an email to tensor2tensor+unsubscribe@googlegroups.com.
To post to this group, send email to tensor...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tensor2tensor/e2055e56-970d-48d3-82d2-b7d24e82b722%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "tensor2tensor" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tensor2tensor+unsubscribe@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to tensor2tenso...@googlegroups.com.
To post to this group, send email to tensor...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tensor2tensor/e2055e56-970d-48d3-82d2-b7d24e82b722%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "tensor2tensor" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tensor2tenso...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tensor2tensor/CAMnnjGzACX3%3DJvB%3DFbpqCM%3Dd%2BAoYgaJFnTw-VkcNg5tSPNcSRg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "tensor2tensor" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tensor2tenso...@googlegroups.com.
To post to this group, send email to tensor...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tensor2tensor/CAMnnjGyd_aSkA40jx8LQw9dHtE20DOWBbyCsSSgw4x_zoXfNQw%40mail.gmail.com.
To unsubscribe from this group and stop receiving emails from it, send an email to tensor2tensor+unsubscribe@googlegroups.com.
To post to this group, send email to tensor...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tensor2tensor/e2055e56-970d-48d3-82d2-b7d24e82b722%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "tensor2tensor" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tensor2tensor+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tensor2tensor/CAMnnjGzACX3%3DJvB%3DFbpqCM%3Dd%2BAoYgaJFnTw-VkcNg5tSPNcSRg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "tensor2tensor" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tensor2tensor+unsubscribe@googlegroups.com.
IT IS WORKING!!! :-)This was the problem! Thank you so much!Simon
2018-07-19 20:17 GMT-04:00 Ryan Sepassi <rsep...@google.com>:
it looks to me like you're creating 2 Example protos. you should be creating just 1 that contains the 2 features
To unsubscribe from this group and stop receiving emails from it, send an email to tensor...@googlegroups.com.
To post to this group, send email to tensor...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tensor2tensor/e2055e56-970d-48d3-82d2-b7d24e82b722%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "tensor2tensor" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tensor...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tensor2tensor/CAMnnjGzACX3%3DJvB%3DFbpqCM%3Dd%2BAoYgaJFnTw-VkcNg5tSPNcSRg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "tensor2tensor" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tensor...@googlegroups.com.