Open tberriel opened 1 month ago
Hi, thanks for your input. The code is not very polished unfortunately, we'll try to improve it. Could you find out which scene and object ID gives the error? You can try ignoring that instance and see if that fixes it.
What I found was at
Hi,
First of all, thanks for publishing the 2D rasterization of semantic labels!
Unfortunately when launching
python -m semantic.prep.rasterize_semantics_2d semantic/configs/rasterize_semantics_2d.yml
I'm getting the error
ValueError: zero-size array to reduction operation minimum which has no identity
with traceback to line 205 of _semantic/prep/rasterize_semantics2d.py
bbox_min = np.min(nonzero_inds, axis=1)
Prior to running _rasterize_semantics2d.py, to generate the PTH files I launched
python -m semantic.prep.prepare_training_data semantic/configs/prepare_training_data.yml
removing the sample transform to keep the _vtx__* keys called in _rasterize_semantics2d.py .
My config files are: