Closed praveenkumarchandaliya closed 1 year ago
Please replace dnnlib.util.open_url code with .....rb in encode_images.py
with open('karras2019stylegan-ffhq-1024x1024.pkl', "rb") as f1: generator_network, discriminator_network, Gs_network = pickle.load(f1)
if getting \x86.................error. Please add the below statement in util.py file.. res.content.decode("utf-8",errors="ignore")
Please replace dnnlib.util.open_url code with .....rb in encode_images.py
with open('karras2019stylegan-ffhq-1024x1024.pkl', "rb") as f1: generator_network, discriminator_network, Gs_network = pickle.load(f1)
if getting \x86.................error. Please add the below statement in util.py file.. res.content.decode("utf-8",errors="ignore")
generator_network, discriminator_network, Gs_network = pickle.load(f) _pickle.UnpicklingError: invalid load key, '<'.