RandLA-Net-pytorch
RandLA-Net-pytorch copied to clipboard
A bug about python main_SemanticKITTI.py
I got a bug when I run python main_SemanticKITTI.py
**** EPOCH 000 ****
2022-08-01 17:14:40.759397
/media/wx/HDD/DQ/RandLA-Net-pytorch-master/RandLANet.py:265: UserWarning: torch.range is deprecated and will be removed in a future release because its behavior is inconsistent with Python's range builtin. Instead, use torch.arange, which produces values in [start, end).
reducing_list = torch.range(0, cfg.num_classes).long().cuda()
Traceback (most recent call last):
File "main_SemanticKITTI.py", line 205, in
can you help me thanks a lot
I have the same question with you.How can you save the question?
I didn't solve it,too. The author didn't reply me.
ksama @.***
------------------ 原始邮件 ------------------ 发件人: "qiqihaer/RandLA-Net-pytorch" @.>; 发送时间: 2022年10月10日(星期一) 下午3:28 @.>; @.@.>; 主题: Re: [qiqihaer/RandLA-Net-pytorch] A bug about python main_SemanticKITTI.py (Issue #22)
I have the same question with you.How can you save the question?
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
I have the same question with you.How can you save the question?
just change [1,19] to [19], and it work!
Hi ,
i helper_tool.py i changed this line return np.expand_dims(ce_label_weight, axis=0) which is 2d array
to this one return ce_label_weight which is 1d array.
hope it helps you