marcpaga / basecalling_architectures

The Unlicense
10 stars 5 forks source link

No training occurs with demo data #5

Closed shishir-reddy closed 1 year ago

shishir-reddy commented 1 year ago

Hi, I am trying to test the train_comb.py script with the resquiggled, chunked demo data provided but I am running into an issue where the training loop never starts.

After debugging the training loop, the loader_train dataset is empty when running the script so it looks like the input files are not being parsed correctly on my end. Are you able to reproduce this error? Thanks in advance for the help!

marcpaga commented 1 year ago

Can you provide how did you exactly run the script?

marcpaga commented 1 year ago

I think I found the problem: since there's only a single file, when splitting training and validation data that single file is assigned to validation data, and therefore there's no training data. Can you duplicate the demo file (cp data_0.npz data_1.npz) and try again?

shishir-reddy commented 1 year ago

This fixes the problem for me, thanks!