@click.option('--network', 'network_pkl', help='Network pickle filename', required=True) // should be false @click.option('--local', 'local_pkl', help='Local pickle filename') I recall some code that failed over to load file locally when a url is not specified. will dig around. UPDATE this isn't probably going to work so well with docker - needs instructions. https://github.com/BartvLaatum/lsde_stylegan/blob/de75d15f80bb3d2bc8463b1487628ce4b6f57105/open_dlat.py