MCPcopy Create free account

hub / github.com/openai/shap-e / functions

Functions571 in github.com/openai/shap-e

Methodcalc_bpd_loop
Compute the entire variational lower-bound, measured in bits-per-dim, as well as other related quantities. :param model: the
shap_e/diffusion/gaussian_diffusion.py:917
Methodcamera_rays
(self, coords: np.ndarray)
shap_e/rendering/view_data.py:91
Methodcenter_crop
Creates a new camera for the center-cropped view
shap_e/rendering/view_data.py:117
Methodchannel_names
Get all of the supported channels available for the views. This can be arbitrary, but there are some standard names: "R", "G
shap_e/rendering/view_data.py:168
Methodchannel_names
(self)
shap_e/rendering/view_data.py:201
Methodchannel_names
(self)
shap_e/rendering/blender/view_data.py:39
Functionckpt_fn
( *args: torch.Tensor, num_verts=len(verts_list), num_light_vecs=len(light
shap_e/rendering/pytorch3d_util.py:56
Methodcompute_dists
(idx: int)
shap_e/rendering/point_cloud.py:172
Methodcondition_mean
(self, cond_fn, *args, **kwargs)
shap_e/diffusion/gaussian_diffusion.py:1034
Methodcondition_score
(self, cond_fn, *args, **kwargs)
shap_e/diffusion/gaussian_diffusion.py:1037
Functionconvert_cameras
( cameras: Sequence[ProjectiveCamera], device: torch.device )
shap_e/rendering/pytorch3d_util.py:165
Methodddim_reverse_sample
Sample x_{t+1} from the model using DDIM reverse ODE.
shap_e/diffusion/gaussian_diffusion.py:648
Methodddim_sample_loop
Generate samples from the model using DDIM. Same usage as p_sample_loop().
shap_e/diffusion/gaussian_diffusion.py:686
Functiondecode_latent_images
( xm: Union[Transmitter, VectorDecoder], latent: torch.Tensor, cameras: DifferentiableCameraBatch,
shap_e/util/notebooks.py:47
Functiondecode_latent_mesh
( xm: Union[Transmitter, VectorDecoder], latent: torch.Tensor, )
shap_e/util/notebooks.py:65
Methoddenoise
(self, x_t, sigmas, clip_denoised=True, model_kwargs=None)
shap_e/diffusion/k_diffusion.py:98
Methoddepth_directions
(self, coords: np.ndarray)
shap_e/rendering/view_data.py:98
Methoddiffuse
(self, normals, points=None)
shap_e/rendering/pytorch3d_util.py:239
Methodembed_images
(self, xs: Iterable[Optional[ImageType]])
shap_e/models/generation/pretrained_clip.py:249
Methodembed_images_grid
(self, xs: Iterable[Optional[ImageType]])
shap_e/models/generation/pretrained_clip.py:257
Methodembed_text
(self, prompts: Iterable[str])
shap_e/models/generation/pretrained_clip.py:253
Methodencode_input
(self, batch: AttrDict, options: Optional[AttrDict] = None)
shap_e/models/transmitter/channels_encoder.py:279
Methodencode_to_channels
( self, batch: AttrDict, options: Optional[AttrDict] = None )
shap_e/models/transmitter/channels_encoder.py:88
Methodencode_to_channels
( self, batch: AttrDict, options: Optional[AttrDict] = None )
shap_e/models/transmitter/channels_encoder.py:190
Methodencode_to_vector
(self, batch: AttrDict, options: Optional[AttrDict] = None)
shap_e/models/transmitter/multiview_encoder.py:99
Methodencode_to_vector
(self, batch: AttrDict, options: Optional[AttrDict] = None)
shap_e/models/transmitter/base.py:113
Methodencode_to_vector
(self, batch: AttrDict, options: Optional[AttrDict] = None)
shap_e/models/transmitter/pc_encoder.py:77
Methodencode_to_vector
(self, batch: AttrDict, options: Optional[AttrDict] = None)
shap_e/models/transmitter/pc_encoder.py:172
Methodfeature_dim
(self)
shap_e/models/generation/pretrained_clip.py:47
Methodfeature_dim
(self)
shap_e/models/generation/pretrained_clip.py:226
Functionflatten
(x)
shap_e/models/nn/ops.py:200
Methodforward
:param batch: must contain either - rays: [batch_size x ... x 2 x 3] specify the origin and direction of each ray.
shap_e/models/renderer.py:92
Methodforward
Predict an attribute given position
shap_e/models/stf/base.py:13
Methodforward
( self, query: Query, params: Optional[Dict[str, torch.Tensor]] = None, option
shap_e/models/stf/mlp.py:188
Methodforward
( self, query: Query, params: Optional[Dict[str, torch.Tensor]] = None, option
shap_e/models/stf/mlp.py:206
Methodforward
:param query: the points in the field to query. :param params: Meta parameters :param options: Optional hyperparameters
shap_e/models/nerf/model.py:24
Methodforward
( self, query: Query, params: Optional[Dict[str, torch.Tensor]] = None, option
shap_e/models/nerf/model.py:64
Methodforward
( self, query: Query, params: Optional[Dict[str, torch.Tensor]] = None, option
shap_e/models/nerf/model.py:174
Methodforward
(self, x: torch.Tensor, t: torch.Tensor)
shap_e/models/generation/pooled_mlp.py:32
Methodforward
(self, x: torch.Tensor)
shap_e/models/generation/pooled_mlp.py:59
Methodforward
(self, x: torch.Tensor, t: torch.Tensor, **kwargs)
shap_e/models/generation/latent_diffusion.py:18
Methodforward
(self, x)
shap_e/models/generation/transformer.py:40
Methodforward
(self, x)
shap_e/models/generation/transformer.py:57
Methodforward
(self, qkv)
shap_e/models/generation/transformer.py:69
Methodforward
(self, x: torch.Tensor)
shap_e/models/generation/transformer.py:108
Methodforward
(self, x: torch.Tensor)
shap_e/models/generation/transformer.py:145
Methodforward
:param x: an [N x C x T] tensor. :param t: an [N] tensor. :return: an [N x C' x T] tensor.
shap_e/models/generation/transformer.py:203
Methodforward
:param x: an [N x C x T] tensor. :param t: an [N] tensor. :param images: a batch of images to condition on. :param te
shap_e/models/generation/transformer.py:266
Methodforward
:param x: an [N x C x T] tensor. :param t: an [N] tensor. :param images: a batch of images to condition on. :param em
shap_e/models/generation/transformer.py:335
Methodforward
:param x: an [N x C1 x T] tensor. :param t: an [N] tensor. :param low_res: an [N x C2 x T'] tensor of conditioning points.
shap_e/models/generation/transformer.py:404
Methodforward
:param x: an [N x C1 x T] tensor. :param t: an [N] tensor. :param low_res: an [N x C2 x T'] tensor of conditioning points.
shap_e/models/generation/transformer.py:457
Methodforward
(self, x, data)
shap_e/models/generation/perceiver.py:42
Methodforward
(self, q, kv)
shap_e/models/generation/perceiver.py:61
Methodforward
(self, x: torch.Tensor, data: torch.Tensor)
shap_e/models/generation/perceiver.py:110
Methodforward
(self, x: torch.Tensor, data: torch.Tensor)
shap_e/models/generation/perceiver.py:155
Methodforward
:param x: an [N x C x T] tensor. :param t: an [N] tensor. :return: an [N x C' x T] tensor.
shap_e/models/generation/perceiver.py:224
Methodforward
Generate a batch of embeddings from a mixture of images, texts, precomputed embeddings, and possibly empty values. For each
shap_e/models/generation/pretrained_clip.py:67
Methodforward
( self, query: Query, params: Optional[Dict[str, torch.Tensor]] = None, option
shap_e/models/nerstf/mlp.py:28
Methodforward
( self, query: Query, params: Optional[Dict[str, torch.Tensor]] = None, option
shap_e/models/nerstf/mlp.py:82
Methodforward
:param channels: [batch_shape, inner_batch_shape, n_channels, height, width] :param position: [batch_shape, inner_batch_shape, 3, hei
shap_e/models/nn/encoding.py:84
Methodforward
:param channels: [batch_shape, inner_batch_shape, n_channels, height, width] :param origin: [batch_shape, inner_batch_shape, 3, heigh
shap_e/models/nn/encoding.py:144
Methodforward
(self, x, params=None)
shap_e/models/nn/ops.py:167
Methodforward
(self, h, params=None, options: Optional[AttrDict] = None, log_prefix: str = "")
shap_e/models/nn/ops.py:300
Methodforward
(self, input)
shap_e/models/nn/ops.py:319
Methodforward
Input: xyz: input points position data, [B, C, N] points: input points data, [B, D, N] Return: ne
shap_e/models/nn/ops.py:370
Methodforward
(ctx, run_function, length, *args)
shap_e/models/nn/checkpoint.py:32
Methodforward
(ctx, run_function, length_1, length_2, *args)
shap_e/models/nn/checkpoint.py:62
Methodforward
Input: xyz: input points position data, [B, C, N] points: input points data, [B, D, N] Return: ne
shap_e/models/nn/pointnet2_utils.py:227
Methodforward
Input: xyz: input points position data, [B, C, N] points: input points data, [B, D, N] Return: ne
shap_e/models/nn/pointnet2_utils.py:277
Methodforward
Input: xyz1: input points position data, [B, C, N] xyz2: sampled input points position data, [B, C, S] po
shap_e/models/nn/pointnet2_utils.py:329
Methodforward
Encode a batch of data into a batch of latent information.
shap_e/models/transmitter/base.py:26
Methodforward
(self, batch: AttrDict, options: Optional[AttrDict] = None)
shap_e/models/transmitter/base.py:57
Methodforward
Transmit the batch through the encoder and then the renderer.
shap_e/models/transmitter/base.py:137
Methodforward
(self, x: torch.Tensor, options: Optional[AttrDict] = None)
shap_e/models/transmitter/params_proj.py:29
Methodforward
(self, x: torch.Tensor, options: Optional[AttrDict] = None)
shap_e/models/transmitter/params_proj.py:55
Methodforward
(self, x: torch.Tensor, options: Optional[AttrDict] = None)
shap_e/models/transmitter/params_proj.py:84
Methodforward
(self, x: torch.Tensor)
shap_e/models/transmitter/params_proj.py:125
Methodforward
(self, x: torch.Tensor, options: Optional[AttrDict] = None)
shap_e/models/transmitter/params_proj.py:166
Methodforward
(self, x: torch.Tensor, options: Optional[AttrDict] = None)
shap_e/models/transmitter/bottleneck.py:19
Methodforward
(self, x: torch.Tensor, options: Optional[AttrDict] = None)
shap_e/models/transmitter/bottleneck.py:63
Methodforward
(self, x: torch.Tensor, options: Optional[AttrDict] = None)
shap_e/models/transmitter/bottleneck.py:73
Methodforward
(self, x: torch.Tensor, options: Optional[AttrDict] = None)
shap_e/models/transmitter/bottleneck.py:94
Methodforward
( ctx, origins, directions, faces, vertices )
shap_e/rendering/raycast/cast.py:98
Methodforward_batched
( self, query: Query, query_batch_size: int = 4096, params: Optional[Dict[str,
shap_e/models/stf/base.py:23
Functiongeglu
(x)
shap_e/models/nn/ops.py:31
Methodgen
()
shap_e/models/transmitter/pc_encoder.py:314
Methodgen
()
shap_e/models/transmitter/channels_encoder.py:536
Methodget_dense_pose_multiview_dataset
( self, batch: AttrDict, options: Optional[AttrDict] = None, inner_batch_size:
shap_e/models/transmitter/channels_encoder.py:545
Methodget_h_and_iterator
:return: a tuple of ( the initial output tokens of size [batch_size, data_ctx + latent_ctx, width], an iterator over
shap_e/models/transmitter/pc_encoder.py:262
Methodget_h_and_iterator
:return: a tuple of ( the initial output tokens of size [batch_size, data_ctx + latent_ctx, width], an iterator over
shap_e/models/transmitter/channels_encoder.py:464
Methodget_multiview_dataset
( self, batch: AttrDict, options: Optional[AttrDict] = None )
shap_e/models/transmitter/pc_encoder.py:302
Methodget_multiview_dataset
( self, batch: AttrDict, options: Optional[AttrDict] = None, inner_batch_size:
shap_e/models/transmitter/channels_encoder.py:518
Methodget_multiview_pcl_dataset
( self, batch: AttrDict, options: Optional[AttrDict] = None, inner_batch_size:
shap_e/models/transmitter/channels_encoder.py:606
Methodget_pcl_and_multiview_pcl_dataset
( self, batch: AttrDict, options: Optional[AttrDict] = None, use_distance: boo
shap_e/models/transmitter/channels_encoder.py:572
Methodget_pcl_dataset
( self, batch: AttrDict, options: Optional[AttrDict[str, Any]] = None )
shap_e/models/transmitter/pc_encoder.py:294
Methodget_sigmas
(self, sigmas)
shap_e/diffusion/k_diffusion.py:38
Methodget_sigmas
(self, t)
shap_e/diffusion/gaussian_diffusion.py:246
Methodget_signed_distance
( self, position: torch.Tensor, params: Dict[str, torch.Tensor], options: Attr
shap_e/models/stf/renderer.py:27
Methodget_signed_distance
( self, query: Query, params: Dict[str, torch.Tensor], options: AttrDict[str,
shap_e/models/stf/renderer.py:106
Methodget_signed_distance
( self, query: Query, params: Dict[str, torch.Tensor], options: AttrDict[str,
shap_e/models/nerstf/renderer.py:269
← previousnext →401–500 of 571, ranked by callers