fastai / fastprogress

Simple and flexible progress bar for Jupyter Notebook and console
Apache License 2.0
1.08k stars 105 forks source link

Encountered this error #29

Closed pranaypratyush closed 5 years ago

pranaypratyush commented 5 years ago
Traceback (most recent call last):                                                                                       
  File "depth_fast.py", line 82, in <module>
    ftrain.fit_one_cycle(main_model, 1)
  File "/home/pranay/anaconda3/lib/python3.6/site-packages/fastai/train.py", line 22, in fit_one_cycle
    learn.fit(cyc_len, max_lr, wd=wd, callbacks=callbacks)
  File "/home/pranay/anaconda3/lib/python3.6/site-packages/fastai/basic_train.py", line 191, in fit
    callbacks=self.callbacks+callbacks)
  File "/home/pranay/anaconda3/lib/python3.6/site-packages/fastai/basic_train.py", line 92, in fit
    for xb,yb in progress_bar(data.train_dl, parent=pbar):
ValueError: too many values to unpack (expected 2)
sgugger commented 5 years ago

This is unrelated to fastprogress, as it's most likely a problem with data.train_dl. Closing this here, but you can open an issue on fastai. Please include a reproducible example of the bug or we can't help and fix it.