Skip to content

Add information about non-differentiable points to grad tests #32

Description

@soumith
FAIL: test_ReLU (__main__.TestNN)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test_nn.py", line 287, in <lambda>
    setattr(TestNN, test_name, lambda self,test=test: test(self))
  File "/data/users/soumith/pytorch/test/common_nn.py", line 533, in __call__
    self._do_test(test_case, module, input)
  File "test_nn.py", line 33, in _do_test
    test_case.check_jacobian(module, input, self.jacobian_input)
  File "/data/users/soumith/pytorch/test/common_nn.py", line 433, in check_jacobian
    PRECISION
AssertionError: 0.20518362972049153 not less than or equal to 1e-05

ERROR: test_maskedSelect (__main__.TestTorch)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test_torch.py", line 1887, in test_maskedSelect
    self.assertEqual(dst, torch.Tensor(dst2), 0)
  File "/data/users/soumith/pytorch/test/common.py", line 66, in assertEqual
    max_err = max(max_err, abs(x[index] - y[index]))
TypeError: bad operand type for abs(): 'DoubleTensor'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    todoNot as important as medium or high priority tasks, but we will work on these.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions