RFdiffusion icon indicating copy to clipboard operation
RFdiffusion copied to clipboard

Error When Setup

Open xinran1129305 opened this issue 1 year ago • 1 comments

installing RFdiffusion... installing ColabDesign... downloading RFdiffusion params... /content/RFdiffusion/util.py:255: 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)

ModuleNotFoundError Traceback (most recent call last) in

/content/RFdiffusion/inference/utils.py in 6 import torch 7 import torch.nn.functional as nn ----> 8 from diffusion import get_beta_schedule 9 from scipy.spatial.transform import Rotation as scipy_R 10 from util import rigid_from_3_points

1 frames /content/RFdiffusion/util_module.py in 5 from opt_einsum import contract as einsum 6 import copy ----> 7 import dgl 8 from util import base_indices, RTs_by_torsion, xyzs_in_base_frame, rigid_from_3_points 9

ModuleNotFoundError: No module named 'dgl'

xinran1129305 avatar Mar 16 '24 16:03 xinran1129305

The dgl module should be installed when you install RFdiffusion -- in particular, it's installed when you run the pip install --no-cache-dir -r requirements.txt line.

Note that the installation happens in the SE3nv Conda environment. You have to run a conda activate SE3nv every time you want to run RFdiffusion. (You only have to do that once per terminal session, though.)

roccomoretti avatar Oct 10 '24 07:10 roccomoretti