ValueError: too many values to unpack (expected 5)
מנסה להריץ סקריפט בפייתון 3.5 ומקבל את הודעת השגיאה הבאה
בתודה מראש
מנסה להריץ סקריפט בפייתון 3.5 ומקבל את הודעת השגיאה הבאה
קוד:
ValueError Traceback (most recent call last)
<ipython-input-1-69687b0ea129> in <module>()
328 for i in range(1, iterations):
329 #compute predicted next word
--> 330 RNN.forwardProp()
331 #update all our weights using our error
332 error = RNN.backProp()
<ipython-input-1-69687b0ea129> in forwardProp(self)
54 for i in range(1, self.rl+1):
55 self.LSTM.x = np.hstack((self.ha[i-1], self.x))
---> 56 cs, hs, f, c, o = self.LSTM.forwardProp()
57 #store computed cell state
58 self.ca[i] = cs
ValueError: too many values to unpack (expected 5)
בתודה מראש