jkawamoto commited on
Commit
56b251c
1 Parent(s): bb44b80

Fix invalid escape sequences

Browse files

This 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.

Files changed (1) hide show
  1. 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: