Open ChengxiHAN opened 5 years ago
I had this problem when I start to train BR-Net.py:
geoseg-master/utils/runner.py", line 332, in self.train_log = [round(x, 3) for x in train_log] TypeError: type Tensor doesn't define round method
could you tell me how to tackle this problem?Thanks very much
Which version of pytorch are you using? this repo is based on pytorch 3.0.
I had this problem when I start to train BR-Net.py:
geoseg-master/utils/runner.py", line 332, in
self.train_log = [round(x, 3) for x in train_log]
TypeError: type Tensor doesn't define round method
could you tell me how to tackle this problem?Thanks very much