Hi All,
I am getting the following error when I try to run a pytorch program. The error is coming from a queue which I use. Can somebody help me to resolve the issue?

Traceback (most recent call last):
File “basic_evaluation_queue_003.py”, line 232, in 
evaluate()
File “basic_evaluation_queue_003.py”, line 141, in evaluate
torch_data[tracking] = (queue_recent.get())[1]
File “/home/pranavan/anaconda3/envs/capsule/lib/python3.6/queue.py”, line 174, in get
item = self._get()
File “/home/pranavan/anaconda3/envs/capsule/lib/python3.6/queue.py”, line 230, in _get
return heappop(self.queue)
RuntimeError: bool value of Tensor with more than one value is ambiguous

Thanks in advance.