Skip to content

我替换成 deepspeech-0.9.2-models.pbmm会报错 #36

Description

@tailangjun

感觉默认的 deepspeech是v0.1,我就换成 0.9.2或者 0.9.3,都会报错

Traceback (most recent call last):
File "/home/tailangjun/Documents/AIGenHuman/NerfLips/DFRF/data_util/deepspeech_features/extract_ds_features.py", line 133, in
main()
File "/home/tailangjun/Documents/AIGenHuman/NerfLips/DFRF/data_util/deepspeech_features/extract_ds_features.py", line 125, in main
extract_features(
File "/home/tailangjun/Documents/AIGenHuman/NerfLips/DFRF/data_util/deepspeech_features/extract_ds_features.py", line 82, in extract_features
conv_audios_to_deepspeech(
File "/home/tailangjun/Documents/AIGenHuman/NerfLips/DFRF/data_util/deepspeech_features/deepspeech_features.py", line 41, in conv_audios_to_deepspeech
graph, logits_ph, input_node_ph, input_lengths_ph = prepare_deepspeech_net(
File "/home/tailangjun/Documents/AIGenHuman/NerfLips/DFRF/data_util/deepspeech_features/deepspeech_features.py", line 102, in prepare_deepspeech_net
graph_def.ParseFromString(f.read())
google.protobuf.message.DecodeError: Error parsing message with type 'tensorflow.GraphDef'

请问是不是要修改啥代码呀

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions