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
~/opt/anaconda3/lib/python3.8/site-packages/arnet/ar_net.py in fit_one_cycle(self, n_epoch, lr, cycles, plot)
201
202 if lr is None:
--> 203 self.find_lr(plot=plot)
204 lr = self.lr
205 for i in range(0, cycles):
~/opt/anaconda3/lib/python3.8/site-packages/arnet/ar_net.py in find_lr(self, plot)
187 if self.learn is None:
188 raise ValueError("create learner first.")
--> 189 lr_at_min, lr_steep = self.learn.lr_find(start_lr=1e-6, end_lr=10, num_it=300, show_plot=plot)
190 if plot:
191 plt.show()
ValueError: not enough values to unpack (expected 2, got 1)`
I was trying to use the AR-Net for one of my project when I came up with the following error:
`ValueError Traceback (most recent call last)
in
----> 1 m.fit(deltas)
~/opt/anaconda3/lib/python3.8/site-packages/arnet/ar_net.py in fit(self, series, plot)
217 self.make_datasets(series)
218 self.create_learner()
--> 219 self.fit_one_cycle(plot=plot)
220 return self
221
~/opt/anaconda3/lib/python3.8/site-packages/arnet/ar_net.py in fit_one_cycle(self, n_epoch, lr, cycles, plot)
201
202 if lr is None:
--> 203 self.find_lr(plot=plot)
204 lr = self.lr
205 for i in range(0, cycles):
~/opt/anaconda3/lib/python3.8/site-packages/arnet/ar_net.py in find_lr(self, plot)
187 if self.learn is None:
188 raise ValueError("create learner first.")
--> 189 lr_at_min, lr_steep = self.learn.lr_find(start_lr=1e-6, end_lr=10, num_it=300, show_plot=plot)
190 if plot:
191 plt.show()
ValueError: not enough values to unpack (expected 2, got 1)`
Apparently the Fast-AI functionality was changed: https://forums.fast.ai/t/error-in-lr-find/89968
So the code requires a small update so that the AR-Net can work.
The text was updated successfully, but these errors were encountered: