MCPcopy Create free account

hub / github.com/DemisEom/SpecAugment / functions

Functions30 in github.com/DemisEom/SpecAugment

↓ 4 callersFunctiongather
(y_coords, x_coords, name)
SpecAugment/sparse_image_warp_pytorch.py:394
↓ 3 callersFunction_expand_to_minibatch
Tile arbitrarily-sized np_array to include new batch dimension.
SpecAugment/sparse_image_warp_np.py:21
↓ 2 callersFunctioncross_squared_distance_matrix
Pairwise squared distance between two (batch) matrices' rows (2nd dim). Computes the pairwise distances between rows of x and rows of y
SpecAugment/sparse_image_warp_pytorch.py:187
↓ 2 callersFunctionphi
Coordinate-wise nonlinearity used to define the order of the interpolation. See https://en.wikipedia.org/wiki/Polyharmonic_spline for the definiti
SpecAugment/sparse_image_warp_pytorch.py:208
↓ 2 callersFunctionsparse_image_warp
(img_tensor, source_control_point_locations, dest_control_point_lo
SpecAugment/sparse_image_warp_pytorch.py:88
↓ 1 callersFunction_add_zero_flow_controls_at_boundary
(control_point_locations, control_point_flows, image_height,
SpecAugment/sparse_image_warp_np.py:38
↓ 1 callersFunction_get_boundary_locations
Compute evenly-spaced indices along edge of image.
SpecAugment/sparse_image_warp_np.py:27
↓ 1 callersFunction_get_grid_locations
Wrapper for np.meshgrid.
SpecAugment/sparse_image_warp_np.py:12
↓ 1 callersFunctionapply_interpolation
Apply polyharmonic interpolation model to data. Given coefficients w and v for the interpolation model, we evaluate interpolated function valu
SpecAugment/sparse_image_warp_pytorch.py:236
↓ 1 callersFunctioncreate_dense_flows
(flattened_flows, batch_size, image_height, image_width)
SpecAugment/sparse_image_warp_pytorch.py:127
↓ 1 callersFunctiondense_image_warp
Image warping using per-pixel flow vectors. Apply a non-linear warp to the image, where the warp is specified by a dense flow field of offset
SpecAugment/sparse_image_warp_pytorch.py:269
↓ 1 callersFunctionflatten_grid_locations
(grid_locations, image_height, image_width)
SpecAugment/sparse_image_warp_pytorch.py:123
↓ 1 callersFunctionfrequency_masking
Spec augmentation Calculation Function. 'SpecAugment' have 3 steps for audio data augmentation. first step is time warping using Tensorflow's
SpecAugment/spec_augment_tensorflow.py:91
↓ 1 callersFunctionget_grid_locations
Wrapper for np.meshgrid.
SpecAugment/sparse_image_warp_pytorch.py:114
↓ 1 callersFunctioninterpolate_bilinear
Similar to Matlab's interp2 function. Finds values for query points on a grid using bilinear interpolation. Args: grid: a 4-D float `Tenso
SpecAugment/sparse_image_warp_pytorch.py:317
↓ 1 callersFunctioninterpolate_spline
(train_points, train_values, query_points, order, regularization_weight=0.0, )
SpecAugment/sparse_image_warp_pytorch.py:132
↓ 1 callersFunctionsolve_interpolation
(train_points, train_values, order, regularization_weight)
SpecAugment/sparse_image_warp_pytorch.py:141
↓ 1 callersFunctionsparse_warp
Spec augmentation Calculation Function. 'SpecAugment' have 3 steps for audio data augmentation. first step is time warping using Tensorflow's
SpecAugment/spec_augment_tensorflow.py:46
↓ 1 callersFunctiontime_masking
Spec augmentation Calculation Function. 'SpecAugment' have 3 steps for audio data augmentation. first step is time warping using Tensorflow's
SpecAugment/spec_augment_tensorflow.py:126
↓ 1 callersFunctiontime_warp
(spec, W=5)
SpecAugment/spec_augment_pytorch.py:48
Functiondense_image_warp
(image, flow)
SpecAugment/sparse_image_warp_np.py:134
Functionfreq_mask
(spec, F=15, num_masks=1, replace_with_zero=False)
SpecAugment/sparse_image_warp_pytorch.py:49
Functionsparse_image_warp_np
(image, source_control_point_locations, dest_control_point_locatio
SpecAugment/sparse_image_warp_np.py:75
Functionspec_augment
Spec augmentation Calculation Function. 'SpecAugment' have 3 steps for audio data augmentation. first step is time warping using Tensorflow's
SpecAugment/spec_augment_pytorch.py:67
Functionspec_augment
(mel_spectrogram)
SpecAugment/spec_augment_tensorflow.py:160
Functiontime_mask
(spec, T=15, num_masks=1, replace_with_zero=False)
SpecAugment/sparse_image_warp_pytorch.py:69
Functiontime_warp
(spec, W=5)
SpecAugment/sparse_image_warp_pytorch.py:30
Functionvisualization_spectrogram
visualizing result of SpecAugment # Arguments: mel_spectrogram(ndarray): mel_spectrogram to visualize. title(String): plot figure's ti
SpecAugment/spec_augment_pytorch.py:111
Functionvisualization_spectrogram
visualizing first one result of SpecAugment # Arguments: mel_spectrogram(ndarray): mel_spectrogram to visualize. title(String): plot
SpecAugment/spec_augment_tensorflow.py:174
Functionvisualization_tensor_spectrogram
visualizing first one result of SpecAugment # Arguments: mel_spectrogram(ndarray): mel_spectrogram to visualize. title(String): plot
SpecAugment/spec_augment_tensorflow.py:189