• M
    add stargan-v2 style FID calculation. · fc6af365
    Mark Ma 提交于
    add --style command line option to let user choose stargan or gan-compression style (by default gan-compression style will be used).
    move `dygraph.guard()` declaration into fid module for two reason: 1. the inference model didn't work in dygraph mode, so we dynamically choose whether to use dygraph mode after style is determined. 2. easier to use for end user (no need to call fluid.dygraph.guard() explicitly)
    fc6af365
test_fid_score.py 2.2 KB