bshall / knn-vc

Voice Conversion With Just Nearest Neighbors
https://bshall.github.io/knn-vc/
Other
431 stars 64 forks source link

An error when check input type #2

Closed yzmyyff closed 1 year ago

yzmyyff commented 1 year ago

thx share the great work I tried the inference procedure, but can't pass pathlib.Path as input. it may be caused by type check here https://github.com/interspeech2023blind/knn-vc/blob/cfba7e0808fcf3df1fe9ed2ff10e2031b25d9954/matcher.py#L89 We should use isinstance() and check pathlib.Path instead of path