tbepler / topaz

Pipeline for particle picking in cryo-electron microscopy images using convolutional neural networks trained from positive and unlabeled examples. Also featuring micrograph and tomogram denoising with DNNs.
GNU General Public License v3.0
170 stars 62 forks source link

Computing Metrics #183

Closed ojasvijain closed 3 months ago

ojasvijain commented 7 months ago

Hi!

I wanted to compute metrics such as precision, recall, ap etc. based on the code provided on https://github.com/tbepler/topaz/blob/master/topaz/metrics.py.

I just wanted to understand what the "target" and "pred" looks like in the average_prediction function. I have 2 files (for each image) which consist of the particle and the corresponding bounding box coordinates (4 points). Is it that what is expected?

Thanks!