Skip to content
New issue

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

XML annotations support #44

Open
thaomaidang opened this issue May 13, 2024 · 0 comments
Open

XML annotations support #44

thaomaidang opened this issue May 13, 2024 · 0 comments

Comments

@thaomaidang
Copy link

Hello,

First of all, thank you for sharing this wonderful project. I am working with an .XML annotation from the CAMELYON dataset and would like to use the annotation function in your code. Currently, you only support JSON annotations, and you've mentioned that XML support will be added in the future (preprocessing/patch_extraction/src/utils/patch_util.py). Could you please provide the XML code or explain how I can convert the XML annotation to a suitable JSON version?

Thank you in advance.

def get_regions_xml( path: Union[str, Path], exclude_classes: List[str] = None ) -> Tuple[List[np.ndarray], List[str]]: # TODO: Implement the functionality, write tests and docstring raise NotImplementedError( "The function is not implemented yet, but will be published in a future release!" )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant