When i try to transform official weight .pkl to .pth, I found this error.
Dealing with /home/resefa/Hammer-main/converters/stylegan2-ffhq-config-f.pkl ...
Traceback (most recent call last):
File "convert_model.py", line 58, in <module>
main()
File "convert_model.py", line 54, in main
learning_rate=args.learning_rate)
File "/home/aiyang/resefa/Hammer-main/converters/base_converter.py", line 214, in run
self.load_source(src_path)
File "/home/aiyang/resefa/Hammer-main/converters/stylegan2_converter.py", line 61, in load_source
G, D, Gs = pickle.load(f)
ModuleNotFoundError: No module named 'torch_utils.persistence'
I try to reinstall torch_utils and torch, but it didn't work.
Need help!
Thanks your great work!
When i try to transform official weight .pkl to .pth, I found this error.
I try to reinstall torch_utils and torch, but it didn't work. Need help!