brainvisa / morpho-deepsulci

Deep learning methods for Morphologist sulci recognition
8 stars 1 forks source link

Graph elements are not saved back after CNN sulci recognition #8

Closed denisri closed 1 year ago

denisri commented 1 year ago

When an output graph already exists, the CNN sulci labeling writes the .arg, but not the .data. This can result in messed up data (buckets, meshes)

The process recomputes graph elements, but does not mark them as modified, so it should force the output to write "unmodified" elements.

denisri commented 1 year ago

writing is forced using:

        aims.write(graph, self.labeled_graph,
                   options={"save_only_modified": False})