diff --git a/spacy/util.py b/spacy/util.py index 50ebc036b..9262b5df4 100644 --- a/spacy/util.py +++ b/spacy/util.py @@ -494,7 +494,7 @@ def from_disk(path, readers, exclude): path = ensure_path(path) for key, reader in readers.items(): if key not in exclude: - reader(path / key) + reader(path2str(path / key)) return path