Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I was training with your dataset (lmdb) but error? Can you help me? #78

Closed
PhanTung-06 opened this issue Sep 4, 2022 · 2 comments
Closed

Comments

@PhanTung-06
Copy link

[2022-09-04 08:24:27,580 main.py:229 INFO train-abinet] Construct learner.
[2022-09-04 08:24:27,679 main.py:233 INFO train-abinet] Start training.
<IPython.core.display.HTML object>
<IPython.core.display.HTML object>
Traceback (most recent call last):
File "main.py", line 246, in
main()
File "main.py", line 235, in main
lr=config.optimizer_lr)
File "/usr/local/lib/python3.7/dist-packages/fastai/basic_train.py", line 200, in fit
fit(epochs, self, metrics=self.metrics, callbacks=self.callbacks+callbacks)
File "/usr/local/lib/python3.7/dist-packages/fastai/basic_train.py", line 99, in fit
for xb,yb in progress_bar(learn.data.train_dl, parent=pbar):
File "/usr/local/lib/python3.7/dist-packages/fastprogress/fastprogress.py", line 39, in iter
if self.total != 0: self.update(0)
File "/usr/local/lib/python3.7/dist-packages/fastprogress/fastprogress.py", line 59, in update
self.update_bar(0)
File "/usr/local/lib/python3.7/dist-packages/fastprogress/fastprogress.py", line 81, in update_bar
self.on_update(val, f'{pct}[{val}/{tot} {elapsed_t}{self.lt}{remaining_t}{end}]')
File "/usr/local/lib/python3.7/dist-packages/fastprogress/fastprogress.py", line 134, in on_update
elif self.parent is not None: self.parent.show()
File "/usr/local/lib/python3.7/dist-packages/fastprogress/fastprogress.py", line 177, in show
self.out.update(HTML(self.html_code))
AttributeError: 'NoneType' object has no attribute 'update'

@kos94ok
Copy link

kos94ok commented Mar 30, 2023

How was the problem solved?

@PhanTung-06
Copy link
Author

PhanTung-06 commented Apr 5, 2023

How was the problem solved?

Hi, I updated version of python from python3.7 to python3.8. You can try it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants