• F-G Fernandez's avatar
    Added __repr__ attribute to GeneralizedRCNNTransform (#1834) · e2573a71
    F-G Fernandez authored
    * feat: Added __repr__ attribute to GeneralizedRCNNTransform
    
    Added more details to default __repr__ attribute for printing.
    
    * fix: Put back relative imports
    
    * style: Fixed pep8 compliance
    
    Switched strings with  syntax to f-strings.
    
    * test: Added test for GeneralizedRCNNTransform __repr__
    
    Checked integrity of __repr__ attribute
    
    * test: Fixed unittest for __repr__
    
    Fixed the formatted strings in the __repr__ integrity check for GeneralizedRCNNTransform
    
    * fix: Fixed f-strings for earlier python versions
    
    Switched back f-strings to .format syntax for Python3.5 compatibility.
    
    * fix: Fixed multi-line string
    
    Fixed multiple-line string syntax for compatibility
    
    * fix: Fixed GeneralizedRCNNTransform unittest
    
    Fixed formatting of min_size argument of the resizing part
    e2573a71
test_models.py 11.5 KB