Skip to content
Snippets Groups Projects
Commit 30cd1943 authored by Nattapon Jaroenchai's avatar Nattapon Jaroenchai
Browse files

Update inference.py

parent d628af48
No related branches found
No related tags found
No related merge requests found
......@@ -145,9 +145,9 @@ def main(args):
# Get map details
print("Getting map details.")
map_name = h5_image.get_maps()
print(f"Map Name: {map_name[0]}")
all_map_legends = h5_image.get_layers(map_name[0])
map_name = h5_image.get_maps()[0]
print(f"Map Name: {map_name}")
all_map_legends = h5_image.get_layers(map_name)
print(f"All Map Legends: {all_map_legends}")
# Filter the legends based on the feature type
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment