mikael-alafriz-deel / lucid-sonic-dreams

MIT License
771 stars 157 forks source link

TensorFlow pickle version too low #31

Open ckh2007 opened 3 years ago

ckh2007 commented 3 years ago

E:\aimv2\venv\Scripts\python.exe E:/aimv2/main.py Preparing style... Loading networks from abstract_photo.pkl... Traceback (most recent call last): File "E:\aimv2\main.py", line 7, in L.hallucinate(file_name = 'E:\FFOutput\qby90.mp4') File "E:\aimv2\lucidsonicdreams\main.py", line 708, in hallucinate self.stylegan_init() File "E:\aimv2\lucidsonicdreams\main.py", line 179, in stylegan_init self.Gs = self.legacy.load_network_pkl(f)['G_ema'].to(device) # type: ignore File "E:\aimv2\stylegan2\legacy.py", line 26, in load_network_pkl G = convert_tf_generator(tf_G) File "E:\aimv2\stylegan2\legacy.py", line 111, in convert_tf_generator raise ValueError('TensorFlow pickle version too low') ValueError: TensorFlow pickle version too low

Why???

bartman081523 commented 2 years ago

I had this error when I plugged in a stylegan2 config model trained with stylegan3