MCPcopy Create free account

hub / github.com/RolnickLab/climart / functions

Functions316 in github.com/RolnickLab/climart

Method__call__
(self, x)
climart/models/modules/additional_layers.py:50
Method__getitem__
(self, key)
climart/utils/plotting.py:85
Method__getitem__
(self, key)
climart/utils/plotting.py:113
Method__getitem__
(self, item)
climart/data_loading/h5_dataset.py:121
Method__getitem__
(self, index)
climart/data_loading/h5_dataset.py:220
Method__getitem__
(self, index)
climart/data_loading/h5_dataset.py:289
Method__getitem__
(self, index)
climart/data_loading/h5_dataset.py:442
Method__init__
(self, unique_keys: list, pos_cmaps: list = None, max_key_o
climart/utils/plotting.py:74
Method__init__
(self, unique_keys: list, pos_markers: list = None, cmap =
climart/utils/plotting.py:92
Method__init__
(self, log: str = "gradients", log_freq: int = 100)
climart/utils/wandb_callbacks.py:37
Method__init__
Args: code_dir: the code directory use_git: if using git, then upload all files that are not ignored by git.
climart/utils/wandb_callbacks.py:66
Method__init__
(self, ckpt_dir: str = "checkpoints/", upload_best_only: bool = True)
climart/utils/wandb_callbacks.py:136
Method__init__
(self, start_epoch: int = 1, test_at_most_every_n_epochs: int = 10,
climart/utils/callbacks.py:7
Method__init__
(self, variables: List[str], sizes: Union[int, Sequence[int]]
climart/utils/callbacks.py:42
Method__init__
(self, exp_type: str)
climart/data_transform/transforms.py:16
Method__init__
(self, exp_type: str)
climart/data_transform/transforms.py:62
Method__init__
(self, exp_type: str)
climart/data_transform/transforms.py:76
Method__init__
(self, exp_type: str)
climart/data_transform/transforms.py:95
Method__init__
(self, exp_type: str)
climart/data_transform/transforms.py:123
Method__init__
(self, exp_type: str)
climart/data_transform/transforms.py:175
Method__init__
(self, exp_type: str)
climart/data_transform/transforms.py:182
Method__init__
(self, exp_type: str, use_level_features: bool = True)
climart/data_transform/transforms.py:189
Method__init__
(self, exp_type: str)
climart/data_transform/transforms.py:203
Method__init__
Duplicate global (and optionally level) features across all layers Args: level_policy: If 'drop', level features are sim
climart/data_transform/transforms.py:216
Method__init__
(self, exp_type: str)
climart/data_transform/transforms.py:316
Method__init__
(self, exp_type: str)
climart/data_transform/transforms.py:339
Method__init__
(self, preprocessing: str, exp_type: str, projector_hidden_
climart/data_transform/transforms.py:361
Method__init__
(self, *args, **kwargs)
climart/data_transform/normalization.py:34
Method__init__
(self, mean, std, **kwargs)
climart/data_transform/normalization.py:74
Method__init__
(self, min=None, max_minus_min=None, max=None, **kwargs)
climart/data_transform/normalization.py:94
Method__init__
(self, mean=None, std=None, **kwargs)
climart/data_transform/normalization.py:136
Method__init__
(self, min=None, max_minus_min=None, **kwargs)
climart/data_transform/normalization.py:165
Method__init__
(self, filename: str, data_dir: str, exp_type: str = 'prist
climart/data_loading/h5_dataset.py:156
Method__init__
(self, input_preprocesser: Optional[Dict[str, Callable]], *args, **kwargs)
climart/data_loading/h5_dataset.py:280
Method__init__
(self, input_normalizer: Optional[Dict[str, Callable]] = None, input_transfo
climart/data_loading/h5_dataset.py:326
Method__init__
(self, input_size)
climart/models/baseline.py:35
Method__init__
(self, input_size)
climart/models/baseline.py:58
Method__init__
(self, input_size)
climart/models/baseline.py:82
Method__init__
(self, datamodule_config: DictConfig = None, optimizer: Optional[DictConfig]
climart/models/base_model.py:46
Method__init__
Args: input_dim must either be an int, i.e. the expected 1D input tensor dim, or a dict s.t. input_dim and spatia
climart/models/MLP.py:14
Method__init__
(self, in_channels=None, channels_per_layer=None, out_shape=None, dil_rate=1, use_act=False,
climart/models/modules/additional_layers.py:14
Method__init__
(self, c, r=16)
climart/models/modules/additional_layers.py:56
Method__init__
( self, input_name_to_feature_dim: Dict[str, int], projection_dim: int = 1
climart/models/modules/additional_layers.py:74
Method__init__
( self, input_dim: int, var_name_to_output_dim: Dict[str, int],
climart/models/modules/additional_layers.py:140
Method__init__
(self, in_dim: int, out_dim: int, net_norm: str = 'none',
climart/models/modules/mlp.py:72
Method__init__
(self, hidden_dims: Sequence[int], out_dim: int, dilation:
climart/models/CNNs/CNN.py:88
Method__init__
(self, # input_dim, # out_dim: int, readout_which_output=NO
climart/models/GraphNet/graph_network.py:104
Method__init__
(self, in_dims: Union[int, Dict[str, int]], out_dims: Union[int, Dict[str, i
climart/models/GraphNet/graph_network_block.py:16
Method__init__
Args: exp_type (str): 'pristine' or 'clear-sky' target_type (str): 'longwave" or 'shortwave' target_varia
climart/datamodules/pl_climart_datamodule.py:35
Method__len__
(self)
climart/data_loading/h5_dataset.py:118
Method__len__
(self)
climart/data_loading/h5_dataset.py:217
Method__str__
(self)
climart/data_loading/h5_dataset.py:114
Function_getattr
(obj, attr)
climart/utils/utils.py:122
Functionadj_to_edge_indices
Args: adj: a (N, N) adjacency matrix, where N is the number of nodes Returns: A (2, E) array, edge_idxs, where E is the numbe
climart/utils/utils.py:128
Methodapply_torch_func
Function to be called to apply a torch function to all tensors of this class, e.g. apply .to(), .cuda(), ..., Just call this function
climart/data_transform/normalization.py:63
Methodapply_torch_func
(self, fn)
climart/data_transform/normalization.py:185
Methodbatched_transform
How to transform dict X = { 'layer': layer_array, # shape (batch-size, #layers, #layer-features)
climart/data_transform/transforms.py:48
Methodbatched_transform
(self, X: Dict[str, np.ndarray])
climart/data_transform/transforms.py:69
Methodbatched_transform
(self, X: Dict[str, np.ndarray])
climart/data_transform/transforms.py:84
Methodbatched_transform
(self, batch: Dict[str, np.ndarray])
climart/data_transform/transforms.py:109
Methodbatched_transform
(self, X: Dict[str, np.ndarray])
climart/data_transform/transforms.py:275
Methodbatched_transform
(self, X: Dict[str, np.ndarray])
climart/data_transform/transforms.py:327
Methodbatched_transform
(self, x: Dict[str, np.ndarray])
climart/data_transform/transforms.py:350
Methodchange_input_type
(self, new_type)
climart/data_transform/normalization.py:52
Methodchange_input_type
(self, new_type)
climart/data_transform/normalization.py:182
Methodclose
(self)
climart/data_loading/h5_dataset.py:275
Methodclose
(self)
climart/data_loading/h5_dataset.py:285
Methodconfigure_optimizers
(self)
climart/models/base_model.py:317
Methodcopy_to_slurm_tmp_dir
(self)
climart/data_loading/h5_dataset.py:439
Functiondf_larger_than
(**kwargs)
analysis/wandb_api.py:54
Functiondf_lower_than
(**kwargs)
analysis/wandb_api.py:63
Functionexp_type_subset_vars_test
()
tests/test_variables.py:4
Functionextras
A couple of optional utilities, controlled by main config file: - disabling warnings - easier access to debug mode - forcing debug friendl
climart/utils/config_utils.py:66
Functionf
(df)
analysis/wandb_api.py:55
Methodfeature_by_var
(self)
climart/data_transform/normalization.py:317
Functionflatten_column_dicts
(df: pd.DataFrame)
analysis/wandb_api.py:107
Methodforward
(self, x)
climart/models/baseline.py:21
Methodforward
(self, x)
climart/models/baseline.py:44
Methodforward
(self, x)
climart/models/baseline.py:67
Methodforward
(self, x)
climart/models/baseline.py:91
Methodforward
Downstream model forward pass, input X will be the (batched) output from self.input_transform
climart/models/base_model.py:123
Methodforward
(self, X: Tensor)
climart/models/MLP.py:51
Methodforward
(self, x)
climart/models/modules/additional_layers.py:30
Methodforward
(self, x)
climart/models/modules/additional_layers.py:66
Methodforward
(self, inputs: Dict[str, Tensor] )
climart/models/modules/additional_layers.py:108
Methodforward
(self, hidden_input: Tensor, # (batch-size, hidden-dim) 1D tensor as_dict: bo
climart/models/modules/additional_layers.py:186
Methodforward
(self, X: Tensor)
climart/models/modules/mlp.py:63
Methodforward
(self, X: Tensor)
climart/models/modules/mlp.py:94
Methodforward
input: Dict with key-values {GLOBALS: x_glob, LEVELS: x_lev, LAYERS: x_lay}, where x_*** are the corresponding featu
climart/models/CNNs/CNN.py:70
Methodforward
input: Dict with key-values {GLOBALS: x_glob, LEVELS: x_lev, LAYERS: x_lay}, where x_*** are the corresponding featu
climart/models/CNNs/CNN.py:144
Methodforward
input: Dict with key-values {GLOBALS: x_glob, LEVELS: x_lev, LAYERS: x_lay}, where x_*** are the corresponding featu
climart/models/GraphNet/graph_network.py:81
Methodforward
(self, input: Dict[str, torch.Tensor])
climart/models/GraphNet/graph_network.py:133
Methodforward
(self, graph: GraphComponentToTensor)
climart/models/GraphNet/graph_network_block.py:136
Methodget_adj
Adjacency matrix of a line graph with global node and self-loops
climart/data_transform/transforms.py:142
Functionget_all_instantiable_hydra_modules
(config, module_name: str)
climart/utils/config_utils.py:164
Functionget_data_subdirs
(data_dir: str)
climart/data_loading/constants.py:44
Methodget_dataset_statistics
(self, statistics: List[str] = None)
climart/data_loading/h5_dataset.py:245
Functionget_exp_ID
(exp_type: str, target_types: Union[str, List[str]], target_variables: Union[str, List[str]])
climart/utils/naming.py:86
Functionget_flux_mean
()
climart/data_loading/constants.py:99
Functionget_identity_callable
(*args, **kwargs)
climart/utils/utils.py:26
← previousnext →101–200 of 316, ranked by callers