utils.py [356:365]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
	id_p, id_g = chamfer_dist(gt_points, pred_points)

	# calculate chamfer distance
	pred_points = pred_points.view(-1, 3)
	gt_points = gt_points.contiguous().view(-1, 3)
	points_range = num * torch.arange(0, batch_size).cuda().unsqueeze(-1).expand(batch_size, num)
	id_p = (id_p.long() + points_range).view(-1)
	id_g = (id_g.long() + points_range).view(-1)
	pred_counters = torch.index_select(pred_points, 0, id_p)
	gt_counters = torch.index_select(gt_points, 0, id_g)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



utils.py [405:413]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
	id_p, id_g = chamfer_dist(gt_points, pred_points)
	pred_points = pred_points.view(-1, 3)
	gt_points = gt_points.contiguous().view(-1, 3)
	points_range = num * torch.arange(0, batch_size).cuda().unsqueeze(-1).expand(batch_size, num)

	id_p = (id_p.long() + points_range).view(-1)
	id_g = (id_g.long() + points_range).view(-1)
	pred_counters = torch.index_select(pred_points, 0, id_p)
	gt_counters = torch.index_select(gt_points, 0, id_g)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



