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

Update inference.py

parent 5fa5080e
No related branches found
No related tags found
No related merge requests found
......@@ -252,6 +252,7 @@ def main(args):
# Get the size of the map
map_width, map_height, _ = h5_image.get_map_size(map_name)
print("Map size:", h5_image.get_map_size(map_name))
# Calculate the number of patches based on the patch size and border
num_rows = math.ceil(map_width / h5_image.patch_size)
......
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