Closed kordk closed 1 year ago
This is a non-issue and due to my local installation. The error was cleared once my conda installation was updated to support tensor and the gpu fully.
/home/kord/proj/torch-ecpg-proj/torch-ecpg/tecpg/regression_full.py:90: UserWarning: The use of `x.T` on tensors of dimension other than 2 to reverse their shape is deprecated and it will throw an error in a future release. Consider `x.mT` to transpose batches of matrices or `x.permute(*torch.arange(x.ndim - 1, -1, -1))` to reverse the dimensions of a tensor. (Triggered internally at /opt/conda/conda-bld/pytorch_1667459633940/work/aten/src/ATen/native/TensorShape.cpp:3493.)
s2 = err.T.matmul(err) / (nrows - ncols - 1)
I was given an error when running tecpg run mlr with the demo data that appears to be a typo. When I made the change and re-installed, it worked as expected.