Skip to content

Commit

Permalink
Add limitation of this defence in the comment
Browse files Browse the repository at this point in the history
  • Loading branch information
saumya0303 authored Apr 19, 2021
1 parent 8170aca commit 03f3ee2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion defenses/torch/audio/input_tranformation/resampling.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import torchaudio
import librosa


# There exist a limitation of this defense that it may lead to the problem of aliasing, and we can use the narrowband sample rate
# rather than downsampling followed by upsampling.
# resampling reference https://core.ac.uk/download/pdf/228298313.pdf
# resampling input transformation defense for audio

Expand Down

0 comments on commit 03f3ee2

Please sign in to comment.