We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cc482aa commit 076f684Copy full SHA for 076f684
segmentation_models_pytorch/__init__.py
@@ -26,7 +26,9 @@
26
27
# Suppress the specific SyntaxWarning for `pretrainedmodels`
28
warnings.filterwarnings("ignore", message="is with a literal", category=SyntaxWarning)
29
-warnings.filterwarnings("ignore", message=r'"is" with \'str\' literal.*', category=SyntaxWarning) # for python >= 3.12
+warnings.filterwarnings(
30
+ "ignore", message=r'"is" with \'str\' literal.*', category=SyntaxWarning
31
+) # for python >= 3.12
32
33
34
def create_model(
0 commit comments