Spikey/config.yaml

137 lines
5.0 KiB
YAML
Raw Normal View History

2024-05-24 22:01:59 +02:00
name: DEFAULT
2024-05-26 00:28:33 +02:00
project: Spikey_1
2024-05-24 22:01:59 +02:00
slurm:
name: 'Spikey_{config[name]}'
partitions:
- single
standard_output: ./reports/slurm/out_%A_%a.log
standard_error: ./reports/slurm/err_%A_%a.log
num_parallel_jobs: 50
2024-05-25 01:20:24 +02:00
cpus_per_task: 8
memory_per_cpu: 4000
2024-05-24 22:01:59 +02:00
time_limit: 1440 # in minutes
ntasks: 1
venv: '.venv/bin/activate'
sh_lines:
- 'mkdir -p {tmp}/wandb'
- 'mkdir -p {tmp}/local_pycache'
- 'export PYTHONPYCACHEPREFIX={tmp}/local_pycache'
runner: spikey
scheduler:
reps_per_version: 1
2024-05-26 00:28:33 +02:00
agents_per_job: 100
2024-05-24 22:01:59 +02:00
reps_per_agent: 1
wandb:
project: '{config[project]}'
group: '{config[name]}'
job_type: '{delta_desc}'
name: '{job_id}_{task_id}:{run_id}:{rand}={config[name]}_{delta_desc}'
2024-05-24 23:02:24 +02:00
#tags:
# - '{config[env][name]}'
# - '{config[algo][name]}'
2024-05-24 22:01:59 +02:00
sync_tensorboard: False
monitor_gym: False
save_code: False
2024-05-26 00:28:33 +02:00
evaluation:
full_compression: false # Perform full compression during evaluation
bitstream_encoding:
type: identity # Options: 'arithmetic', 'identity', 'bzip2'
data:
url: https://content.neuralink.com/compression-challenge/data.zip # URL to download the dataset.
directory: data # Directory to extract and store the dataset.
split_ratio: 0.8 # Ratio to split the data into train and test sets.
cut_length: null # Optional length to cut sequences to.
profiler:
enable: false
training:
eval_freq: -1 # 8 # Frequency of evaluation during training (in epochs).
save_path: models # Directory to save the best model and encoder.
2024-05-24 22:01:59 +02:00
---
2024-05-26 00:28:33 +02:00
name: FC
2024-05-24 23:02:24 +02:00
import: $
2024-05-24 22:01:59 +02:00
2024-05-25 17:31:08 +02:00
latent_projector:
2024-05-26 00:28:33 +02:00
type: fc # Options: 'fc', 'rnn'
input_size: 1953 # =0.1s 19531 # =1s Input size for the Latent Projector (length of snippets).
2024-05-25 21:40:07 +02:00
latent_size: 4 # Size of the latent representation before message passing.
2024-05-26 00:28:33 +02:00
layer_shapes: [32, 8] # List of layer sizes for the latent projector (if type is 'fc').
activations: ['ReLU', 'ReLU'] # Activation functions for the latent projector layers (if type is 'fc').
#rnn_hidden_size: 4 # Hidden size for the RNN projector (if type is 'rnn').
#rnn_num_layers: 1 # Number of layers for the RNN projector (if type is 'rnn').
2024-05-25 17:31:08 +02:00
middle_out:
2024-05-26 13:56:59 +02:00
region_latent_size: 4 # Size of the latent representation after message passing.
2024-05-25 20:27:54 +02:00
num_peers: 3 # Number of most correlated peers to consider.
2024-05-24 22:01:59 +02:00
predictor:
2024-05-26 00:28:33 +02:00
layer_shapes: [3] # List of layer sizes for the predictor.
activations: ['ReLU'] # Activation functions for the predictor layers.
2024-05-24 22:01:59 +02:00
training:
2024-05-25 21:40:07 +02:00
epochs: 1024 # Number of training epochs.
2024-05-26 00:28:33 +02:00
batch_size: 32 # Batch size for training.
num_batches: 1 # Batches per epoch
learning_rate: 0.01 # Learning rate for the optimizer.
---
name: FC6
import: $
2024-05-24 22:01:59 +02:00
2024-05-26 00:28:33 +02:00
latent_projector:
type: fc # Options: 'fc', 'rnn'
input_size: 195 # =0.1s 19531 # =1s Input size for the Latent Projector (length of snippets).
latent_size: 4 # Size of the latent representation before message passing.
layer_shapes: [16] # List of layer sizes for the latent projector (if type is 'fc').
activations: ['ReLU'] # Activation functions for the latent projector layers (if type is 'fc').
#rnn_hidden_size: 4 # Hidden size for the RNN projector (if type is 'rnn').
#rnn_num_layers: 1 # Number of layers for the RNN projector (if type is 'rnn').
2024-05-25 17:31:08 +02:00
2024-05-26 00:28:33 +02:00
middle_out:
2024-05-26 13:56:59 +02:00
region_latent_size: 8 # Size of the latent representation after message passing.
2024-05-26 00:28:33 +02:00
num_peers: 3 # Number of most correlated peers to consider.
2024-05-24 22:01:59 +02:00
2024-05-26 00:28:33 +02:00
predictor:
layer_shapes: [3] # List of layer sizes for the predictor.
activations: ['ReLU'] # Activation functions for the predictor layers.
2024-05-24 23:02:24 +02:00
2024-05-26 00:28:33 +02:00
training:
epochs: 1024 # Number of training epochs.
batch_size: 16 # Batch size for training.
num_batches: 1 # Batches per epoch
learning_rate: 0.01 # Learning rate for the optimizer.
---
name: RNN
import: $
latent_projector:
2024-05-26 15:40:00 +02:00
type: rnn # Options: 'fc', 'rnn', 'fourier'
2024-05-26 00:28:33 +02:00
input_size: 1953 # =0.1s 19531 # =1s Input size for the Latent Projector (length of snippets).
latent_size: 4 # Size of the latent representation before message passing.
2024-05-26 15:40:00 +02:00
#layer_shapes: [32, 8] # List of layer sizes for the latent projector (if type is 'fc' or 'fourier').
#activations: ['ReLU', 'ReLU'] # Activation functions for the latent projector layers (if type is 'fc' or 'fourier').
2024-05-26 00:28:33 +02:00
rnn_hidden_size: 3 # Hidden size for the RNN projector (if type is 'rnn').
rnn_num_layers: 2 # Number of layers for the RNN projector (if type is 'rnn').
2024-05-26 15:40:00 +02:00
#num_frequencies: 16 # Number of frquency bins for the fourier decomp (if type is 'fourier').
#pass_raw_len: null # How many last samples to give raw to the net in addition to freqs (null = all) (if type is 'fourier').
2024-05-26 00:28:33 +02:00
middle_out:
2024-05-26 13:56:59 +02:00
region_latent_size: 4 # Size of the latent representation after message passing.
2024-05-26 00:28:33 +02:00
num_peers: 3 # Number of most correlated peers to consider.
predictor:
layer_shapes: [3] # List of layer sizes for the predictor.
activations: ['ReLU'] # Activation functions for the predictor layers.
training:
epochs: 1024 # Number of training epochs.
batch_size: 64 # Batch size for training.
num_batches: 2 # Batches per epoch
learning_rate: 0.01 # Learning rate for the optimizer.