SPACE Training Webinar
Bernd Doser (HITS)
May 2024
Findability
Software, and its metadata, is easy to find for humans and machines
Accessibility
Software, and its metadata, is retrievable via standardized protocols
Interoperability
Software interoperates with other software through standards
Reusability
Software is usable and reusable
\[\begin{aligned} p_{X}(x; \mu, \kappa) = N_{X}(\kappa, d)^{-1}(1 + \mu^{\top}x)^{\kappa} \end{aligned}\]
\(d\): Dimension
\(\mu\): Direction
\(\kappa\): Concentration
\(N_{X}\): Normalization factor
\[\begin{aligned} L = L_{recon} + \lambda \cdot L_{KL} \end{aligned}\]
\(L_{recon}\): Reconstruction loss by pixel-wise euclidean distance
\(L_{KL}\): Kullback-Leibler divergence
\(\lambda\): Balancing factor
PyTorch Lightning Command Line Interface (CLI):
seed_everything: 42
model:
class_path: models.RotationalVariationalAutoencoderPower
init_args:
encoder:
class_path: models.ConvolutionalEncoder
decoder:
class_path: models.ConvolutionalDecoder
h_dim: 256
z_dim: 3
image_size: 363
rotations: 36
beta: 1.0e-3
data:
class_path: data.IllustrisSdssDataModule
init_args:
data_directories: ["TNG100", "TNG50", "Illustris"]
extension: fits
minsize: 100
batch_size: 512
shuffle: True
num_workers: 16
optimizer:
class_path: torch.optim.Adam
init_args:
lr: 0.001
lr_scheduler:
class_path: lightning.pytorch.cli.ReduceLROnPlateau
init_args:
mode: min
factor: 0.1
patience: 5
cooldown: 5
min_lr: 1.e-5
monitor: train_loss
verbose: True
trainer:
max_epochs: 200
accelerator: gpu
devices: 4
precision: 32
logger:
class_path: lightning.pytorch.loggers.WandbLogger
init_args:
project: spherinator
log_model: True
entity: ain-space
tags:
- illustris
callbacks:
- class_path: lightning.pytorch.callbacks.ModelCheckpoint
init_args:
monitor: train_loss
filename: "{epoch}-{train_loss:.2f}"
save_top_k: 3
mode: min
every_n_epochs: 1
- class_path: callbacks.LogReconstructionCallback
init_args:
num_samples: 6
HiPS - Hierarchical Progressive Survey
The HiPS tiles are reconstructed with the corresponding spherical latent space position.
The HiPS tilings are visualized with Aladin-Lite.
Spherinator & HiPSter (B. Doser)