cgastaud
cgastaud
Loss must have `reduction = 'none'`. See [this tutorial](https://github.com/tensorflow/privacy/blob/master/tutorials/mnist_dpsgd_tutorial_keras.py#L122) for instance
I think this is what you are looking for: https://arxiv.org/abs/1908.10530
we can, but after tinkering a bit with it seems like the whole for loop is not used ? we build the `id_maxes` array but then return `idx` which was...
Ok I circled back to the paper and the goal of this loop seems to be finding the "True R-peak" (see section 2.4), aka the max amplitude in the vicinity...
I think you're right about the window size, and I'm ok with leaving it as is. Maybe we could add it as a parameter ? Finding the local maximum in...