Skip to content

Commit cc93bcf

Browse files
committed
Suggest the right module
1 parent 893e305 commit cc93bcf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/custom_train_functions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -588,7 +588,7 @@ def __init__(self, wavelet='db4', level=3, transform="dwt", loss_fn=torch.nn.fun
588588
self.hl_weight2 = 0.01
589589
self.hh_weight2 = 0.05
590590

591-
assert pywt.wavedec2 is not None, "PyWavelet module not available. Please install `pip install PyWavelet`"
591+
assert pywt.wavedec2 is not None, "PyWavelets module not available. Please install `pip install PyWavelets`"
592592
# Create GPU filters from wavelet
593593
wav = pywt.Wavelet(wavelet)
594594
self.register_buffer('dec_lo', torch.Tensor(wav.dec_lo).to(device))

0 commit comments

Comments
 (0)