dessa-oss / fake-voice-detection

Using temporal convolution to detect Audio Deepfakes
http://www.atlas.dessa.com
Apache License 2.0
349 stars 86 forks source link

Can not able to run "bash download_data.sh" in Windows 10 Pro version #8

Open Kinjal05 opened 4 years ago

Kinjal05 commented 4 years ago

I am not able to download the dataset by running "bash download_data.sh". I have also tried with git bash to download it, but did not got any luck. Attaching trace here:

$ bash download_data.sh download_data.sh: line 1: apt-get: command not found download_data.sh: line 2: apt-get: command not found download_data.sh: line 3: apt-get: command not found download_data.sh: line 4: apt-get: command not found download_data.sh: line 10: wget: command not found unzip: cannot find or open realtalk.zip, realtalk.zip.zip or realtalk.zip.ZIP. mv: cannot stat 'realtalk/*': No such file or directory rm: cannot remove 'realtalk.zip': No such file or directory rm: cannot remove 'realtalk/': No such file or directory download_data.sh: line 20: wget: command not found unzip: cannot find or open preprocessed_data.zip, preprocessed_data.zip.zip or preprocessed_data.zip.ZIP. rm: cannot remove 'preprocessed_data.zip': No such file or directory download_data.sh: line 28: wget: command not found Can any one please me to get rid of these one.

Many Thanks. Kinjal

ranasac19878 commented 4 years ago

Hello Kinjal,

The 'apt-get' command doesn't work in Windows unfortunately. So you won't be able to run the download_data.sh but there are a few solutions. 1) The fastest one is spin up a docker container with Linux image, mount this project directory on it, run the download_data.sh inside the docker container. This will download and unzip the data in your local foldeer.

2) Other option is, you can download the data manually on your Windows computer by manually running the wget commands which are inside download_data.sh. You don't need to run any of the apt-get commands at all. Just run the wget commands to download the zip files, manually unzip them. Make sure the files are downloaded in the correct folders. You can see the 'download_data.sh` script to see which folders these files go to.

Let me know if this helps.

Sachin