Git Product home page Git Product logo

Comments (7)

Anwarvic avatar Anwarvic commented on July 29, 2024

Hi @oscarchanggoogle,

Thanks for raising this issue!

Could you post the whole error trace so we can have a better understanding of what could've gone wrong?

from muavic.

oscarchanggoogle avatar oscarchanggoogle commented on July 29, 2024

Screenshot 2023-04-13 21 58 21

Thanks for looking into this @Anwarvic . I've uploaded an image of my terminal.

from muavic.

Anwarvic avatar Anwarvic commented on July 29, 2024

Hi @oscarchanggoogle

Thank you for posting the full error trace! From the uploaded image, you can see that the trainval set hasn't been processed (attached below for your reference):

image

Please, make sure that the /usr/local/google/home/oscarchang/Downloads/muavic/lrs3/trainval directory contains both txt files (*.txt) and videos (*.mp4).

My guess is that you didn't download the trainval data, you only downloaded the text lrs_3_v0.4_txt.zip. If that is the case, please download the set the same way you did with pretrain.zip, uncompress it inside /usr/local/google/home/oscarchang/Downloads/muavic/lrs3 directory, and re-run the get_data.py script as you did earlier. The script should ignore all already-processed files and process only the new ones.

Hope this helps!

from muavic.

oscarchanggoogle avatar oscarchanggoogle commented on July 29, 2024

Screenshot 2023-04-14 11 43 07

Whoops you are right, for some reason, my previous directory of trainval only had the txt. Now I re-downloaded it and it has the mp4.

But I get the same error. I've attached another screenshot. I've checked that trainval/iW4fCwfw1vg/00018 does not actually exist, only trainval/iW4fCwfw1vg/50018.txt and trainval/iW4fCwfw1vg/50018.mp4.

from muavic.

Anwarvic avatar Anwarvic commented on July 29, 2024

Hi @oscarchanggoogle ,

Sorry to hear that you still having issues!

This error indicates that there is an audio file with the name 00018.wav inside ~/Downloads/muavic/muavic/en/audio/train/iW4fCwfw1vg directory. Could you please check if this audio file exists?

If yes, then something went wrong in the segmentation. The original file located in ~/Downloads/muavic/lrs3/pretrain/iW4fCwfw1vg/00018.mp4 should be segmented into ~/Downloads/muavic/seg_pretrain/iW4fCwfw1vg/00018_{0,1,2,3,4}.mp4. And then later the audio is extracted and written to ~/Downloads/muavic/muavic/en/audio/train/iW4fCwfw1vg/00018_{0,1,2,3,4}.wav.

So, I would suggest delete the audio file ~/Downloads/muavic/muavic/en/audio/train/iW4fCwfw1vg/00018.wav and the video file ~/Downloads/muavic/muavic/en/video/train/iW4fCwfw1vg/00018.mp4 and re-run the script.

Due to the nature of your issue, it is so hard to replicate. So, probably we are going to go back and forth multiple times in order to resolve this issue. So, kindly plan accordingly!

from muavic.

oscarchanggoogle avatar oscarchanggoogle commented on July 29, 2024

Thanks! That fixed my error. I got the script fully running for en!

For the other languages, I have warnings/errors that look like the following:
"/usr/local/google/home/oscarchang/Downloads/muavic/mtedx_utils.py:207: UserWarning: TED talk 4lJMAP0UVU8 hasn't been downloaded... skipping!!"

Is this expected? Or should I re-run the script?

from muavic.

Anwarvic avatar Anwarvic commented on July 29, 2024

Glad that everything is working now!

Regarding your question, yes... this is expected!
This message just warns you that some of the TED talks (in your case 4lJMAP0UVU8) hasn't been downloaded from YouTube. This could be for multiple reasons; for example the talk is private, or it has been removed, or the downloading script wasn't able to download it. A full list of failed-to-download talks be found here: /usr/local/google/home/oscarchang/Downloads/muavic/mtedx/not_found_videos.txt

If you don't mind, I'm gonna close this issue now!

from muavic.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.