We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
在demo/image_demo.py的第145行: ANNOTATIONS_DIRECTORY = os.makedirs(r"./annotations", exist_ok=True) 这一行的作用是创建一个目录,返回值给了ANNOTATIONS_DIRECTORY,返回为空,但是,这个返回值不是路径 在demo/image_demo.py的第154行: annotations_directory_path=ANNOTATIONS_DIRECTORY, 在这里,却把ANNOTATIONS_DIRECTORY 这个值,当作路径使用。最终导致推理结束后,标签保存目录./annotations仍为空。
因此,建议这里改动一下ANNOTATIONS_DIRECTORY
The text was updated successfully, but these errors were encountered:
No branches or pull requests
在demo/image_demo.py的第145行:
ANNOTATIONS_DIRECTORY = os.makedirs(r"./annotations", exist_ok=True)
这一行的作用是创建一个目录,返回值给了ANNOTATIONS_DIRECTORY,返回为空,但是,这个返回值不是路径
在demo/image_demo.py的第154行:
annotations_directory_path=ANNOTATIONS_DIRECTORY,
在这里,却把ANNOTATIONS_DIRECTORY 这个值,当作路径使用。最终导致推理结束后,标签保存目录./annotations仍为空。
因此,建议这里改动一下ANNOTATIONS_DIRECTORY
The text was updated successfully, but these errors were encountered: