uw-ipd / RoseTTAFold2NA

RoseTTAFold2 protein/nucleic acid complex prediction
MIT License
306 stars 67 forks source link

UserWarning: Using torch.cross without specifying the dim arg is deprecated. #113

Closed SuhasSrinivasan closed 2 months ago

SuhasSrinivasan commented 2 months ago

While running the final prediction step of the pipeline the following warning is displayed

util.py:230: UserWarning: Using torch.cross without specifying the dim arg is deprecated.
Please either pass the dim explicitly or simply use torch.linalg.cross.
The default value of dim will change to agree with that of linalg.cross in a future release. (Triggered internally at ../aten/src/ATen/native/Cross.cpp:63.)
  Z = torch.cross(Xn,Yn)
python                    3.10.14
torch                     2.2.1 
SuhasSrinivasan commented 2 months ago

Fixed in merged PR #114