Traceback (most recent call last):


 "/home/thomas/mx/tmp/main.py", line 41, in <module>

trainer.fit(autoencoder, DataLoader(train), DataLoader(val))


 "/home/thomas/anaconda3/lib/python3.7/site-packages/pytorch_lightning/trainer/trainer.py", line 440, in fit

results = self.accelerator_backend.train()


 "/home/thomas/anaconda3/lib/python3.7/site-packages/pytorch_lightning/accelerators/cpu_accelerator.py", line 45, in train

self.trainer.train_loop.setup_training(model)


 "/home/thomas/anaconda3/lib/python3.7/site-packages/pytorch_lightning/trainer/training_loop.py", line 132, in setup_training

self.trainer.logger.log_hyperparams(ref_model.hparams)


 "/home/thomas/anaconda3/lib/python3.7/site-packages/pytorch_lightning/utilities/distributed.py", line 35, in wrapped_fn

return fn(*args, **kwargs)


 "/home/thomas/anaconda3/lib/python3.7/site-packages/pytorch_lightning/loggers/tensorboard.py", line 169, in log_hyperparams

self.log_metrics(metrics, 0)


 "/home/thomas/anaconda3/lib/python3.7/site-packages/pytorch_lightning/utilities/distributed.py", line 35, in wrapped_fn

return fn(*args, **kwargs)


 "/home/thomas/anaconda3/lib/python3.7/site-packages/pytorch_lightning/loggers/tensorboard.py", line 191, in log_metrics

type(e)(e.message + m)
AttributeError: 'TypeError' object has no attribute 'message'

Traceback (most recent call last):


 "/usr/lib64/python3.9/multiprocessing/pool.py", line 125, in worker

result = (True, func(*args, **kwds))


 "/builddir/build/BUILDROOT/ocrmypdf-10.1.0-1.fc33.x86_64/usr/lib/python3.9/site-packages/ocrmypdf/_sync.py", line 214, in exec_page_sync

ocr_out = render_hocr_page(hocr_out, page_context)


 "/builddir/build/BUILDROOT/ocrmypdf-10.1.0-1.fc33.x86_64/usr/lib/python3.9/site-packages/ocrmypdf/_pipeline.py", line 612, in render_hocr_page

hocrtransform.to_pdf(


 "/builddir/build/BUILDROOT/ocrmypdf-10.1.0-1.fc33.x86_64/usr/lib/python3.9/site-packages/ocrmypdf/hocrtransform.py", line 191, in to_pdf

elemtxt = self._get_element_text(elem).rstrip()


 "/builddir/build/BUILDROOT/ocrmypdf-10.1.0-1.fc33.x86_64/usr/lib/python3.9/site-packages/ocrmypdf/hocrtransform.py", line 112, in _get_element_text

for child in element.getchildren():
AttributeError: 'xml.etree.ElementTree.Element' object has no attribute 'getchildren'
