MCPcopy Create free account

hub / github.com/dek924/PerX2CT / functions

Functions506 in github.com/dek924/PerX2CT

↓ 1 callersMethodcalculate_adaptive_weight
(self, nll_loss, g_loss, last_layer=None)
x2ct_nerf/modules/losses/vqperceptual.py:172
↓ 1 callersMethodcalculate_adaptive_weight
(self, nll_loss, g_loss, last_layer=None)
taming/modules/losses/vqperceptual.py:63
↓ 1 callersFunctioncalculate_metric_per_axis_2D
(target, output, perceptual_loss_fn, ct_min_max)
main_test_zoom.py:126
↓ 1 callersFunctioncalculate_metric_per_axis_2D
(target, output, perceptual_loss_fn, ct_min_max)
main_test.py:123
↓ 1 callersFunctioncalculate_metric_per_patient_wo_logging
recons : list - [zoom, interpolation] recons[0] : dict - axial or coronal or siagittal recons[0][axial] : (p0, ct0, ct1, ct2)
main_test_zoom.py:140
↓ 1 callersFunctionchange_config_file_to_fixed_train
(config, batch=3)
main_test_zoom.py:98
↓ 1 callersFunctionchange_config_file_to_fixed_train
(config, batch=3)
main_test.py:95
↓ 1 callersFunctionchange_config_file_to_fixed_val
(config, batch=3)
main_test_zoom.py:87
↓ 1 callersFunctionchange_config_file_to_fixed_val
(config, batch=3)
main_test.py:84
↓ 1 callersFunctionchange_config_file_to_sorted
(config, val_test)
main_test_zoom.py:63
↓ 1 callersFunctionchange_config_file_to_sorted
(config, val_test)
main_test.py:60
↓ 1 callersMethodcheck_frequency
(self, batch_idx)
main.py:393
↓ 1 callersMethodcluster_size_ema_update
(self, new_cluster_size)
taming/modules/vqvae/quantize.py:347
↓ 1 callersMethodconvert_feature_from2d_to3d
features : (B x C x H x W) src_camposes : (B x 2), 2 is pitch and yaw render_pts: (B, H * W * N_samples, 3)
x2ct_nerf/modules/inr/model_global.py:75
↓ 1 callersMethodconvert_feature_from2d_to3d
features : (B x C x H x W) src_camposes : (B x 2), 2 is pitch and yaw render_pts: (B, H * W * N_samples, 3)
x2ct_nerf/modules/inr/model.py:63
↓ 1 callersMethodcreate_embedding_fn
(self)
x2ct_nerf/modules/nerf/nerf_helpers.py:10
↓ 1 callersFunctioncrop_to_standard
(scan, scale)
data_preprocessing/1_ctpro_wo_mask.py:33
↓ 1 callersFunctionct_preprocessing
(dir_list, trg_ct_res, base_ct_res=320, file_name="ct_xray_data.h5")
data_preprocessing/4_ct_dataset_prepare.py:35
↓ 1 callersFunctiondownload
(url, local_path, chunk_size=1024)
taming/util.py:18
↓ 1 callersFunctiondownload_url
(file_, url, target_dir)
taming/data/utils.py:78
↓ 1 callersMethodembed
(self, inputs)
x2ct_nerf/modules/nerf/nerf_helpers.py:34
↓ 1 callersMethodembed_avg_ema_update
(self, new_embed_avg)
taming/modules/vqvae/quantize.py:350
↓ 1 callersMethodencode
(self, x)
x2ct_nerf/models/aegan.py:571
↓ 1 callersMethodforward_with_past
(self, idx, embeddings=None, targets=None, past=None, past_length=None)
taming/modules/transformer/mingpt.py:182
↓ 1 callersMethodget_block_size
(self)
taming/modules/transformer/mingpt.py:148
↓ 1 callersFunctionget_center
(origin, size, spacing)
data_preprocessing/2_xraypro.py:25
↓ 1 callersMethodget_ctslice
(self, image_path)
x2ct_nerf/data/base.py:84
↓ 1 callersMethodget_encoder_decoder_module
(self)
x2ct_nerf/models/aegan.py:55
↓ 1 callersFunctionget_initial_rays_trig
Returns sample points, z_vals, and ray directions in camera space.
x2ct_nerf/modules/volume_rendering.py:153
↓ 1 callersMethodget_net_module
(self)
x2ct_nerf/models/base.py:43
↓ 1 callersFunctionget_obj_from_str
(string, reload=False)
main.py:23
↓ 1 callersFunctionget_parser
(**parser_kwargs)
main.py:31
↓ 1 callersMethodget_rays_for_no_rendering
p0 : start point (include) : list or None zoom_size : zoom image size : float or None transformed_points: (batch_size, metada
x2ct_nerf/modules/INREncoderZoomAxisInAlign.py:118
↓ 1 callersMethodget_rays_for_no_rendering
p0 : start point (include) : list or None zoom_size : zoom image size : float or None transformed_points: (batch_size, metada
x2ct_nerf/modules/INRGLEncoderZoomAxisInAlign.py:135
↓ 1 callersMethodgt2world_coordinate
x2ct_nerf/modules/INRGLEncoderZoomAxisInAlign.py:85
↓ 1 callersFunctionload_config
(config_path, display=False)
main_test.py:37
↓ 1 callersMethodload_from_pretrained
(self, name="vgg_lpips")
x2ct_nerf/modules/losses/lpips.py:27
↓ 1 callersMethodload_from_pretrained
(self, name="vgg_lpips")
taming/modules/losses/lpips.py:27
↓ 1 callersFunctionload_vqgan
(config, model_module, ckpt_path=None)
main_test.py:45
↓ 1 callersFunctionmain_test
(args)
main_test.py:323
↓ 1 callersFunctionmake_h5_dataset_LIDC
(xray_size = 128)
data_preprocessing/3_make_h5_dataset.py:29
↓ 1 callersFunctionmake_input
()
data_preprocessing/2_xraypro.py:60
↓ 1 callersFunctionmelk
(*args, **kwargs)
main.py:620
↓ 1 callersFunctionmortonify
(i,j) index to linear morton code
taming/modules/transformer/permuter.py:47
↓ 1 callersFunctionnondefault_trainer_args
(opt)
main.py:122
↓ 1 callersFunctionperturb_points
(points, z_vals, ray_directions, device, perturb=1)
x2ct_nerf/modules/volume_rendering.py:177
↓ 1 callersMethodremap_to_used
(self, inds)
taming/modules/vqvae/quantize.py:147
↓ 1 callersMethodremap_to_used
(self, inds)
taming/modules/vqvae/quantize.py:249
↓ 1 callersMethodrendering_from_ctslice
(self, p0, zoom_size, ct_slice, output_ct_res)
x2ct_nerf/modules/INREncoderZoomAxisInAlign.py:94
↓ 1 callersMethodrendering_from_ctslice
(self, p0, zoom_size, ct_slice, output_ct_res)
x2ct_nerf/modules/INRGLEncoderZoomAxisInAlign.py:111
↓ 1 callersMethodrendering_from_gt
org_shape : 128 x 128 x 128 x 1 transformed_points.shape : 128 x 16384 x 3 gt_ct.shape : 128 x 320 x 320
x2ct_nerf/modules/INREncoderZoomAxisInAlign.py:290
↓ 1 callersMethodrendering_from_gt
org_shape : 128 x 128 x 128 x 1 transformed_points.shape : 128 x 16384 x 3 gt_ct.shape : 128 x 320 x 320
x2ct_nerf/modules/INRGLEncoderZoomAxisInAlign.py:316
↓ 1 callersFunctionreporthook
tqdm progress bar for downloads.
taming/data/utils.py:32
↓ 1 callersFunctionresample
(image, spacing, new_spacing=[1,1,1])
data_preprocessing/1_ctpro_wo_mask.py:14
↓ 1 callersFunctionretrieve
Given a nested list or dict return the desired value at key expanding callable nodes if necessary and :attr:`expand` is ``True``. The expansion
taming/util.py:62
↓ 1 callersMethodreverse
(self, output)
taming/modules/util.py:71
↓ 1 callersMethodrun_nerf
(self, org_shape, transformed_points, nrays_grad_on, latent_zs=None, full_render_partial_grad=False)
x2ct_nerf/modules/INREncoderZoomAxisInAlign.py:201
↓ 1 callersMethodrun_nerf
transformed_points: batch_size, H, W, N_samples, coord_dim (coord_dim : 3 + self.metadata['axis_emb_dim'])
x2ct_nerf/modules/INRGLEncoderZoomAxisInAlign.py:217
↓ 1 callersFunctionrun_network
Prepares inputs and applies network 'fn'.
x2ct_nerf/modules/nerf/model_utils.py:34
↓ 1 callersFunctionrun_test
(dicts, config)
main_test_zoom.py:263
↓ 1 callersFunctionrun_test
(dicts, config)
main_test.py:242
↓ 1 callersFunctionrun_test_ramdom_image
(dicts, prefix)
main_test_zoom.py:207
↓ 1 callersFunctionrun_test_ramdom_image
(dicts, prefix)
main_test.py:211
↓ 1 callersFunctionsample_camera_positions
Samples n random locations along a sphere of radius r. Uses the specified distribution. Theta is yaw in radians (-pi, pi) Phi is pitch in
x2ct_nerf/modules/volume_rendering.py:228
↓ 1 callersFunctionsavepng
(filename, direction)
data_preprocessing/2_xraypro.py:40
↓ 1 callersMethodschedule
(self, n)
taming/lr_scheduler.py:17
↓ 1 callersMethodset_preprocessing
(self)
x2ct_nerf/data/base.py:40
↓ 1 callersFunctionspatial_average
(x, keepdim=True)
x2ct_nerf/modules/losses/lpips.py:121
↓ 1 callersFunctionspatial_average
(x, keepdim=True)
taming/modules/losses/lpips.py:121
↓ 1 callersFunctiontop_k_logits
(logits, k)
taming/modules/transformer/mingpt.py:286
↓ 1 callersFunctiontransform_sampled_points
Samples a camera position and maps points in camera space to world space.
x2ct_nerf/modules/volume_rendering.py:185
↓ 1 callersMethodunmap_to_all
(self, inds)
taming/modules/vqvae/quantize.py:161
↓ 1 callersMethodunmap_to_all
(self, inds)
taming/modules/vqvae/quantize.py:263
↓ 1 callersFunctionupdate_pretrained_weight
(model, pretrained_weight)
x2ct_nerf/modules/image_encoder/resnet.py:14
↓ 1 callersMethodweight_update
(self, num_tokens)
taming/modules/vqvae/quantize.py:353
↓ 1 callersMethodworld2gt_coordinate
(self, pts_in_world)
x2ct_nerf/modules/INREncoderZoomAxisInAlign.py:76
↓ 1 callersMethodworld2gt_coordinate
(self, pts_in_world)
x2ct_nerf/modules/INRGLEncoderZoomAxisInAlign.py:93
FunctionCosine_Similarity
:param arr1: Format-[NDHW], OriImage :param arr2: Format-[NDHW], ComparedImage :return: Format-None if size_average els
utils/metrics.py:114
FunctionMAE
:param arr1: Format-[NDHW], OriImage :param arr2: Format-[NDHW], ComparedImage :return: Format-None if size_average els
utils/metrics.py:76
FunctionMSE
:param arr1: Format-[NDHW], OriImage :param arr2: Format-[NDHW], ComparedImage :return: Format-None if size_average els
utils/metrics.py:95
FunctionPeak_Signal_to_Noise_Rate_w_mask
(tensor1, tensor2, mask, size_average=True, PIXEL_MIN=0.0, PIXEL_MAX=1.0, use_real_max=False)
utils/metrics.py:52
Method__call__
(self, img)
x2ct_nerf/preprocessing/X2CT_transform_3d.py:20
Method__call__
(self, img_list)
x2ct_nerf/preprocessing/X2CT_transform_3d.py:30
Method__call__
(self, img_list)
x2ct_nerf/preprocessing/X2CT_transform_3d.py:60
Method__call__
(self, img_list)
x2ct_nerf/preprocessing/X2CT_transform_3d.py:87
Method__call__
(self, img)
x2ct_nerf/preprocessing/X2CT_transform_3d.py:121
Method__call__
(self, img)
x2ct_nerf/preprocessing/X2CT_transform_3d.py:138
Method__call__
(self, img)
x2ct_nerf/preprocessing/X2CT_transform_3d.py:176
Method__call__
(self, img)
x2ct_nerf/preprocessing/X2CT_transform_3d.py:188
Method__call__
(self, img)
x2ct_nerf/preprocessing/X2CT_transform_3d.py:210
Method__call__
(self, img)
x2ct_nerf/preprocessing/X2CT_transform_3d.py:229
Method__call__
(self, img)
x2ct_nerf/preprocessing/X2CT_transform_3d.py:248
Method__call__
(self, img)
x2ct_nerf/preprocessing/X2CT_transform_3d.py:265
Method__call__
(self, img)
x2ct_nerf/preprocessing/X2CT_transform_3d.py:281
Method__call__
(self, n)
taming/lr_scheduler.py:32
Method__call__
(self, img)
data_preprocessing/4_ct_dataset_prepare.py:26
Method__getitem__
(self, idx)
main.py:144
Method__getitem__
(self, i)
x2ct_nerf/data/LIDC.py:12
Method__getitem__
(self, i)
x2ct_nerf/data/base.py:108
Method__init__
(self, dataset)
main.py:138
← previousnext →101–200 of 506, ranked by callers