medicaldetectiontoolkit
medicaldetectiontoolkit copied to clipboard
fix indexerror for retinanet in torch1.x
keep_ix / fg_probs.shape[1]
returns a float tensor which can not be used as index with torch 1.x.