Add import hint

This commit is contained in:
rockerBOO
2025-07-15 19:55:44 -04:00
parent 38b858926d
commit 483ad41e69

View File

@@ -45,7 +45,11 @@ from library.custom_train_functions import (
apply_masked_loss,
)
from library.utils import setup_logging, add_logging_arguments
from wavelet_loss import WaveletLoss
try:
from wavelet_loss import WaveletLoss
except:
raise ImportError("wavelet-loss is not installed. Install it with `pip install git+https://github.com/rockerBOO/wavelet-loss`")
setup_logging()
import logging