Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting wrong response when running testing with infer_enzh.sh in st_covost #174

Open
1 of 2 tasks
dheeraj-droid opened this issue Nov 17, 2024 · 0 comments
Open
1 of 2 tasks

Comments

@dheeraj-droid
Copy link

System Info

The versions are as in reqs.txt

Information

  • The official example scripts
  • My own modified scripts

🐛 Describe the bug

getting this as the response for all the test data and the test data is of the format
{"audio": "/home/CP/speech/data/covost_data/en/clips/common_voice_en_18132047.mp3", "prompt": "<|en|>", "gt": "All's well that ends well.", "source": "covost_en"}
{"audio": "/home/CP/speech/data/covost_data/en/clips/common_voice_en_18132047.mp3", "prompt": "<|de|>", "gt": "All's well that ends well. <|de|>Ende gut, alles gut.", "source": "covost_ende"}
{"audio": "/home/CP/speech/data/covost_data/en/clips/common_voice_en_18132047.mp3", "prompt": "All's well that ends well.<|de|>", "gt": "All's well that ends well.<|de|>Ende gut, alles gut.", "source": "covost_enende"}
{"audio": "/home/CP/speech/data/covost_data/en/clips/common_voice_en_17263741.mp3", "prompt": "<|en|>", "gt": "Do you mean it?", "source": "covost_en"}
{"audio": "/home/CP/speech/data/covost_data/en/clips/common_voice_en_17263741.mp3", "prompt": "<|de|>", "gt": "Do you mean it? <|de|>Meinst du das wirklich so?", "source": "covost_ende"}
{"audio": "/home/CP/speech/data/covost_data/en/clips/common_voice_en_17263741.mp3", "prompt": "Do you mean it?<|de|>", "gt": "Do you mean it?<|de|>Meinst du das wirklich so?", "source": "covost_enende"}
{"audio": "/home/CP/speech/data/covost_data/en/clips/common_voice_en_17893917.mp3", "prompt": "<|en|>", "gt": "The new patch is less invasive than the old one, but still causes regressions.", "source": "covost_en"}

Error logs

<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"></script> <script src="https://

Expected behavior

I am getting this in the result file:
{"gt": "All's well that ends well.", "response": " \n\n<html lang="en">\n\n <meta charset="UTF-8">\n <meta name="viewport" content="width=device-width, initial-scale=1.0">\n <meta http-equiv="X-UA-Compatible" content="ie=edge">\n <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css\">\n <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.6.3/css/all.css\">\n <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css\">\n <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css\">\n <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js\"></script>\n <script src="https://", "source": "covost_en"}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant