bytedance / lightseq

LightSeq: A High Performance Library for Sequence Processing and Generation
Other
3.22k stars 329 forks source link

from lightseq.training import export_pb2hdf5 #311

Closed Shijihao closed 2 years ago

Shijihao commented 2 years ago

I met a problem. I install lightseq==2.2.1, when I run "python hf_bart_export.py", There is an importError, cannot import name 'export_pb2hdf5'

The file address is "/export/util.py", line 6 from lightseq.training import export_pb2hdf5

Shijihao commented 2 years ago

可以分享一下lightseq_bart_base.hdf5模型么?

ifromeast commented 2 years ago

@Shijihao 你好,请问cannot import name 'export_pb2hdf5' 的问题你解决了么