ninotosh

Results comments of ninotosh

What is the result of `saved_model_cli show`? In my case, ``` request.inputs['inputs'].CopyFrom(tf.contrib.util.make_tensor_proto([[[[1]]], [[[2]]]])) ``` worked for this model ``` # saved_model_cli show --dir /path/to/saved/model/dir --tag_set serve --signature_def serving_default The given...

`[[[[1]]], [[[2]]]]` is just test data. I assume this must be encoded from a list of strings such as `['hello world', 'foo bar baz']` with `encode()` like https://github.com/tensorflow/tensor2tensor/blob/f1b75861d8c9927fbc13643a6d58b60d2f3d08b0/tensor2tensor/data_generators/text_encoder_test.py#L132 using a...

Hi, thanks for your comment. Without `--output_dir`, the log is like ``` INFO:tensorflow:Saving checkpoints for 401 into /tmp/tensor2tensor/model.ckpt. ``` but there is no `saved_model.pbtxt` in `/tmp/tensor2tensor`. ``` checkpoint eval/ events.out.tfevents.1508324248.7be41bae3421...

Thank you @robertBrnnn , I obtained `saved_model.pbtxt` by adding `--train_steps` even though I also needed `--locally_shard_to_cpu --worker_gpu 0` in my environment. I assumed `saved_model.pbtxt` is generated and updated on the...

@yuimo Did you try adding `--locally_shard_to_cpu --worker_gpu 0`?

"setting the epoch" means using the epoch in place of the global step like ``` summary_writer.add_summary(sess.run(merge_epoch, feed_dict={}), epoch) ``` For example, change this line to `epoch`: https://github.com/ninotoshi/playground/blob/94ae350318729e4ff4ca961cd1509767e2716af5/tensor_flow/xor/main.py#L138 I expect `loss`...

I get the same result even with your code specifying `tf.device("/cpu:0")`. I am using 0.8.0 in the VirtualBox image of Ubuntu (`vagrant-ubuntu-vivid-64 3.19.0-10-generic #10-Ubuntu SMP`).