-
-
Notifications
You must be signed in to change notification settings - Fork 654
Open
Labels
Description
❓ Questions/Help/Support
Hi @vfdev-5 ,
I am writing an ignite handler to write the segmentation metrics of every image into 1 CSV file as the summary, for example:
metrics.csv:
/data/spleen/image_1 0.85
/data/spleen/image_2 0.87
/data/spleen/image_3 0.91
... ...
The problems are that:
- I tried to add logic to
metrics.update()
to cache every record and write to CSV inmetrics.complete()
, but ignite.metrics only acceptsoutput_transform
, so I can't extract the filenames fromengine.state.batch
. - Then I changed to write a separate handler for this feature, but ignite metrics only saves the final average metrics into
engine.state.metrics
, handler is not easy to get every metric value corresponding to every image. - Another problem is the
DistributedDataParallel
, when I run the handler in multi-processsing, how do you usually use the multi-processing lock to save content into 1 CSV in both unix and windows OS?
Thanks.