|
mean_diff = np.average(np.abs(np.sum(np.sum(A,1),1)-np.sum(np.sum(val_anno,1),1))) / (100.0) |
Above line in your code take average of validation images and validation density map images.
How to get number of cells in a single image.
Also I tried single image test by replacing validation images with single image and a single density map of that image, but I got a difference of 154 cells.
Can you please tell me how to verify the code with single image, please.
Thanks
cell_counting_v2/train.py
Line 112 in d37bf70
Above line in your code take average of validation images and validation density map images.
How to get number of cells in a single image.
Also I tried single image test by replacing validation images with single image and a single density map of that image, but I got a difference of 154 cells.
Can you please tell me how to verify the code with single image, please.
Thanks