Skip to content

Commit

Permalink
wip FR4 decoding
Browse files Browse the repository at this point in the history
  • Loading branch information
Marvin84 committed Nov 30, 2023
1 parent ef665c8 commit 6c577b8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,22 +45,6 @@
CONF_CHUNKING_30MS = "402:201" # divides cleanly 3
CONF_CHUNKING_60MS = "402:198" # divides cleanly 6

CONF_FOCAL_LOSS = 2.0
CONF_LABEL_SMOOTHING = 0.0
CONF_NUM_EPOCHS = 600
TEST_EPOCH = 65

CONF_SA_CONFIG = {
"max_reps_time": 20,
"min_reps_time": 0,
"max_len_time": 20, # 200*0.05
"max_reps_feature": 1,
"min_reps_feature": 0,
"max_len_feature": 15,
}

L2 = 1e-6
LABEL_SMOOTHING = 0.2

CONF_FH_DECODING_TENSOR_CONFIG = dataclasses.replace(
DecodingTensorMap.default(),
Expand All @@ -70,7 +54,9 @@
out_right_context="right__output/output_batch_major",
out_left_context="left__output/output_batch_major",
out_center_state="center__output/output_batch_major",
out_joint_diphone="output/output_batch_major",
)

BLSTM_FH_DECODING_TENSOR_CONFIG = dataclasses.replace(
CONF_FH_DECODING_TENSOR_CONFIG,
in_encoder_output="concat_lstm_fwd_6_lstm_bwd_6/concat_sources/concat",
Expand Down
3 changes: 1 addition & 2 deletions users/raissi/setups/common/helpers/network/extern_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ def get_extern_data_config(
time_tag_name: typing.Optional[str],
add_single_state_label: bool = False,
) -> typing.Dict[str, typing.Any]:
from IPython import embed
embed()

conf = [
("classes", label_info.get_n_of_dense_classes(), True),
("centerState", label_info.get_n_state_classes(), True),
Expand Down

0 comments on commit 6c577b8

Please sign in to comment.