tobiasvanderwerff / full-page-handwriting-recognition

Unofficial implementation of the paper "Full Page Handwriting Recognition via Image to Sequence Extraction" by Singh et al. (2021).
MIT License
51 stars 5 forks source link

TypeError: expected str, bytes or os.PathLike object, not NoneType #9

Closed pontifex03 closed 1 year ago

pontifex03 commented 1 year ago

Global seed set to 1337 Traceback (most recent call last): File "C:\Users\harsh\OneDrive\Desktop\projecttt\full-page-handwriting-recognition\src\main.py", line 326, in main(args) File "C:\Users\harsh\OneDrive\Desktop\projecttt\full-page-handwriting-recognition\src\main.py", line 57, in main ds = IAMDataset( File "C:\Users\harsh\OneDrive\Desktop\projecttt\full-page-handwriting-recognition\src\data.py", line 69, in init self.root = Path(root) File "C:\Users\harsh\AppData\Local\Programs\Python\Python310\lib\pathlib.py", line 958, in new self = cls._from_parts(args) File "C:\Users\harsh\AppData\Local\Programs\Python\Python310\lib\pathlib.py", line 592, in _from_parts drv, root, parts = self._parse_args(args) File "C:\Users\harsh\AppData\Local\Programs\Python\Python310\lib\pathlib.py", line 576, in _parse_args a = os.fspath(a) TypeError: expected str, bytes or os.PathLike object, not NoneType

using python 3.10