You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using msk_file, the inst_info["box"] is returning the wrong coordinates.
Here(816 line at /infer /wsi.py),
if you add tissue_topleft ([cmin, rmin]) to the inst_info["box"] coordinates, the x and y coordinates are added in reverse.
In other words, you need to add [rmin, cmin] to the inst_info["box"] coordinates to get the right bbox coordinates.
So I changed this code (816 line at /infer /wsi.py -> inst_info["box"] += tissue_topleft) to " inst_info["box"] += tissue_topleft[::-1] ".
Can you check and fix it?
Thank you.
The text was updated successfully, but these errors were encountered:
Hi.
I found a bug while trying to run_infer_wsi.py .
When using msk_file, the inst_info["box"] is returning the wrong coordinates.
Here(816 line at /infer /wsi.py),
if you add tissue_topleft ([cmin, rmin]) to the inst_info["box"] coordinates, the x and y coordinates are added in reverse.
In other words, you need to add [rmin, cmin] to the inst_info["box"] coordinates to get the right bbox coordinates.
So I changed this code (816 line at /infer /wsi.py -> inst_info["box"] += tissue_topleft) to " inst_info["box"] += tissue_topleft[::-1] ".
Can you check and fix it?
Thank you.
The text was updated successfully, but these errors were encountered: