CRFNet_Tensorflow2.4.1
CRFNet_Tensorflow2.4.1 copied to clipboard
TypeError: ' RadarPointCloud ' object is not iterable
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)
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]