Skip to content

Commit

Permalink
WIP: FCN configuration
Browse files Browse the repository at this point in the history
related to: #11
  • Loading branch information
anthonio9 committed Jun 17, 2024
1 parent 4566e7d commit 8b3d3d3
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 0 deletions.
40 changes: 40 additions & 0 deletions config/polyfcp.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
MODULE = 'penn'

# Configuration name
CONFIG = 'polyfcp'

# gset only
DATASETS = ['gset']

EVALUATION_DATASETS = ['gset']

STEPS = 50000

LOG_INTERVAL = 500

CHECKPOINT_INTERVAL = 5000 # steps

# audio excerpts of length 6.4s
NUM_TRAINING_FRAMES = 128

# smaller batch size, to balance out the excerpts length
BATCH_SIZE = 32

# audio parameters
SAMPLE_RATE = 11025

# the original hopsize is 256 samples, this is 4 times less than that
HOPSIZE = 64

# use only the voiced frames
VOICED_ONLY = True

STRING_INDEX = None

# poly pitch net model
MODEL = 'polypennfcn'

PITCH_CATS = 6

GSET_SPLIT_PLAYERS = True

4 changes: 4 additions & 0 deletions penn/model/poly_pitch_net.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ def __init__(self):
super().__init__(layers)


class PolyPitchNetFCN(PolyPitchNet):
pass


class PolyPitchNet60x2(PolyPitchNet):

def __init__(self):
Expand Down

0 comments on commit 8b3d3d3

Please sign in to comment.