(filepath)
| 71 | f.write(chunk) |
| 72 | |
| 73 | def unzip(filepath): |
| 74 | print("Extracting: " + filepath) |
| 75 | dirpath = os.path.dirname(filepath) |
| 76 | with zipfile.ZipFile(filepath) as zf: |
| 77 | zf.extractall(dirpath) |
| 78 | os.remove(filepath) |
| 79 | |
| 80 | def download_celeb_a(dirpath): |
| 81 | data_dir = 'celebA' |
nothing calls this directly
no outgoing calls
no test coverage detected