YourSylvia

Results comments of YourSylvia

I met the same problem. Change the sample_loss function to: def sampled_loss(labels, logits): labels = tf.reshape(labels, [-1, 1]) return tf.nn.sampled_softmax_loss(w_t, b, labels, logits, num_samples, self.target_vocab_size) And that will work.

Hi, I encountered this problem today, I put my customized vocab file to t2t_data, but the error still exists.

Thank you so much for your reply! In your code section, what is the source_vocab_name in get_vocab? I found this in source code: tensor2tensor/data_generators/translate_enzh.py, but my problem is based on...

Yes, I had already added my problem to the initial file. Do you know why there are other languages words in the vocab_file? I thought the vocab_file should like a...

In my case, the source text and the target text are both English, can I use the same vocab_file as well?

> @yourSylvia Can you confirm that the date and time of your PI is matching the current date and time ? > > And share the output of "cat /etc/aiyprojects.info"....

> Can you try with the command : > > sudo date -s "Wed Nov 21 21:31:26 UTC 2018" (Please correct the date and time as per your timezone) >...

> cat /etc/aiyprojects.info Hi, I reinstall the new sys and I got the same old problem. ![image](https://user-images.githubusercontent.com/32641072/48881263-5c1c8480-ee4f-11e8-9096-9bac350350ef.png) Besides, I got a new problem, it seems that I tried to connect...