Spaces:
Sleeping
Sleeping
Fix unused line
Browse files- a3c/discrete_A3C.py +0 -1
a3c/discrete_A3C.py
CHANGED
|
@@ -30,7 +30,6 @@ class Net(nn.Module):
|
|
| 30 |
self.v3 = nn.Linear(n_emb, 1)
|
| 31 |
set_init([ self.v1, self.v2]) # n_emb
|
| 32 |
self.distribution = torch.distributions.Categorical
|
| 33 |
-
assert a_dim == len(word_list), "putos"
|
| 34 |
word_width = 26 * words_width
|
| 35 |
word_array = np.zeros((len(word_list), word_width))
|
| 36 |
self.actor_head = nn.Linear(n_emb, n_emb)
|
|
|
|
| 30 |
self.v3 = nn.Linear(n_emb, 1)
|
| 31 |
set_init([ self.v1, self.v2]) # n_emb
|
| 32 |
self.distribution = torch.distributions.Categorical
|
|
|
|
| 33 |
word_width = 26 * words_width
|
| 34 |
word_array = np.zeros((len(word_list), word_width))
|
| 35 |
self.actor_head = nn.Linear(n_emb, n_emb)
|