pytorch/tnt

py3.5 travis tests fail non-deterministically

szagoruyko opened this issue · 0 comments

very odd, sometimes py3.5 bugs out on splitdataset, 3.6 is fine:

======================================================================
FAIL: testSplitDataset (__main__.TestDatasets)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test_datasets.py", line 102, in testSplitDataset
    self.assertEqual(splitdataset[2], 2)
AssertionError: 3 != 2

======================================================================
FAIL: testSplitDataset_fractions (__main__.TestDatasets)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test_datasets.py", line 122, in testSplitDataset_fractions
    self.assertEqual(splitdataset[2], 2)
AssertionError: 3 != 2

----------------------------------------------------------------------
Ran 10 tests in 0.003s