While doing hyperparameter optimization using Ray Tune in pytorch, getting the below error:

Traceback (most recent call last):
  File "/home/vsl3/anaconda2/lib/python2.7/site-packages/ray/worker.py", line 891, in _process_task
    *arguments)
  File "/home/vsl3/anaconda2/lib/python2.7/site-packages/ray/actor.py", line 261, in actor_method_executor
    method_returns = method(actor, *args)
  File "/home/vsl3/anaconda2/lib/python2.7/site-packages/ray/tune/trainable.py", line 117, in train
    result = self._train()
  File "/home/vsl3/anaconda2/lib/python2.7/site-packages/ray/tune/function_runner.py", line 114, in _train
    result = self._status_reporter._get_and_clear_status()
  File "/home/vsl3/anaconda2/lib/python2.7/site-packages/ray/tune/function_runner.py", line 39, in _get_and_clear_status
    raise TuneError("Error running trial: " + str(self._error))
TuneError: Error running trial: 'bool' object is not callable