CRFNet_Tensorflow2.4.1 icon indicating copy to clipboard operation
CRFNet_Tensorflow2.4.1 copied to clipboard

TypeError: ' RadarPointCloud ' object is not iterable

Open Tipper-sun opened this issue 2 years ago • 1 comments

When the training starts,i met this problem:

radar_sample = [radar.enrich_radar_data(pc.points) for pc in pcs] TypeError: 'RadarPointCloud' object is not iterable

RadarPointCloud: pcs, times = RadarPointCloud.from_file_multisweep(self.nusc, sample, sensor_channel, sensor_channel, nsweeps=required_sweep_count, min_distance=0.0)

Tipper-sun avatar Feb 20 '23 03:02 Tipper-sun

you can transform pcs in 'radar_sample = [radar.enrich_radar_data(pc.points) for pc in pcs]' to list before iterate. such as :

pcs = list(pcs)
radar_sample = [radar.enrich_radar_data(pc.points) for pc in pcs]

nacayu avatar Feb 20 '23 12:02 nacayu