I have searched everywhere and cannot find a way to prevent the STDOUT print out of deepspeech on the model creation.
Specific Python line of code:
model_file="/path/to/model.pbmm"
my_model_obj = deepspeech.Model(model_file)
Output on STDOUT (as best I can tell):
python3 my_example.py
TensorFlow: v1.15.0-24-gceb46aa
DeepSpeech: v0.7.3-0-g8858494
Please help… I’m sure it’s something stupid I’m missing (and been searching on and off for days) so I apologize for asking, but I’m really stuck. My goal is to log all output to a log file, and I simply cannot figure out what is actually outputting this and how to trap it.