contrastBoundary icon indicating copy to clipboard operation
contrastBoundary copied to clipboard

Is the point transformer of contrastBoundary environment same with the original point transformer?

Open whuhxb opened this issue 2 years ago • 1 comments

Hi @LiyaoTang

Is the point transformer of contrastBoundary environment same with the original point transformer? I ran the original point transformer successfully. But recently, I can't run through the point transformer of contrastBoundary.

The bugs show up as below. I have checked there are empty GPU cards. Thanks.

model = torch.nn.DataParallel(model.cuda()) File "/export/home/hanxiaobing/anaconda3/envs/pt_CBL/lib/python3.7/site-packages/torch/nn/modules/module.py", line 637, in cuda return self._apply(lambda t: t.cuda(device)) File "/export/home/hanxiaobing/anaconda3/envs/pt_CBL/lib/python3.7/site-packages/torch/nn/modules/module.py", line 530, in _apply module._apply(fn) File "/export/home/hanxiaobing/anaconda3/envs/pt_CBL/lib/python3.7/site-packages/torch/nn/modules/module.py", line 530, in _apply module._apply(fn) File "/export/home/hanxiaobing/anaconda3/envs/pt_CBL/lib/python3.7/site-packages/torch/nn/modules/module.py", line 530, in _apply module._apply(fn) File "/export/home/hanxiaobing/anaconda3/envs/pt_CBL/lib/python3.7/site-packages/torch/nn/modules/module.py", line 552, in _apply param_applied = fn(param) File "/export/home/hanxiaobing/anaconda3/envs/pt_CBL/lib/python3.7/site-packages/torch/nn/modules/module.py", line 637, in return self._apply(lambda t: t.cuda(device)) File "/export/home/hanxiaobing/anaconda3/envs/pt_CBL/lib/python3.7/site-packages/torch/cuda/init.py", line 172, in _lazy_init torch._C._cuda_init() RuntimeError: No CUDA GPUs are available

whuhxb avatar Jun 15 '22 16:06 whuhxb

By in large, yes. But you need to re-compile the ops.

LiyaoTang avatar Jun 17 '22 10:06 LiyaoTang