faster-rcnn-rgbd
faster-rcnn-rgbd copied to clipboard
module 'torch' has no attribute '_TensorBase'
in ur utils/array_tool.py, you use t._TensorBase but when I run the code, it turns wrong and pops up: AttributeError: module 'torch' has no attribute '_TensorBase'
I just solve it, change the line from: if isinstance(data, t._C._TensorBase): to if isinstance(data, t._C._TensorBase) and (data.requires_grad==False):