- original StyleGAN was special as it maps input code z to an intermediate latent code w, which applied to AdaIN layers
- stochastic variation helps the intermediate latent space W to be less entangled
- this paper investigates and fixes:
- a. a droplet artifact in original StyleGAN paper via a redesigned norm in generator
- b. artifacts caused by progressive growing design via a mixture of skip-connection and residual nets
- FID and P&R are useful but both based on classifier nets that shown to focus on textures rather than shapes
- PPL metric correlates with consistency and stability of shapes, this is expensive so texecuted less frequently
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Find the pattern and complete the function: | |
int[][] spiral(int n); | |
where n is the size of the 2D array. | |
input = 3 | |
123 | |
894 | |
765 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" Remove nonsense from a long list of emails | |
[email protected] | |
""" | |
raw_emails_file = './email_addresses.txt' | |
clean_email_file = './clean_email_addresses.txt' | |
raw_emails = open(raw_emails_file, 'r').readlines() | |
clean_emails = open(clean_email_file, 'w') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pdb | |
import glob | |
import astrodata | |
# import dragon packages | |
from recipe_system import cal_service | |
from recipe_system.reduction.coreReduce import Reduce | |
from gempy.utils import logutils | |
from gempy.adlibrary import dataselect |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
NewerOlder