MCPcopy Create free account

hub / github.com/Vandermode/QRNN3D / functions

Functions182 in github.com/Vandermode/QRNN3D

↓ 8 callersFunctionadjust_learning_rate
(optimizer, lr)
utility/helper.py:17
↓ 7 callersMethodget_net
(self)
hsi_setup.py:441
↓ 6 callersMethod__init__
(self, in_channels, channels, k=3, s=1, p=1, bias=False, bn=True)
models/qrnn/combinations.py:57
↓ 6 callersMethodvalidate
(self, valid_loader, name)
hsi_setup.py:307
↓ 5 callersMethod__init__
(self, in_channels, hidden_channels, k=3, s=1, p=1, bn=True, act='tanh')
models/qrnn/qrnn3d.py:119
↓ 5 callersFunction_unsqueeze_ft
add new dementions at the front and the tail
models/sync_batchnorm/batchnorm.py:29
↓ 4 callersFunction_fspecial_gauss_1d
r"""Create 1-D gauss kernel Args: size (int): the size of gauss kernel sigma (float): sigma of normal distribution Returns:
utility/ssim.py:5
↓ 4 callersMethod_rnn_step
(self, z, f, h)
models/qrnn/qrnn3d.py:38
↓ 4 callersMethodget
(self)
models/sync_batchnorm/comm.py:32
↓ 4 callersMethodput
(self, result)
models/sync_batchnorm/comm.py:26
↓ 4 callersMethodsave_checkpoint
(self, model_out_path=None, **kwargs)
hsi_setup.py:337
↓ 4 callersFunctiontrain_options
(parser)
hsi_setup.py:34
↓ 3 callersMethod__init__
(self, sigma)
utility/dataset.py:69
↓ 3 callersMethod__init__
(self, in_channels, channels, num_memblock, num_resblock)
models/memnet.py:13
↓ 3 callersMethod__step
(self, train, inputs, targets)
hsi_setup.py:226
↓ 3 callersFunctiondisplay_learning_rate
(optimizer)
utility/helper.py:24
↓ 3 callersFunctionmake_dataset
(opt, train_transform, target_transform, common_transform, batch_size=None, repeat=1)
hsi_setup.py:83
↓ 3 callersFunctionminmax_normalize
(array)
utility/util.py:66
↓ 3 callersFunctionpreprocess
(data)
utility/lmdb_data.py:15
↓ 3 callersMethodtrain
(self, train_loader)
hsi_setup.py:278
↓ 2 callersFunctionMSIQA
(X, Y)
utility/indexes.py:33
↓ 2 callersFunctionVisualize3D
(data, meta=None)
utility/util.py:92
↓ 2 callersMethod__init__
(self, in_channels, channels, num_half_layer, sample_idx, BiQRNNConv3D=None, BiQRNNDeConv3D=None, QRN
models/qrnn/utils.py:6
↓ 2 callersMethod_check_input_dim
(self, input)
models/sync_batchnorm/batchnorm.py:184
↓ 2 callersFunction_ssim
r""" Calculate ssim index for X and Y Args: X (torch.Tensor): images Y (torch.Tensor): images win (torch.Tensor): 1-D gaus
utility/ssim.py:41
↓ 2 callersFunction_sum_ft
sum over the first and last dimention
models/sync_batchnorm/batchnorm.py:24
↓ 2 callersFunctionas_numpy
(v)
models/sync_batchnorm/unittest.py:17
↓ 2 callersFunctioncreate_lmdb_train
Create Augmented Dataset
utility/lmdb_data.py:7
↓ 2 callersFunctioncrop_center
(img,cropx,cropy)
utility/util.py:41
↓ 2 callersFunctiondata_augmentation
Args: image: np.ndarray, shape: C X H X W
utility/util.py:123
↓ 2 callersFunctionexecute_replication_callbacks
Execute an replication callback `__data_parallel_replicate__` on each module created by original replication. The callback will be invoked w
models/sync_batchnorm/replicate.py:27
↓ 2 callersFunctionformat_time
(seconds)
utility/helper.py:143
↓ 2 callersMethodload
(self, resumePath=None, load_opt=True)
hsi_setup.py:262
↓ 2 callersFunctionprogress_bar
(current, total, msg=None)
utility/helper.py:100
↓ 1 callersFunctionData2Volume
Construct Volumes from Original High Dimensional (D) Data
utility/util.py:20
↓ 1 callersMethod__data_parallel_replicate__
(self, ctx, copy_id)
models/sync_batchnorm/batchnorm.py:80
↓ 1 callersMethod__init__
(self, opt)
hsi_setup.py:101
↓ 1 callersMethod__init__
r""" class for ms-ssim Args: win_size: (int, optional): the size of gauss kernel win_sigma: (float, optional): sigma o
utility/ssim.py:250
↓ 1 callersMethod__init__
( self, block, channels, **kwargs)
models/qrnn/resnet.py:47
↓ 1 callersMethod__iter__
(self)
utility/util.py:174
↓ 1 callersMethod__pos
(self, n)
utility/dataset.py:51
↓ 1 callersMethod__pos
(self, n)
utility/dataset.py:80
↓ 1 callersMethod__setup
(self)
hsi_setup.py:116
↓ 1 callersMethod_compute_mean_std
Compute the mean and standard-deviation with sum and square-sum. This method also maintains the moving average on the master device.
models/sync_batchnorm/batchnorm.py:113
↓ 1 callersMethod_conv_step
(self, inputs)
models/qrnn/qrnn3d.py:26
↓ 1 callersMethod_conv_step
(self, inputs)
models/qrnn/qrnn3d.py:67
↓ 1 callersFunction_parse_str_args
(args)
hsi_setup.py:35
↓ 1 callersMethodadd_noise
(self, image, amount, salt_vs_pepper)
utility/dataset.py:153
↓ 1 callersFunctioncal_sam
(X, Y, eps=1e-8)
utility/indexes.py:26
↓ 1 callersFunctioncreate_icvl64_31
()
utility/lmdb_data.py:97
↓ 1 callersFunctioncreate_mat_dataset
(datadir, fnames, newdir, matkey, func=None, load=h5py.File)
utility/mat_data.py:11
↓ 1 callersMethodforward
(self, inputs)
hsi_setup.py:181
↓ 1 callersMethodforward_chop
(self, x, base=16)
hsi_setup.py:189
↓ 1 callersFunctionfunc
(data)
utility/mat_data.py:34
↓ 1 callersFunctiongaussian_filter
r""" Blur input with 1-D kernel Args: input (torch.Tensor): a batch of tensors to be blured window (torch.Tensor): 1-D gauss kerne
utility/ssim.py:23
↓ 1 callersFunctionget_summary_writer
(log_dir, prefix=None)
utility/helper.py:55
↓ 1 callersFunctioninit_params
(net, init_type='kn')
utility/helper.py:69
↓ 1 callersFunctionms_ssim
r""" interface of ms-ssim Args: X (torch.Tensor): a batch of images, (N,C,H,W) Y (torch.Tensor): a batch of images, (N,C,H,W)
utility/ssim.py:161
↓ 1 callersFunctionrand_crop
(img, cropx, cropy)
utility/util.py:48
↓ 1 callersMethodregister_slave
Register an slave device. Args: identifier: an identifier, usually is the device id. Returns: a `SlavePipe` obj
models/sync_batchnorm/comm.py:78
↓ 1 callersMethodrun_master
Main entry for the master device in each forward pass. The messages were first collected from each devices (including the master devi
models/sync_batchnorm/comm.py:96
↓ 1 callersMethodrun_slave
(self, msg)
models/sync_batchnorm/comm.py:49
↓ 1 callersFunctionssim
r""" interface of ssim Args: X (torch.Tensor): a batch of images, (N,C,H,W) Y (torch.Tensor): a batch of images, (N,C,H,W)
utility/ssim.py:111
↓ 1 callersMethodtest_real
Warning: this code is not compatible with bandwise flag
hsi_setup.py:410
Method__call__
Args: img (np.mdarray): Image to be geometric transformed. Returns: np.ndarray: Randomly geometric transform
utility/dataset.py:27
Method__call__
(self, img)
utility/dataset.py:45
Method__call__
(self, img)
utility/dataset.py:62
Method__call__
(self, img)
utility/dataset.py:72
Method__call__
(self, img)
utility/dataset.py:90
Method__call__
(self, img)
utility/dataset.py:101
Method__call__
(self, img)
utility/dataset.py:111
Method__call__
(self, img)
utility/dataset.py:127
Method__call__
(self, img, bands)
utility/dataset.py:146
Method__call__
(self, img, bands)
utility/dataset.py:175
Method__call__
(self, img, bands)
utility/dataset.py:194
Method__call__
(self, hsi)
utility/dataset.py:238
Method__call__
(self, mat)
utility/dataset.py:255
Method__call__
(self, mat)
utility/dataset.py:274
Method__call__
(self, X, Y)
utility/indexes.py:11
Method__getitem__
(self, index)
utility/lmdb_dataset.py:33
Method__getitem__
(self, index)
utility/dataset.py:290
Method__getitem__
(self, index)
utility/dataset.py:320
Method__getitem__
(self, idx)
utility/dataset.py:424
Method__init__
(self, losses, weight=None)
hsi_setup.py:19
Method__init__
(self, db_path, repeat=1)
utility/lmdb_dataset.py:17
Method__init__
(self, crop_size)
utility/dataset.py:42
Method__init__
(self, transforms)
utility/dataset.py:58
Method__init__
(self, sigmas)
utility/dataset.py:86
Method__init__
(self, min_sigma, max_sigma)
utility/dataset.py:97
Method__init__
(self, sigmas)
utility/dataset.py:108
Method__init__
(self, noise_bank, num_bands)
utility/dataset.py:122
Method__init__
(self, amounts, s_vs_p=0.5)
utility/dataset.py:142
Method__init__
(self, min_amount, max_amount)
utility/dataset.py:170
Method__init__
(self, min_amount, max_amount)
utility/dataset.py:189
Method__init__
(self)
utility/dataset.py:206
Method__init__
(self)
utility/dataset.py:211
Method__init__
(self)
utility/dataset.py:216
Method__init__
(self)
utility/dataset.py:221
Method__init__
(self, use_2dconv)
utility/dataset.py:235
Method__init__
(self, input_key, gt_key, transform=None)
utility/dataset.py:250
next →1–100 of 182, ranked by callers