raceback (most recent call last):
File "editing/styleclip_global_directions/preprocess/s_statistics.py", line 100, in <module>
main()
File "/home/jovyan/.imgenv-cuda-0/lib/python3.7/site-packages/pyrallis/argparsing.py", line 158, in wrapper_inner
response = fn(cfg, *args, **kwargs)
File "editing/styleclip_global_directions/preprocess/s_statistics.py", line 96, in main
save_stats(G, args.random_state, args.num_images, args.truncation_psi, args.truncation_cutoff, args.output_path)
File "editing/styleclip_global_directions/preprocess/s_statistics.py", line 47, in save_stats
all_s = G.synthesis.W2S(ws)
File "/home/jovyan/.imgenv-cuda-0/lib/python3.7/site-packages/torch/nn/modules/module.py", line 948, in __getattr__
type(self).__name__, name))
AttributeError: 'SynthesisNetwork' object has no attribute 'W2S'
Can't figure out what am i doing wrong, because according to your codeSynthesisNetwork class got method named W2S.
Hi i'am trying to extract StyleGan3 statistics while running this command:
but got this error:
Can't figure out what am i doing wrong, because according to your code
SynthesisNetwork
class got method namedW2S
.Any thoughts what am i doing wrong? Thank you.