Open jamesheatonrdm opened 1 month ago
The current pre-trained nuscenes models have only been trained on [Car, Truck, Bus, Motorcycle, Pedestrian]. You'll have to retrain the nuscenes models to detect the trailer class.
Adding new classes When adding new classes to anchor-based detectors, you need to make sure to copy over the anchor-size. Use OpenPCDet's SECOND for reference for nuScenes/waymo/kitti/etc. Each dataset has a different default anchor-size cause they use the average size of the object class in that dataset.
For centerhead, make sure you modify the class names for the detector head.
And last but not least, don't forget to change the CLASS_NAMES for both anchor and center head. https://github.com/darrenjkt/MS3D/blob/a35d6cc8ef8cc55e68a5a9e260917eac336b599a/tools/cfgs/nuscenes_models/uda_voxel_rcnn_anchorhead.yaml#L1
@darrenjkt Thanks for the detailed response! You have been very helpful
Hi @darrenjkt
Sorry to come back to this but I have run into an issue with one of the configs.
I have managed to add the additional class and train the models successfully except for IA-SSD (I did have to add PRED_VELOCITY: False in the DATA_CONFIG for each, I am presuming this is fine).
With the IA-SSD config, I get the following error in OpenPCDet data_processor.py:
AttributeError: 'DataProcessor' object has no attribute 'sample_points_by_voxels'
I have looked for the same issue on the OpenPCDet page but have unfortunately not found anyone with the same issue.
Do you know what could be causing this and how to correct the issue?
Thanks again.
For IA-SSD, are you training it in this MS3D repo? It won't work on OpenPCDet because they don't support it.
I got the code from the original IA-SSD repo: https://github.com/yifanzhang713/IA-SSD
I am looking to auto-label a dataset that contains objects similar to those found nuScenes, specifially the trailer class.
As far as I understand it, this work only currently supports auto-labelling of pedestrians and vehicles.
Currently, I am wondering if the models trained on nuScenes data have been trained on all of the classes in this dataset, or just [Car, Truck, Bus, Motorcycle, Pedestrian]. If I look in the config files e.g. this one, there are just the five classes there.
I have two questions:
Thanks in advance