解决方案: 将utils/datasets.py文件中的 p = str(Path(path).absolute()) # os-agnostic absolute path 改为 p = str(Path(path)),重新运行代码即可