QVPR / VPRTempo

Code for VPRTempo, our temporally encoded spiking neural network for visual place recognition.
https://vprtempo.github.io
MIT License
38 stars 7 forks source link

Fixed an issue with encountering all NaN slice for PR curve calculation #7

Closed AdamDHines closed 11 months ago

AdamDHines commented 11 months ago

Repaired a problem with the ./metrics createPR where all NaN slices were being encountered. Needed to transpose the numpconc numpy array so it organized into columns then also throw in a check during testing that catches all zero outputs (sub-threshold spiking) and finds the output neuron with the highest input.