Closed dkoh0207 closed 2 years ago
To run GraphSPICE with/without labels, one now sets the use_cluster_labels
parameter in the config as follows:
constructor_cfg:
mode: 'knn'
seg_col: -1
cluster_col: 5
edge_mode: 'attributes'
hyper_dimension: 22
edge_cut_threshold: 0.1
use_cluster_labels: False
...
graph_spice_loss:
name: graph_spice_edge_loss
invert: True
kernel_lossfn: 'lovasz_hinge'
edge_loss_cfg:
loss_type: 'LogDice'
use_cluster_labels: False
If use_cluster_labels
is set to True, GraphSPICE will compute edge loss/accuracy with the provided labels. Otherwise the edge loss and accuracy will be set to zero (running in data, for example).
This is a (temporary) crash fix for the full chain, I believe you will need both the graph-spice part and the vertex-net part.