You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bug描述 state = None放在了for epoch in range(num_epochs)上. 因此,在新的epoch中,state实际上没有被初始化,而是使用上一epoch最后一次迭代最后一个时间步的state, 这样并不合理.
要把state = None放在了for epoch in range(num_epochs)下面,for X, Y in data_iter上面
bug描述
state = None
放在了for epoch in range(num_epochs)
上. 因此,在新的epoch中,state实际上没有被初始化,而是使用上一epoch最后一次迭代最后一个时间步的state, 这样并不合理.要把
state = None
放在了for epoch in range(num_epochs)
下面,for X, Y in data_iter
上面版本信息
pytorch: 1.6.0
torchvision: 0.7.0
torchtext:
...
The text was updated successfully, but these errors were encountered: