Browse Source

2024.5.16 测试整体构建

master
Administrator 1 year ago
parent
commit
8f48ad3be5
3 changed files with 2 additions and 6 deletions
  1. +1
    -4
      frontend/fbank.h
  2. +0
    -1
      frontend/feature_pipeline.cc
  3. +1
    -1
      frontend/feature_pipeline.h

+ 1
- 4
frontend/fbank.h

@ -22,12 +22,9 @@
#include <vector>
#include "frontend/fft.h"
#ifndef FST_LOG_H_
#include "fst/log.h"
#endif
#include "glog/logging.h"
namespace wenet {
using namespace fst;
// This code is based on kaldi Fbank implementation, please see
// https://github.com/kaldi-asr/kaldi/blob/master/src/feat/feature-fbank.cc

+ 0
- 1
frontend/feature_pipeline.cc

@ -18,7 +18,6 @@
#include <utility>
namespace wenet {
using namespace fst;
FeaturePipeline::FeaturePipeline(const FeaturePipelineConfig& config)
: config_(config),
feature_dim_(config.num_bins),

+ 1
- 1
frontend/feature_pipeline.h

@ -73,7 +73,7 @@ struct FeaturePipelineConfig {
}
void Info() const {
LOG(INFO) << "feature pipeline config"
google::LOG(INFO) << "feature pipeline config"
<< " num_bins " << num_bins << " frame_length " << frame_length
<< " frame_shift " << frame_shift << " low_freq " << low_freq
<< " preemphasis " << pre_emphasis << " log_floor " << log_floor

Loading…
Cancel
Save