Sai Tai

Results 2 issues of Sai Tai

def __sample(a, temperature=1.0): a = np.log(a) / temperature a = np.exp(a) / np.sum(np.exp(a)) return np.argmax(np.random.multinomial(1, a, 1)) It shows up multinomial has an error np.argmax(np.random.multinomial(1, a, 1)) File "mtrand.pyx", line...

The network can train smoothly by calling `gensamples(batch_size=batch_size)` , but I am just wodering why the function beamsearch() doesn't work when it is called from this line `gensamples(skips=2, batch_size=batch_size, k=10,...