Fix invalid escape sequences
Browse filesThis PR fixes this warning: `processing_florence2.py:499: SyntaxWarning: invalid escape sequence '\d'`. This warning occurs because a docstring contains unescaped backslashes. This PR modifies the docstring so that it is defined as a raw string and backslashes don’t make escape sequences.
- processing_florence2.py +1 -1
processing_florence2.py
CHANGED
@@ -496,7 +496,7 @@ class CoordinatesQuantizer(object):
|
|
496 |
|
497 |
|
498 |
class Florence2PostProcesser(object):
|
499 |
-
"""
|
500 |
Florence-2 post process for converting text prediction to various tasks results.
|
501 |
|
502 |
Args:
|
|
|
496 |
|
497 |
|
498 |
class Florence2PostProcesser(object):
|
499 |
+
r"""
|
500 |
Florence-2 post process for converting text prediction to various tasks results.
|
501 |
|
502 |
Args:
|