Open JimCircadian opened 6 months ago
Sticking a value in for generate_workers into dataset_config...json
sorted this out. The configuration in use is doubtless quite old (probably 0.2.6 or 7) but we should be defending against missing parameters. Also, this parameter shouldn't be applicable in this situation anyway.
Description
Running training, the parameter generate_workers for the dataset isn't necessarily going to be in place, so we should account for this.
What I Did
Checking the dataset config, this value isn't available. As this is a
tf.data
precached dataset, the invocation of the dataset for training is not passed generation parameters, so a clause allowing this to be missing is needed: