Open moe0430cagla opened 1 year ago
Hey, @moe0430cagla
It seems you need to add a label
Key to your test data.
This is the code when creating an existing dataset (SemanticKITTI).
https://github.com/isl-org/Open3D-ML/blob/master/ml3d/datasets/semantickitti.py#L268
e.g
labels = np.zeros(np.shape(points)[0], dtype=np.int32)
data = {
'point': points,
'feat': None,
'label': labels,
}
Checklist
master
branch).My Question
The following code is written in the README file.
I want to use pipeline.run_inference to my own data that doesn't have labels. Is it possible ?
When I enter my point cloud in the [data] section, I get the following error
torch.tensor(data['label']), model.cfg.num_classes, KeyError: 'label'
My CODE
Please tell me the reason why this error occurs. Thank you for your cooperation.