Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Training a new PLC model #205

Open
dariadiatlova opened this issue May 15, 2023 · 2 comments
Open

Training a new PLC model #205

dariadiatlova opened this issue May 15, 2023 · 2 comments

Comments

@dariadiatlova
Copy link

dariadiatlova commented May 15, 2023

Hello,

I am trying to train a new PLC model with train_plc.py and and several things have caused me difficulties:

  1. Can I follow the same data preprocessing set up with ./dump_data -train input.s16 features.f32 data.s16 to get input features.f32 for PLC model training?
  2. How should lost_file for training look like? Is it a single .txt file - a concatenation of smaller .txt files with one entry per 20ms packet, where 1 means "packet lost" and 0 means "packet not lost"? How to create a single file if original data was augmented after running ./dump_data? Is there any script for it?
  3. To close the above questions with lost_file preprocessing, can I just uncomment the line and train the model with random packets marked as lost? Have you noticed any significant degradation in how this works?
  4. Following test_plc.py, the output is: features + (1-lost)*out, but the shapes:
  • features: [bs, seq_len, nb_used_features+nb_burg_features]
  • lost: [bs, seq_len, 1]
  • out: [bs, seq_len, nb_used_features]

Did I think of the wrong shapes? What should be the shape of a correct output for writing to output.f32?

Thank you for sharing your code and supporting this repository!

@Janne-byti
Copy link

@dariadiatlova Hello, could you please retrain the PLC model? May I ask how to prepare training data?

@felixshing
Copy link

Hello, I am also interested in training a new PLC model with a combination of audio features and visual features. I would like to ask how to do that? Any insights are truly appreciated!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants