Closed YWonchall closed 1 year ago
hi, i want to konw how th AB is calculate? the code is as follows:
def send(self, key, val): self.data[key] = val if isinstance(val, np.ndarray): cur_bytes = val.size * 8 elif type(val) in [int, float]: cur_bytes = 8 elif isinstance(val, list): cur_bytes = np.array(val).size * 8 elif type(val) is str: cur_bytes = len(val) if key.endswith("boxes"): cur_bytes = cur_bytes * 7 / 24 self.cur_bytes += cur_bytes
i want to konw which is used to calculate the point cloud or box?
for pointcloud, each point cloud has 4 float value, each float takes up 4 bytes. so the AB of pointcloud is N44 (N is the numbers of point clous in each file).
for box,each box has 8 vertices, each vertice has 3 coordinates. if it is float too, the AB of pointcloud is M83*4(M is the number of boxes in each file).
Am I doing the right thing?, Or can you tell me about the logic of the source code?
Thank you!
In our newer paper, we will normalize and explain how to calculate the transmission cost of the three transmission forms. Here we use a 32-bit float to represent each element in transmitted data, and we ignore the transmission cost of calibration files and timestamps.
hi, i want to konw how th AB is calculate? the code is as follows:
i want to konw which is used to calculate the point cloud or box?
for pointcloud, each point cloud has 4 float value, each float takes up 4 bytes. so the AB of pointcloud is N*4*4 (N is the numbers of point clous in each file).
for box,each box has 8 vertices, each vertice has 3 coordinates. if it is float too, the AB of pointcloud is M*8*3*4(M is the number of boxes in each file).
Am I doing the right thing?, Or can you tell me about the logic of the source code?
Thank you!