isl-org / Open3D-ML

An extension of Open3D to address 3D Machine Learning tasks
Other
1.88k stars 321 forks source link

when i train randlanet there some error and warning as follows #590

Open Marine98k opened 1 year ago

Marine98k commented 1 year ago

Checklist

My Question

UserWarning: An output with one or more elements was resized since it had shape [180224], which does not match the required output shape [4, 45056]. This behavior is deprecated, and in a future PyTorch release outputs will not be resized unless they have zero elements. You can explicitly reuse an out tensor t by resizing it, inplace, to zero elements with t.resize_(0). (Triggered internally at ../aten/src/ATen/native/Resize.cpp:17.) return torch.stack(batch, 0, out=out)

RuntimeError: weight tensor should be defined either for all 19 classes or no classes but got weight tensor of shape: [1, 19]

anyone have solve it? thanks for your help!