From 15b8b7bd20d3bb76e933fd2426052c19a0c6ea56 Mon Sep 17 00:00:00 2001
From: yhliang <68215459+yhliang-aslp@users.noreply.github.com>
Date: 星期二, 18 四月 2023 19:19:48 +0800
Subject: [PATCH] Merge branch 'dev_lyh' into main

---
 funasr/runtime/onnxruntime/src/Vocab.cpp |   15 ---------------
 1 files changed, 0 insertions(+), 15 deletions(-)

diff --git a/funasr/runtime/onnxruntime/src/Vocab.cpp b/funasr/runtime/onnxruntime/src/Vocab.cpp
index af6312b..b54a6c6 100644
--- a/funasr/runtime/onnxruntime/src/Vocab.cpp
+++ b/funasr/runtime/onnxruntime/src/Vocab.cpp
@@ -13,21 +13,6 @@
 {
     ifstream in(filename);
     loadVocabFromYaml(filename);
-
-    /*
-    string line;
-    if (in) // 鏈夎鏂囦欢
-    {
-        while (getline(in, line)) // line涓笉鍖呮嫭姣忚鐨勬崲琛岀
-        {
-            vocab.push_back(line);
-        }
-    }
-    else{
-        printf("Cannot load vocab from: %s, there must be file vocab.txt", filename);
-        exit(-1);
-    }
-    */
 }
 Vocab::~Vocab()
 {

--
Gitblit v1.9.1