Functions | Variables
create_dataset Namespace Reference

Functions

def split ()
 

Variables

 rospack = rospkg.RosPack()
 
 seq
 
 st = lambda x: iaa.Sometimes(0.3, x)
 

Function Documentation

◆ split()

def create_dataset.split ( )

Definition at line 68 of file create_dataset.py.

Variable Documentation

◆ rospack

create_dataset.rospack = rospkg.RosPack()

Definition at line 64 of file create_dataset.py.

◆ seq

create_dataset.seq
Initial value:
1 = iaa.Sequential([
2  st(iaa.GaussianBlur(sigma=(0, 0.5))),
3  st(iaa.ContrastNormalization((0.75, 1.5))),
4  st(iaa.AdditiveGaussianNoise(loc=0, scale=(0.0, 0.05*255), per_channel=0.5)),
5  st(iaa.Multiply((0.8, 1.2), per_channel=0.2)),
6  st(iaa.Affine(
7  scale={"x": (0.8, 1.2), "y": (1.0, 1.0)},
8  translate_percent={"x": (-0.2, 0.2), "y": (0, 0)},
9  ))
10 ], random_order=True)

Definition at line 53 of file create_dataset.py.

◆ st

create_dataset.st = lambda x: iaa.Sometimes(0.3, x)

Definition at line 52 of file create_dataset.py.

create_dataset.st
st
Definition: create_dataset.py:52


sound_classification
Author(s):
autogenerated on Fri May 16 2025 03:12:55