File size: 519 Bytes
42d9e00
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
"""Portable settings for the archived fixed-window builder.

The window serialization code is unchanged. Only deployment-specific pipeline
paths are replaced with relative placeholders; build_metascore_test uses its
explicit --source and --output arguments.
"""
from pathlib import Path

DATASETS = ('all',)
RAW_DIR = Path('raw')
INDEX_DIR = Path('index')
SLICES_DIR = Path('slices')
PIPELINE_VERSION = 4
REQUIRED_CATEGORIES = ('single_piano', 'contains_piano')
REQUIRE_4_4 = False
SOURCES_PER_SHARD = 1000
WORKERS = 1