MCPcopy Create free account

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

Functions571 in github.com/openai/shap-e

Methodget_snr
(self, sigmas)
shap_e/diffusion/k_diffusion.py:35
Methodget_texture
( self, position: torch.Tensor, params: Dict[str, torch.Tensor], options: Attr
shap_e/models/stf/renderer.py:36
Methodget_texture
( self, query: Query, params: Dict[str, torch.Tensor], options: AttrDict[str,
shap_e/models/stf/renderer.py:118
Methodget_texture
( self, query: Query, params: Dict[str, torch.Tensor], options: AttrDict[str,
shap_e/models/nerstf/renderer.py:280
Functiongif_widget
(images)
shap_e/util/notebooks.py:79
Methodgrid_feature_dim
(self)
shap_e/models/generation/pretrained_clip.py:61
Methodgrid_feature_dim
(self)
shap_e/models/generation/pretrained_clip.py:234
Methodgrid_size
(self)
shap_e/models/generation/pretrained_clip.py:54
Methodgrid_size
(self)
shap_e/models/generation/pretrained_clip.py:230
Functionguided_denoiser
(x_t, sigma)
shap_e/diffusion/k_diffusion.py:170
Methodimage_coords
(self)
shap_e/rendering/view_data.py:86
Methodintersect
:param origin: [batch_size, *shape, 3] :param direction: [batch_size, *shape, 3] :param t0_lower: Optional [batch_size, *shap
shap_e/models/volume.py:120
Methodintersect
:param origin: [batch_size, *shape, 3] :param direction: [batch_size, *shape, 3] :param t0_lower: Optional [batch_size, *shap
shap_e/models/volume.py:192
Methodintersect
( self, origin: torch.Tensor, direction: torch.Tensor, t0_lower: Optional[torc
shap_e/models/volume.py:246
Functionleveldict
(dictionary, depth=0)
shap_e/models/nn/meta.py:69
Methodload
Load the point cloud from a .npz file.
shap_e/rendering/point_cloud.py:95
Functionload_image
(image_path: str)
shap_e/util/image_util.py:143
Functionload_model
( model_name: str, device: torch.device, **kwargs, )
shap_e/models/download.py:139
Functionload_or_create_multimodal_batch
( device: torch.device, *, mesh_path: Optional[str] = None, model_path: Optional[str] = None,
shap_e/util/data_util.py:19
Methodload_view
(self, index: int, channels: List[str])
shap_e/rendering/view_data.py:204
Methodload_view
(self, index: int, channels: List[str])
shap_e/rendering/blender/view_data.py:42
Functionmake_tile
to test, run >>> display(make_tile([(np.zeros((128, 128, 3)) + c).astype(np.uint8) for c in np.linspace(0, 255, 15)]))
shap_e/util/image_util.py:150
Methodmeta_iterator
(module)
shap_e/models/nn/meta.py:148
Functionmodel_fn
(x_t, ts, **kwargs)
shap_e/diffusion/sample.py:18
Methodnonmeta_parameters
(self, prefix="", recurse=True)
shap_e/models/nn/meta.py:177
Methodnormalized_directions
(self)
shap_e/rendering/raycast/types.py:21
Methodnum_views
The number of rendered views.
shap_e/rendering/view_data.py:161
Methodnum_views
(self)
shap_e/rendering/view_data.py:197
Methodnum_views
(self)
shap_e/rendering/blender/view_data.py:35
Functionpc_normalize
(pc)
shap_e/models/nn/pointnet2_utils.py:40
Methodprocess_xstart
(x)
shap_e/diffusion/gaussian_diffusion.py:368
Functionquick_gelu
(x)
shap_e/models/nn/ops.py:23
Functionread_config
(path_or_file: Union[str, io.IOBase])
shap_e/util/io.py:11
Functionrecreate_fn
(vecs_arg)
shap_e/rendering/pytorch3d_util.py:132
Methodregister
(self, name: str, parameter: nn.Parameter, meta: bool, trainable: bool = True)
shap_e/models/nn/meta.py:131
Methodregister_meta
(self, name: str, parameter: nn.Parameter, trainable: bool = True)
shap_e/models/nn/meta.py:125
Methodrender_rays
( self, batch: Dict, params: Optional[Dict] = None, options: Optional[Dict] =
shap_e/models/nerf/renderer.py:69
Methodrender_rays
( self, batch: Dict, params: Optional[Dict] = None, options: Optional[Dict] =
shap_e/models/nerf/renderer.py:232
Methodrender_rays
:param batch: has - rays: [batch_size x ... x 2 x 3] specify the origin and direction of each ray. :param options: Optio
shap_e/models/nerstf/renderer.py:92
Methodrender_views
( self, batch: Dict, params: Optional[Dict] = None, options: Optional[Dict] =
shap_e/models/stf/renderer.py:76
Methodrender_views
Returns a backproppable rendering of a view :param batch: contains either ["poses", "camera"], or ["cameras"]. Can optio
shap_e/models/nerstf/renderer.py:185
Methodresize_image
Creates a new camera for the resized view assuming the aspect ratio does not change.
shap_e/models/nn/camera.py:112
Methodresize_image
Creates a new camera for the resized view assuming the aspect ratio does not change.
shap_e/rendering/view_data.py:101
Methodsample
:param t0: start time has shape [batch_size, *shape, 1] :param t1: finish time has shape [batch_size, *shape, 1] :param n_sam
shap_e/models/nerf/ray.py:424
Methodsample
:param t0: start time has shape [batch_size, *shape, 1] :param t1: finish time has shape [batch_size, *shape, 1] :param n_sam
shap_e/models/nerf/ray.py:485
Functionsample_dpm
A sampler inspired by DPM-Solver-2 and Algorithm 2 from Karras et al. (2022).
shap_e/diffusion/k_diffusion.py:283
Functionsample_euler_ancestral
Ancestral sampling with Euler method steps.
shap_e/diffusion/k_diffusion.py:217
Functionsample_heun
Implements Algorithm 2 (Heun steps) from Karras et al. (2022).
shap_e/diffusion/k_diffusion.py:239
Functionsample_latents
( *, batch_size: int, model: nn.Module, diffusion: GaussianDiffusion, model_kwargs: Dict[s
shap_e/diffusion/sample.py:31
Methodsave
Save the point cloud to a .npz file.
shap_e/rendering/point_cloud.py:110
Methodscale_scene
Creates a new camera with the same intrinsics and direction as this one, but with the camera frame rescaled by the given factor.
shap_e/rendering/view_data.py:134
Functionsiren_init_30
(affine, init_scale: float = 1.0)
shap_e/models/nn/ops.py:86
Functionsiren_init_first_layer
(affine, init_scale: float = 1.0)
shap_e/models/nn/ops.py:70
Methodspecular
(self, normals, points, camera_position, shininess)
shap_e/rendering/pytorch3d_util.py:244
Functionsuperdict
(dictionary, key=None)
shap_e/models/nn/meta.py:61
Functionswish
(x)
shap_e/models/nn/ops.py:19
Functiontimeit
(tag, t)
shap_e/models/nn/pointnet2_utils.py:35
Functiontorch_gelu
(x)
shap_e/models/nn/ops.py:27
Functiontorchify
(x)
shap_e/models/nn/ops.py:213
Methodtraining_losses
(self, model, x_start, sigmas, model_kwargs=None, noise=None)
shap_e/diffusion/k_diffusion.py:47
Methodtraining_losses
Compute training losses for a single timestep. :param model: the model to evaluate loss on. :param x_start: the [N x C x ...
shap_e/diffusion/gaussian_diffusion.py:810
Methodtraining_losses
(self, model, *args, **kwargs)
shap_e/diffusion/gaussian_diffusion.py:1031
Methodtri_mesh
Create a CPU version of the mesh.
shap_e/rendering/torch_mesh.py:25
Functionunflatten
(x, info)
shap_e/models/nn/ops.py:208
Functionuntorchify
(x)
shap_e/models/nn/ops.py:218
Methodunwarp
(self, x: torch.Tensor, options: Optional[AttrDict] = None)
shap_e/models/transmitter/bottleneck.py:42
Methodunwarp
(self, x: torch.Tensor, options: Optional[AttrDict] = None)
shap_e/models/transmitter/bottleneck.py:57
Methodwarp
(self, x: torch.Tensor, options: Optional[AttrDict] = None)
shap_e/models/transmitter/bottleneck.py:38
Methodwarp
(self, x: torch.Tensor, options: Optional[AttrDict] = None)
shap_e/models/transmitter/bottleneck.py:53
Methodwrite_obj
(self, raw_f: BinaryIO)
shap_e/rendering/mesh.py:90
Methodwrite_ply
(self, raw_f: BinaryIO)
shap_e/rendering/point_cloud.py:120
← previous501–571 of 571, ranked by callers