Open DominikFle opened 10 months ago
Here: https://github.com/maudzung/SFA3D/blob/0e2f0b63dc4090bd6c08e15505f11d764390087c/sfa/data_process/transformation.py#L367 the scaling factor is not correctly sampled from the scaling range. Instead of: factor = np.random.uniform(self.scaling_range[0], self.scaling_range[0]) It should be factor = np.random.uniform(self.scaling_range[0], self.scaling_range[1])
factor = np.random.uniform(self.scaling_range[0], self.scaling_range[0])
factor = np.random.uniform(self.scaling_range[0], self.scaling_range[1])
Here: https://github.com/maudzung/SFA3D/blob/0e2f0b63dc4090bd6c08e15505f11d764390087c/sfa/data_process/transformation.py#L367 the scaling factor is not correctly sampled from the scaling range. Instead of:
factor = np.random.uniform(self.scaling_range[0], self.scaling_range[0])
It should befactor = np.random.uniform(self.scaling_range[0], self.scaling_range[1])