edu
edu copied to clipboard
Exception occured in `ProgressCallback`
I'm trying to run this file by using google colab.
I followed all the steps, and run the file using the following command:
!python /content/train.py
I'm getting the following error
Traceback (most recent call last):
File "/content/train.py", line 124, in {self.__class__.__name__}
when calling event {event_name}
:\n\t{e.args[0]}', replace=True)
File "/usr/local/lib/python3.10/dist-packages/fastai/callback/core.py", line 60, in call
try: res = getcallable(self, event_name)()
File "/usr/local/lib/python3.10/dist-packages/fastai/callback/progress.py", line 27, in before_train
def before_train(self): self._launch_pbar()
File "/usr/local/lib/python3.10/dist-packages/fastai/callback/progress.py", line 37, in _launch_pbar
self.pbar.update(0)
File "/usr/local/lib/python3.10/dist-packages/fastprogress/fastprogress.py", line 59, in update
self.update_bar(0)
File "/usr/local/lib/python3.10/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.10/dist-packages/fastprogress/fastprogress.py", line 134, in on_update
elif self.parent is not None: self.parent.show()
File "/usr/local/lib/python3.10/dist-packages/fastprogress/fastprogress.py", line 177, in show
self.out.update(HTML(self.html_code))
AttributeError: Exception occured in ProgressCallback
when calling event before_train
:
'NoneType' object has no attribute 'update'
Please help me to resolve this error.