ZPdesu / SEAN

SEAN: Image Synthesis with Semantic Region-Adaptive Normalization (CVPR 2020, Oral)
https://zpdesu.github.io/SEAN/
Other
652 stars 95 forks source link

GUI crashing on windows 10 Pro 64bit #27

Open justinjohn0306 opened 3 years ago

justinjohn0306 commented 3 years ago

KeyError: 'ACE'

Capture

patodichayan commented 2 years ago

python calculate_mean_style_code.py

Doing this should solve it.

From the readme: Pre-calculate the mean style codes for the UI mode. The mean style codes can be found at ./styles_test/mean_style_code/

AbdouMechraoui commented 2 years ago

I think there is a bug during the calculation of the mean style code since it only accounts for present classes in the style code and not the absent ones. If one class is not present, then the mean for it will be left blank, which causes this error.