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

testM_lip not found. #97

Open
tyrandaw opened this issue Jan 13, 2024 · 3 comments
Open

testM_lip not found. #97

tyrandaw opened this issue Jan 13, 2024 · 3 comments

Comments

@tyrandaw
Copy link

hello and thank you for your work. im running your code from colab and im getting the following error


FileNotFoundError Traceback (most recent call last)
in <cell line: 4>()
2 if not os.path.exists("data/test"):
3 os.mkdir("data/test")
----> 4 target_fns = [fn[:-4] for fn in os.listdir("data/testM_lip")]
5 for fn in tqdm(os.listdir("data/images")):
6 elements = fn.split("-")

FileNotFoundError: [Errno 2] No such file or directory: 'data/testM_lip'

@noumanaziz7241
Copy link

Hello @tyrandaw

hello and thank you for your work. im running your code from colab and im getting the following error

FileNotFoundError Traceback (most recent call last) in <cell line: 4>() 2 if not os.path.exists("data/test"): 3 os.mkdir("data/test") ----> 4 target_fns = [fn[:-4] for fn in os.listdir("data/testM_lip")] 5 for fn in tqdm(os.listdir("data/images")): 6 elements = fn.split("-")

FileNotFoundError: [Errno 2] No such file or directory: 'data/testM_lip'

if you are using Google colab to run Demo of this project then download this Manually from this link
https://drive.usercontent.google.com/download?id=1toeQwAe57LNPTy9EWGG0u1XfTI7qv6b1&authuser=0
and upload it on your google drive and then unzip in data folder.
!unzip /content/drive/MyDrive/testM_lip.zip -d data/

@erfan4777
Copy link

Hello @tyrandaw

hello and thank you for your work. im running your code from colab and im getting the following error
FileNotFoundError Traceback (most recent call last) in <cell line: 4>() 2 if not os.path.exists("data/test"): 3 os.mkdir("data/test") ----> 4 target_fns = [fn[:-4] for fn in os.listdir("data/testM_lip")] 5 for fn in tqdm(os.listdir("data/images")): 6 elements = fn.split("-")
FileNotFoundError: [Errno 2] No such file or directory: 'data/testM_lip'

if you are using Google colab to run Demo of this project then download this Manually from this link https://drive.usercontent.google.com/download?id=1toeQwAe57LNPTy9EWGG0u1XfTI7qv6b1&authuser=0 and upload it on your google drive and then unzip in data folder. !unzip /content/drive/MyDrive/testM_lip.zip -d data/

where is other files?
download_from_gdrive("data", "images", "1U2PljA7NE57jcSSzPs21ZurdIPXdYZtN")
download_from_gdrive("data","fasion-pairs-test.csv","12fZKGf0kIu5OX3mjC-C3tptxrD8sxm7x",iszip=False)
download_from_gdrive("data","fasion-annotation-test.csv","1MxkVFFtNsWFshQp_TA7qwIGEUEUIpYdS",iszip=False)
download_from_gdrive("data","standard_test_anns.txt","19nJSHrQuoJZ-6cSl3WEYlhQv6ZsAYG-X",iszip=False)

Not found!

@noumanaziz7241
Copy link

Hello @tyrandaw

hello and thank you for your work. im running your code from colab and im getting the following error
FileNotFoundError Traceback (most recent call last) in <cell line: 4>() 2 if not os.path.exists("data/test"): 3 os.mkdir("data/test") ----> 4 target_fns = [fn[:-4] for fn in os.listdir("data/testM_lip")] 5 for fn in tqdm(os.listdir("data/images")): 6 elements = fn.split("-")
FileNotFoundError: [Errno 2] No such file or directory: 'data/testM_lip'

if you are using Google colab to run Demo of this project then download this Manually from this link https://drive.usercontent.google.com/download?id=1toeQwAe57LNPTy9EWGG0u1XfTI7qv6b1&authuser=0 and upload it on your google drive and then unzip in data folder. !unzip /content/drive/MyDrive/testM_lip.zip -d data/

where is other files? download_from_gdrive("data", "images", "1U2PljA7NE57jcSSzPs21ZurdIPXdYZtN") download_from_gdrive("data","fasion-pairs-test.csv","12fZKGf0kIu5OX3mjC-C3tptxrD8sxm7x",iszip=False) download_from_gdrive("data","fasion-annotation-test.csv","1MxkVFFtNsWFshQp_TA7qwIGEUEUIpYdS",iszip=False) download_from_gdrive("data","standard_test_anns.txt","19nJSHrQuoJZ-6cSl3WEYlhQv6ZsAYG-X",iszip=False)

Not found!

you can change the id in each of these as well the url for last 3 files would be
https://drive.usercontent.google.com/download?id=12fZKGf0kIu5OX3mjC-C3tptxrD8sxm7x&authuser=0
https://drive.usercontent.google.com/download?id=1MxkVFFtNsWFshQp_TA7qwIGEUEUIpYdS&authuser=0
https://drive.usercontent.google.com/download?id=19nJSHrQuoJZ-6cSl3WEYlhQv6ZsAYG-X&authuser=0
after downloading these you can upload these in data folder
for images downloading more than 6 GB file would not be fissible for that you can do is go to this url
https://drive.google.com/drive/folders/1An2c_ZCkeGmhJg0zUjtZF46vyJgQwIr2
and add shortcut to your drive and then unzip the images folder in data folder like this
!unzip /content/drive/MyDrive/images.zip -d data/

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

3 participants