-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.py
50 lines (46 loc) · 1.39 KB
/
config.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
from pathlib import Path
from numpy import linspace
from sharp.config.default.logging import get_logging_config
from sharp.config.default.tasks import get_default_tasks
from sharp.config.spec import SharpConfig
from sharp.config.types import RecordingFileID
config = SharpConfig(
central_server=None,
get_tasks=get_default_tasks,
raw_data=(
RecordingFileID(
rat=2, day=5, probe="D29", path=Path("data/raw/sig.moz")
),
RecordingFileID(
rat=2, day=2, probe="L2", path=Path("data/raw/sig.dat")
),
RecordingFileID(
rat=3, day=1, probe="Waluigi", path=Path("data/raw/sig.raw.kwd")
),
),
output_dir="data/processed",
shared_output_dir="data/processed-shared",
fs_target=1000,
bitmap_versions=False,
logging=get_logging_config(multiple_workers=False),
config_id="test",
mult_detect_ripple=tuple(linspace(0.4, 4, num=7)),
mult_detect_SW=tuple(linspace(0.9, 5, num=7)),
lockout_time=60e-3,
num_thresholds=64,
train_fraction=0.6,
train_first=True,
eval_start_extension=14e-3,
num_layers=2,
num_units_per_layer=40,
chunk_duration=0.3,
p_dropout=0.4,
num_epochs=15,
valid_fraction=0.22,
pos_weight=1.0,
target_fullrect=False,
target_start_pre=14e-3,
target_start_post=25e-3,
reference_seg_extension=0,
max_memory_usage=None,
)