RE-Net
RE-Net copied to clipboard
Environment issues
I am using window 10 OS, and I followed the markdown instruction, installed packages including dgl-cuda 10.1, but showing up 'no module named dgl' while executing "import dgl", it seems that the dgl-cuda could not be correctly imported.
Any one facing same problem?
Chinese version:
按.md装了包之后dgl cuda没法正常被import.. import dgl报错。
应该是环境没有配好
I use following codes to create environments successfully: ` conda create -n renet python=3.6 numpy conda activate renet conda install pytorch==1.6.0 torchvision==0.7.0 cudatoolkit=10.1 -c python conda install -c dglteam dgl-cuda10.1 conda install scikit-learn
`
Thanks a lot! I may try this solution later !
---Original--- From: @.> Date: Thu, Mar 31, 2022 14:22 PM To: @.>; Cc: @.@.>; Subject: Re: [INK-USC/RE-Net] Environment issues (Issue #60)
I use following codes to create environments successfully: ` conda create -n renet python=3.6 numpy conda activate renet conda install pytorch==1.6.0 torchvision==0.7.0 cudatoolkit=10.1 -c python conda install -c dglteam dgl-cuda10.1 conda install scikit-learn
`
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
报错
E:\anaconda3\lib\site-packages\torch_tensor.py:575: UserWarning: floor_divide is deprecated, and will be removed in a future version of pytorch. It currently rounds toward 0 (like the
'trunc' function NOT 'floor'). This results in incorrect rounding for negative values.
To keep the current behavior, use torch.div(a, b, rounding_mode='trunc'), or for actual floor division, use torch.div(a, b, rounding_mode='floor'). (Triggered internally at ..\aten\sr
c\ATen\native\BinaryOps.cpp:467.)
return torch.floor_divide(self, other)
Traceback (most recent call last):
File "pretrain.py", line 139, in