In [1]:
from download_data import multi_p_run, put_worker, _worker, download_mp4, download_align
In [2]:
res = multi_p_run(35, put_worker, _worker, 5)
print (res)
In [ ]:
## down
import os
os.makedirs('./datasets', exist_ok=True)
#os.system('rm -rf ./datasets/*')
res = multi_p_run(35, put_worker, download_align, 9)
print (res)
os.system('rm -f datasets/*.tar && rm -f datasets/align/Thumbs.db')
In [ ]:
res = multi_p_run(35, put_worker, download_mp4, 9)
print (res)
os.system('rm -f datasets/*.zip && rm -f datasets/*/Thumbs.db')
In [ ]:
## download single 22 th dir
#download_data.py(22, 22)
In [3]:
from preprocess_data import preprocess, find_files, Video
In [4]:
import os
os.makedirs('./TARGET', exist_ok=True)
os.system('rm -rf ./TARGET/*')
Out[4]:
In [ ]:
res = multi_p_run(35, put_worker, preprocess, 9)
In [ ]: