lucmos / relreps

Relative representations can be leveraged to enable solving tasks regarding "latent communication": from zero-shot model stitching to latent space comparison between diverse settings.
https://openreview.net/forum?id=SrC-nwieGJ
MIT License
45 stars 5 forks source link

Error when running abs-rel performance comparison exp #21

Open cygerts opened 1 year ago

cygerts commented 1 year ago

Hi, Great work! I am getting the error below when running your experiment. Can you help? Best, Sebastian

The command: bash experiments/tab\:abs-rel-performance-comparison/classification/train.sh

Error executing job with overrides: ['core.tags=[classification,relative,tab1]', 'nn/data/datasets=vision/fmnist', 'nn/module=classifier', 'nn/module/model=vision/relresnet', 'nn.module.model.resnet_size=18', 'nn.module.model.input_size=224', 'nn.module.model.use_pretrained=True', 'nn.module.model.finetune=False', 'nn.module.model.hidden_features=512', 'nn.module.model.relative_attention.output_normalization_mode=layernorm', 'train.seed_index=0', 'train.trainer.max_epochs=10'] Traceback (most recent call last): File "src/rae/run.py", line 123, in main run(cfg) File "src/rae/run.py", line 80, in run datamodule: pl.LightningDataModule = hydra.utils.instantiate(cfg.nn.data, recursive=False) File "/home/sebek/.conda/envs/relrep2/lib/python3.8/site-packages/hydra/_internal/instantiate/_instantiate2.py", line 220, in instantiate OmegaConf.resolve(config) omegaconf.errors.InterpolationKeyError: Interpolation key 'nn.data.datasets.val_fixed_sample_idxs' not found