navidstuv / Nuclear-detection

Localizing the nuclei inside H&E pathology images.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Nuclear-detection

Test_funcv2 is file for inference:

Return the initialized model by using model = model_initialize_detector(modelType = 'spagetti-singleHead-multiscale-residual-deep',cellLoss = '', marginLoss = '',image_size = 1024, wights_path = '') function.

Pass Model checkpoint to the wights_path argument. Then use proxy_map, coordinates = detector(img, model,image_size = 1024) and pass the model from previous function to get the probability map and the coordinates of nuclei.

About

Localizing the nuclei inside H&E pathology images.


Languages

Language:Python 100.0%