MinkowskiEngine icon indicating copy to clipboard operation
MinkowskiEngine copied to clipboard

ME.cat() return SparseTensors must have the same coordinate_map_key

Open Yeah2333 opened this issue 2 years ago • 1 comments

I have set input sparsetensor using same coordinate_manager ` sinput1 = ME.SparseTensor(features=input_dict['sinput_s_F'].to(self.device), coordinates=input_dict['sinput_s_C'].to(self.device), quantization_mode=ME.SparseTensorQuantizationMode.UNWEIGHTED_AVERAGE)

    sinput2 = ME.SparseTensor(features=input_dict['sinput_t_F'].to(self.device),
                              coordinates=input_dict['sinput_t_C'].to(self.device),
                              quantization_mode=ME.SparseTensorQuantizationMode.UNWEIGHTED_AVERAGE,
                              coordinate_manager=sinput1.coordinate_manager)`

after same network downsample, when i want to cat two sparse tensor, it return AssertionError: SparseTensors must have the same coordinate_map_key.coordinate map key:[8, 8, 16] != coordinate map key:[8, 8, 16]:fa37J

Yeah2333 avatar Jun 16 '22 14:06 Yeah2333

save problem, even has the same hash code fa37j

zhuyinheng avatar Jun 27 '22 09:06 zhuyinheng