Closed vishnu-m77 closed 11 months ago
https://github.com/vishnu-m77/DiffMIC/blame/7e0bb07b39cd902ba6992d7a2b02c316e90fb93e/src/metrics.py#L31
Not sure. I didn't implement compute_f1_score().
compute_f1_score()
cpu is used to convert torch tensor to numpy ndarray object
Code works without .cpu()
okay
https://github.com/vishnu-m77/DiffMIC/blame/7e0bb07b39cd902ba6992d7a2b02c316e90fb93e/src/metrics.py#L31