Skip to content

Commit

Permalink
FIX : ResampleTest : Remove workaround for DeepState bug
Browse files Browse the repository at this point in the history
  • Loading branch information
danieldresser-ie committed Jan 25, 2024
1 parent 62c1396 commit eb1a663
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions python/GafferImageTest/ResampleTest.py
Original file line number Diff line number Diff line change
Expand Up @@ -770,12 +770,7 @@ def testDeepWithExceptionalValues( self ):

with self.subTest( source = source, target = target ) :
self.assertImagesEqual( deepResample["out"], postTidy["out"] )

# This particular test doesn't pass due to a fairly nasty bug in DeepState
# ( identical pixels flatten to different values depending on their position in the image ).
# Should probably look into that, but I'm supposed to be getting this PR up.
if not ( source == 'infinity' and target == 'ZBack' ):
self.assertImagesEqual( ignoredChannelsA["out"], ignoredChannelsB["out"], maxDifference = maxDiff )
self.assertImagesEqual( ignoredChannelsA["out"], ignoredChannelsB["out"], maxDifference = maxDiff )

def testDeepInvalid( self ):

Expand Down

0 comments on commit eb1a663

Please sign in to comment.