Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PolymathicAI/AstroCLIP
/ types & classes
Types & classes
44 in github.com/PolymathicAI/AstroCLIP
⨍
Functions
197
◇
Types & classes
44
↓ 3 callers
Class
LayerNorm
Layer normalized with optional bias. This is based on PyTorch's :class:`~torch.nn.LayerNorm` module but is needed because PyTorch's version d
astroclip/modules.py:249
↓ 3 callers
Class
MLP
A two-layer MLP. This uses a fully-connected layer to encode the input, then applies a non-linearity, then uses another fully-connected layer
astroclip/modules.py:59
↓ 3 callers
Class
RandomGaussianBlur
Randomly apply Gaussian blur to the image.
astroclip/astrodino/data/augmentations.py:114
↓ 3 callers
Class
RandomGaussianNoise
Randomly apply Gaussian noise to the image.
astroclip/astrodino/data/augmentations.py:123
↓ 3 callers
Class
ToRGB
Transformation from raw image data (nanomaggies) to the rgb values displayed at the legacy viewer https://www.legacysurvey.org/viewer Co
astroclip/astrodino/data/augmentations.py:132
↓ 2 callers
Class
AstroClipCollator
astroclip/data/datamodule.py:49
↓ 2 callers
Class
AstroClipDataloader
astroclip/data/datamodule.py:13
↓ 2 callers
Class
CrossAttentionHead
Cross-attention head with dropout. This module is a single head of a cross-attention layer. It takes a query and a key tensor, computes the a
astroclip/modules.py:10
↓ 2 callers
Class
GaussianBlur
Augmentations tuned to the Legacy Survey Data (with minor modifications). Code copied from https://github.com/georgestein/ssl-legacysurv
astroclip/astrodino/data/augmentations.py:248
↓ 2 callers
Class
MLP
MLP model
downstream_tasks/property_estimation/baselines/modules.py:101
↓ 2 callers
Class
SmoothedValue
Track a series of values and provide access to smoothed values over a window or the global series average.
astroclip/astrodino/utils.py:155
↓ 2 callers
Class
SpecFormer
astroclip/models/specformer.py:13
↓ 2 callers
Class
SupervisedModel
downstream_tasks/property_estimation/baselines/modules.py:17
↓ 1 callers
Class
CLIPLoss
astroclip/models/astroclip.py:117
↓ 1 callers
Class
ConditionalFlowStack
Normalizing flow stack for conditional distribution
downstream_tasks/property_estimation/property_utils/models.py:95
↓ 1 callers
Class
DataAugmentationAstroDINO
astroclip/astrodino/data/augmentations.py:18
↓ 1 callers
Class
GaussianNoise
Augmentations tuned to the Legacy Survey Data (with minor modifications). Code copied from https://github.com/georgestein/ssl-legacysurv
astroclip/astrodino/data/augmentations.py:186
↓ 1 callers
Class
MLP
A simple feedforward neural network with 3 hidden layers.
downstream_tasks/morphology_classification/morphology_utils/models.py:11
↓ 1 callers
Class
MLP
MLP model
downstream_tasks/property_estimation/property_utils/models.py:75
↓ 1 callers
Class
MetricLogger
astroclip/astrodino/utils.py:23
↓ 1 callers
Class
ResNet18
Modfied ResNet18.
downstream_tasks/property_estimation/baselines/modules.py:86
↓ 1 callers
Class
SelfAttention
Collection of self-attention heads. :param embedding_dim: total dimensionality of the model (equal to `head_size * num_heads`) :param
astroclip/modules.py:108
↓ 1 callers
Class
SpectrumEncoder
Spectrum encoder Modified version of the encoder by Serrà et al. (2018), which combines a 3 layer CNN with a dot-product attention module. Th
downstream_tasks/property_estimation/baselines/modules.py:121
↓ 1 callers
Class
SupervisedDataModule
downstream_tasks/property_estimation/baselines/data.py:8
↓ 1 callers
Class
TransformerBlock
A transformer block, including layer norm, self-attention, another layer norm, and a two-layer MLP. :param embedding_dim: total dimensionalit
astroclip/modules.py:210
↓ 1 callers
Class
WrappedLightningCLI
astroclip/trainer.py:20
↓ 1 callers
Class
_TorchDistributedEnvironment
astroclip/astrodino/distributed.py:157
↓ 1 callers
Class
config
astroclip/models/astroclip.py:186
↓ 1 callers
Class
config
astroclip/astrodino/utils.py:227
Class
AstroClipDataset
TODO: Short description of my dataset.
astroclip/data/dataset.py:39
Class
AstroClipModel
astroclip/models/astroclip.py:16
Class
CosineAnnealingWithWarmupLR
A cosine-annealing learning rate scheduler with initial warmup. Currently this cuts off after one cycle. The interface is otherwise compatible wi
astroclip/scheduler.py:7
Class
CustomSaveConfigCallback
Saves full training configuration Otherwise wandb won't log full configuration but only flattened module and data hyperparameters
astroclip/callbacks.py:43
Class
CustomWandbLogger
astroclip/callbacks.py:37
Class
ImageHead
astroclip/models/astroclip.py:157
Class
LegacySurvey
astroclip/astrodino/data/dataset.py:32
Class
LegacySurveyNorth
astroclip/astrodino/data/dataset.py:114
Class
Moco_v2
PyTorch Lightning implementation of `Moco <https://arxiv.org/abs/2003.04297>`_ Paper authors: Xinlei Chen, Haoqi Fan, Ross Girshick, Kaiming He.
astroclip/models/moco_v2.py:12
Class
PlotsCallback
astroclip/callbacks.py:57
Class
SamplerType
astroclip/astrodino/data/loaders.py:16
Class
SpectrumHead
astroclip/models/astroclip.py:238
Class
TiedLinear
A dense linear layer whose parameters are tied to a tensor provided by the user. Using this layer is equivalent to using the functional form,
astroclip/modules.py:296
Class
_SplitFull
astroclip/astrodino/data/dataset.py:17
Class
_SplitNorth
astroclip/astrodino/data/dataset.py:99