txie-93 / cdvae

An SE(3)-invariant autoencoder for generating the periodic structure of materials [ICLR 2022]
MIT License
211 stars 85 forks source link

RuntimeError: General Union types are not currently supported. #40

Open chiku-parida opened 1 year ago

chiku-parida commented 1 year ago

Need Solution!

fn = torch._C._jit_script_compile( qualified_name, ast, _rcb, get_default_args(obj) ) RuntimeError: General Union types are not currently supported. Only Union[T, NoneType] (i.e. Optional[T]) is supported.: /lib/python3.8/site-packages/torch_cluster/rw.py", line 18 num_nodes: Optional[int] = None, return_edge_indices: bool = False, ) -> Union[Tensor, Tuple[Tensor, Tensor]]:


"""Samples random walks of length :obj:`walk_length` from all node indices
    in :obj:`start` in the graph given by :obj:`(row, col)` as described in the
` when loading module 'cdvae.pl_modules.gnn.DimeNetPlusPlusWrap'