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
The evaluation script (originally from https://github.com/carpenterlab/2019_caicedo_cytometryA/blob/master/unet4nuclei/utils/evaluation.py) contains a step to calculate the number of objects:
# Count objects true_objects = len(np.unique(ground_truth)) pred_objects = len(np.unique(prediction))
However, this will also include the background in the object count (it has the unique value 0).
To fix this change the lines to:
# Count objects true_objects = len(np.unique(ground_truth)) - 1 pred_objects = len(np.unique(prediction)) - 1
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The evaluation script (originally from https://github.com/carpenterlab/2019_caicedo_cytometryA/blob/master/unet4nuclei/utils/evaluation.py) contains a step to calculate the number of objects:
However, this will also include the background in the object count (it has the unique value 0).
To fix this change the lines to:
The text was updated successfully, but these errors were encountered: