Open sjm1992st opened 5 years ago
when i used the code in extract_features.py ''' for result in self.estimator.predict(input_fn, yield_single_examples=True) ''' i found it spend about 4s,could some ways can i do?
@sjm1992st check this, it may help! https://github.com/hanxiao/bert-as-service
when i used the code in extract_features.py ''' for result in self.estimator.predict(input_fn, yield_single_examples=True) ''' i found it spend about 4s,could some ways can i do?