practical-pytorch icon indicating copy to clipboard operation
practical-pytorch copied to clipboard

Go to https://github.com/pytorch/tutorials - this repo is deprecated and no longer maintained

Results 91 practical-pytorch issues
Sort by recently updated
recently updated
newest added

In class BahdanauAttnDecoderRNN, Should "word_embedded = self.embedding(word_input).view(1, 1, -1) # S=1 x B x N" be " word_embedded = self.embedding(word_input).view(1, word_input.size(0), -1) # S=1 x B x N"? Because in...

I'm tutorial myself with your seq2seq tutorial code. error pop out this lines `output_words, attentions = evaluate("je suis trop froid .") plt.matshow(attentions.numpy())` `--------------------------------------------------------------------------- KeyError Traceback (most recent call last) in...

In class BahdanauAttnDecoderRNN(nn.Module), self.gru = nn.GRU(hidden_size, hidden_size, n_layers, dropout=dropout_p), but the input of gru is rnn_input = torch.cat((word_embedded, context), 2) whose size is 2*hidden_size

Looking at the following diagram and the code you wrote , which is : ![image](https://user-images.githubusercontent.com/5382892/61577782-7fdcbb00-ab01-11e9-9d3d-1c0d93eda6ee.png) ``` import torch.nn as nn class RNN(nn.Module): def __init__(self, input_size, hidden_size, output_size): super(RNN, self).__init__() self.hidden_size...

### Hi all, I'm trying to run the seq 2seq model. (seq2seq-translation-batched.ipnb) My environment is python 3.6.4, torch 0.4.0 And I make some modification: 1. disable anything related to CUDA...

In the "Translation with a Sequence to Sequence Network and Attention" document, in this paragraph: ``` "Teacher Forcing", or maximum likelihood sampling, means using the real target outputs as each...

regarding this tutorial: https://pytorch.org/tutorials/intermediate/seq2seq_translation_tutorial.html I just have a question (which probably sound very stupid). I am just wondering is it necessary to optimize parameters of the decoder and the encoder...

Hi! Why is the link for Series 2 not available? Is the tutorial not ready yet? Please let me know. Thanks!

The bug is discussed in [this issue](https://github.com/spro/char-rnn.pytorch/issues/13) with more detail.

I try to install pytorch and after days of trying I`m here with a big, big problem. I read a lot of articles of "how to install pytorch" I try...