diff --git a/frontend/fbank.h b/frontend/fbank.h index bc696e4..6530e84 100644 --- a/frontend/fbank.h +++ b/frontend/fbank.h @@ -22,12 +22,9 @@ #include #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 diff --git a/frontend/feature_pipeline.cc b/frontend/feature_pipeline.cc index dda7a01..b8c7b06 100644 --- a/frontend/feature_pipeline.cc +++ b/frontend/feature_pipeline.cc @@ -18,7 +18,6 @@ #include namespace wenet { - using namespace fst; FeaturePipeline::FeaturePipeline(const FeaturePipelineConfig& config) : config_(config), feature_dim_(config.num_bins), diff --git a/frontend/feature_pipeline.h b/frontend/feature_pipeline.h index 048134b..27e6d32 100644 --- a/frontend/feature_pipeline.h +++ b/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