Commit graph

465 commits

Author SHA1 Message Date
Jan Buethe
d58faea390 added copyright headers to new files 2022-10-26 09:48:55 +00:00
Jan Buethe
1f7c39d7c3 added config include to all new C files 2022-10-25 13:28:25 +00:00
Jan Buethe
159da40890 fixed calculation of p0 2022-10-25 12:59:17 +00:00
Jan Buethe
818a0496d5 added re-ordering to dred_rdovae_decode_qframe (frames now in correct order) 2022-10-25 12:15:25 +00:00
Jan Buethe
23bb11dd48 added destroy functions for encoder/decoder states 2022-10-25 12:14:31 +00:00
Jan Buethe
7cac35e699 fixed theta and r values 2022-10-25 12:13:11 +00:00
Jan Buethe
80383b6377 Merge branch 'exp_rdovae6' of https://github.com/xiph/LPCNet into exp_rdovae6 2022-10-24 11:00:50 +00:00
Jan Buethe
79d4f12677 added api functions for retrieving pointers to statistical model parameters 2022-10-24 11:00:02 +00:00
Jan Buethe
0f04488116 fixed type error for statistical model 2022-10-24 10:59:39 +00:00
Jan Buethe
8accadcc85 more fixes 2022-10-21 19:00:30 +00:00
Jan Buethe
d0b1cd886a bugfixes 2022-10-21 16:35:43 +00:00
Jan Buethe
5b49421648 bugfix in dred_rdovae.c 2022-10-21 15:58:58 +00:00
Jan Buethe
f74bff74f6 aded api for DRED/RDOVAE to circumvent conflicts between Opus and LPCNet repo 2022-10-21 15:37:23 +00:00
Jan Buethe
d80f99f78b added void to shut up missing prototype warning 2022-10-21 15:33:41 +00:00
Jan Buethe
e6390e34c7 removed compute_dense function (conflict with opus mlp) 2022-10-21 12:33:34 +00:00
Jan Buethe
1978cc6094 refactoring 2022-10-21 12:13:38 +00:00
Jan Buethe
d1646a680a added NFEC decoder C implementation 2022-10-20 17:27:39 +00:00
Jan Buethe
ea4d8f54c3 added statistical model to dump_nfec_model 2022-10-19 17:18:25 +00:00
Jan Buethe
50966eecc5 bugfixes in nfec encoder 2022-10-19 14:43:12 +00:00
Jan Buethe
2112f3dd76 some fixes 2022-10-19 10:58:24 +02:00
Jan Buethe
c1b357ed47 first attempt of C implementation of fec encoder (not tested yet due to NEON/DOT_PROD not being separable) 2022-10-18 19:30:23 +02:00
Jean-Marc Valin
9629ea6a70 Fine-tuning the scripts 2022-10-14 01:01:39 -04:00
Jean-Marc Valin
0f7fe64d5a Compute FEC features based on loss pattern 2022-10-05 01:56:53 -04:00
Jean-Marc Valin
89db314efb Updating fec_encoder.py for recent changes 2022-10-04 15:46:13 -04:00
Jean-Marc Valin
61459c24e0 Change decoder architecture to be like the encoder 2022-10-04 00:27:36 -04:00
Jean-Marc Valin
79d1a916d0 Weighting loss by 1/sqrt(lambda) 2022-10-02 12:34:42 -04:00
Jean-Marc Valin
0b01863732 Larger range of quantizers 2022-09-30 22:21:30 -04:00
Jan Buethe
524f84800f removed dump_data delay from total_delay in fec_encoder.py 2022-09-30 16:00:02 +02:00
Jean-Marc Valin
4c82d3b419 Completely move quantization out of encoder and decoder 2022-09-30 03:53:40 -04:00
Jan Buethe
cd0993fd8c clarifications in help printout 2022-09-29 21:14:34 +02:00
Jan Buethe
97ffa94d5c fixed decoder bug (non-quantized input) 2022-09-29 21:13:30 +02:00
jbuethe
589e674116 alignment fix in fec_encoder 2022-09-29 17:54:34 +02:00
jbuethe
a866abe3c3 ported debug changes from fec_encoder_torch.py 2022-09-29 14:18:41 +02:00
Jean-Marc Valin
0a2d6dfcb6 Use the encoder state as decoder initial state
Helps reduce the error on the most recent frames
2022-09-28 15:34:02 -04:00
Jean-Marc Valin
38dda0f950 Oops, forgot to run PVQ quantization for the state 2022-09-28 15:33:20 -04:00
jbuethe
b43f077ba8 corrected offset between decoder output on even/odd latent frames 2022-09-27 16:37:46 +00:00
jbuethe
01baf1a0fc added missing dead-zone to encode_rdovae.py 2022-09-27 16:31:04 +00:00
jbuethe
be42c3b514 added fec_encoder.py and corresponding fec_packets.[chpy] 2022-09-27 16:29:13 +00:00
Jean-Marc Valin
ef12c29f14 Update encoder/decoder 2022-09-27 02:28:13 -04:00
Jean-Marc Valin
405aa7cf69 WIP: training with different alignment 2022-09-27 02:28:12 -04:00
Jean-Marc Valin
981d06eefd Refactoring towards multiple offset decoding 2022-09-27 02:28:12 -04:00
Jean-Marc Valin
a4f7c157cf Stop decimating in the encoder 2022-09-27 02:28:12 -04:00
Jean-Marc Valin
fdd51eb760 RepeatVector no longer likes tensor input 2022-09-27 02:28:11 -04:00
Jean-Marc Valin
8569121f6c RDO-VAE work in progress 2022-09-27 02:28:11 -04:00
Jean-Marc Valin
b6ac1c78bb FEC hooks in the PLC code
Can now inject FEC features to be used by the PLC when available
2022-09-27 02:24:21 -04:00
Jean-Marc Valin
4befd8bb39 Decreasing look-ahead of default model to 1 frame 2022-09-24 03:25:33 -04:00
Jean-Marc Valin
d45ab6fcb6 Move back to tanh for frame rate network
Swish has lower loss, but doesn't seem to improve quality
2022-09-24 03:22:57 -04:00
Jean-Marc Valin
f5c251c5d5 Properly align LPC with lookahead in data loader 2022-09-24 03:21:36 -04:00
Jean-Marc Valin
dd114baf4d Fix causal PLC for models with non-zero lookahead 2022-09-16 01:44:53 -04:00
janpbuethe
f3c738d45f removed debug prints in dump_lpcnet.py 2022-09-07 09:10:19 +00:00