Open3D-ML icon indicating copy to clipboard operation
Open3D-ML copied to clipboard

Random model initialization doesn't work

Open AlibiZhenis opened this issue 3 years ago • 1 comments

Checklist

My Question

So I was just exploring stuff and tried to train tf PointPillars model as in the tutorial. I didn't set any arguments as the tutorial said that they would initialize randomly.

model = ml3d.models.PointPillars()

But I get the following error:

TypeError: init() missing 1 required positional argument: 'voxel_size'

I tried setting the voxel_size manually but it didn't work either.

AlibiZhenis avatar Jun 08 '22 09:06 AlibiZhenis

Hi! Same problem here, seems like you forgot to load configs `cfg_file = "ml3d/configs/pointpillars_kitti.yml" cfg = _ml3d.utils.Config.load_from_file(cfg_file)

model = ml3d.models.PointPillars(**cfg.model)` Reference to https://github.com/isl-org/Open3D-ML#3d-object-detection

noordahx avatar Jun 24 '22 08:06 noordahx