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

Issue when downloading the datatset by Create_CELEBA-HQ.ipynb #2

Open
Wu-Xiuchao opened this issue Jun 10, 2020 · 2 comments
Open

Issue when downloading the datatset by Create_CELEBA-HQ.ipynb #2

Wu-Xiuchao opened this issue Jun 10, 2020 · 2 comments

Comments

@Wu-Xiuchao
Copy link

Hi, I meet a problem when downloading the dataset by Create_CELEBA-HQ.ipynb
And when I run the code as follows:

for file_7z in np.sort(glob.glob(dirpath+'img_celeba.7z*')):
    !7z x $file_7z  -o$outpath

I got:

7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,2 CPUs Intel(R) Xeon(R) CPU @ 2.20GHz (406F0),ASM,AES-NI)

Scanning the drive for archives:
1 file, 3088 bytes (4 KiB)

Extracting archive: data/celebA/Img/img_celeba.7z/img_celeba.7z.001
ERROR: data/celebA/Img/img_celeba.7z/img_celeba.7z.001
img_celeba.7z
Open ERROR: Can not open the file as [7z] archive



Can't open as archive: 1
Files: 0
Size:       0
Compressed: 0

7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,2 CPUs Intel(R) Xeon(R) CPU @ 2.20GHz (406F0),ASM,AES-NI)

Scanning the drive for archives:
1 file, 3088 bytes (4 KiB)

Extracting archive: data/celebA/Img/img_celeba.7z/img_celeba.7z.002
ERROR: data/celebA/Img/img_celeba.7z/img_celeba.7z.002
Can not open the file as archive


Can't open as archive: 1
Files: 0
Size:       0
Compressed: 0

7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,2 CPUs Intel(R) Xeon(R) CPU @ 2.20GHz (406F0),ASM,AES-NI)

Scanning the drive for archives:
1 file, 3088 bytes (4 KiB)

Extracting archive: data/celebA/Img/img_celeba.7z/img_celeba.7z.003
ERROR: data/celebA/Img/img_celeba.7z/img_celeba.7z.003
Can not open the file as archive


Can't open as archive: 1
Files: 0
Size:       0
Compressed: 0

7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,2 CPUs Intel(R) Xeon(R) CPU @ 2.20GHz (406F0),ASM,AES-NI)

Scanning the drive for archives:
1 file, 3088 bytes (4 KiB)

Extracting archive: data/celebA/Img/img_celeba.7z/img_celeba.7z.004
ERROR: data/celebA/Img/img_celeba.7z/img_celeba.7z.004
Can not open the file as archive


Can't open as archive: 1
Files: 0
Size:       0
Compressed: 0

7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,2 CPUs Intel(R) Xeon(R) CPU @ 2.20GHz (406F0),ASM,AES-NI)

Scanning the drive for archives:
1 file, 3088 bytes (4 KiB)

Extracting archive: data/celebA/Img/img_celeba.7z/img_celeba.7z.005
ERROR: data/celebA/Img/img_celeba.7z/img_celeba.7z.005
Can not open the file as archive


Can't open as archive: 1
Files: 0
Size:       0
Compressed: 0

7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,2 CPUs Intel(R) Xeon(R) CPU @ 2.20GHz (406F0),ASM,AES-NI)

Scanning the drive for archives:
1 file, 3088 bytes (4 KiB)

Extracting archive: data/celebA/Img/img_celeba.7z/img_celeba.7z.006
ERROR: data/celebA/Img/img_celeba.7z/img_celeba.7z.006
Can not open the file as archive


Can't open as archive: 1
Files: 0
Size:       0
Compressed: 0

7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,2 CPUs Intel(R) Xeon(R) CPU @ 2.20GHz (406F0),ASM,AES-NI)

Scanning the drive for archives:
1 file, 3088 bytes (4 KiB)

Extracting archive: data/celebA/Img/img_celeba.7z/img_celeba.7z.007
ERROR: data/celebA/Img/img_celeba.7z/img_celeba.7z.007
Can not open the file as archive


Can't open as archive: 1
Files: 0
Size:       0
Compressed: 0

7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,2 CPUs Intel(R) Xeon(R) CPU @ 2.20GHz (406F0),ASM,AES-NI)

Scanning the drive for archives:
1 file, 3088 bytes (4 KiB)

Extracting archive: data/celebA/Img/img_celeba.7z/img_celeba.7z.008
ERROR: data/celebA/Img/img_celeba.7z/img_celeba.7z.008
Can not open the file as archive


Can't open as archive: 1
Files: 0
Size:       0
Compressed: 0

7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,2 CPUs Intel(R) Xeon(R) CPU @ 2.20GHz (406F0),ASM,AES-NI)

Scanning the drive for archives:
1 file, 3088 bytes (4 KiB)

Extracting archive: data/celebA/Img/img_celeba.7z/img_celeba.7z.009
ERROR: data/celebA/Img/img_celeba.7z/img_celeba.7z.009
Can not open the file as archive


Can't open as archive: 1
Files: 0
Size:       0
Compressed: 0

7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,2 CPUs Intel(R) Xeon(R) CPU @ 2.20GHz (406F0),ASM,AES-NI)

Scanning the drive for archives:
1 file, 3088 bytes (4 KiB)

Extracting archive: data/celebA/Img/img_celeba.7z/img_celeba.7z.010
ERROR: data/celebA/Img/img_celeba.7z/img_celeba.7z.010
Can not open the file as archive


Can't open as archive: 1
Files: 0
Size:       0
Compressed: 0

7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,2 CPUs Intel(R) Xeon(R) CPU @ 2.20GHz (406F0),ASM,AES-NI)

Scanning the drive for archives:
1 file, 3088 bytes (4 KiB)

Extracting archive: data/celebA/Img/img_celeba.7z/img_celeba.7z.011
ERROR: data/celebA/Img/img_celeba.7z/img_celeba.7z.011
Can not open the file as archive


Can't open as archive: 1
Files: 0
Size:       0
Compressed: 0

7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,2 CPUs Intel(R) Xeon(R) CPU @ 2.20GHz (406F0),ASM,AES-NI)

Scanning the drive for archives:
1 file, 3088 bytes (4 KiB)

Extracting archive: data/celebA/Img/img_celeba.7z/img_celeba.7z.012
ERROR: data/celebA/Img/img_celeba.7z/img_celeba.7z.012
Can not open the file as archive


Can't open as archive: 1
Files: 0
Size:       0
Compressed: 0

7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,2 CPUs Intel(R) Xeon(R) CPU @ 2.20GHz (406F0),ASM,AES-NI)

Scanning the drive for archives:
1 file, 3088 bytes (4 KiB)

Extracting archive: data/celebA/Img/img_celeba.7z/img_celeba.7z.013
ERROR: data/celebA/Img/img_celeba.7z/img_celeba.7z.013
Can not open the file as archive


Can't open as archive: 1
Files: 0
Size:       0
Compressed: 0

7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,2 CPUs Intel(R) Xeon(R) CPU @ 2.20GHz (406F0),ASM,AES-NI)

Scanning the drive for archives:
1 file, 3088 bytes (4 KiB)

Extracting archive: data/celebA/Img/img_celeba.7z/img_celeba.7z.014
ERROR: data/celebA/Img/img_celeba.7z/img_celeba.7z.014
Can not open the file as archive


Can't open as archive: 1
Files: 0
Size:       0
Compressed: 0

I guess if there are some problem with the dataset URL? Can you just give a URL of the dataset for me to download the dataset?

@timsainb
Copy link
Owner

Hi @Wu-Xiuchao

It looks like maybe that download link for the dataset is dead. You'll have to adapt the code a bit, but this is the same dataset:
https://github.com/switchablenorms/CelebAMask-HQ
It also has masks, which is nice.

@Wu-Xiuchao
Copy link
Author

Ok, I will try this dataset, thx for your reply~

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

2 participants