예제 #1
0
def callback():
    path = 'images/' + img_path + '/'

    sample_images(gan.combined_A, path + 'A_decoded.png', set_domain_A)
    sample_images(gan.combined_B, path + 'B_decoded.png', set_domain_B)

    sample_images(gan.encoder, path + 'A_encoded.png', set_domain_A)
    sample_images(gan.decoder, path + 'B_encoded.png', set_domain_B)

    plotter.save_hist_image(gan.history, path + 'History.png')
예제 #2
0
def callback():
    path = 'images/' + img_path + '/'
    sample_images(gan.generator, path + 'results.png')
    plotter.save_hist_image(gan.history, path + 'history.png')
예제 #3
0
파일: AAE_test.py 프로젝트: deesatz/GANLib
def callback():
    path = 'images/' + img_path + '/'
    sample_images(gan.decoder, path + 'decoded.png')
    plotter.save_hist_image(gan.history, path + 'History.png')
예제 #4
0
 def callback():
     path = 'images/CGAN/' + tests['img_path'][i] + '/conv_' + tests[
         'mode'][i]
     sample_images(gan.generator, path + '.png')
     plotter.save_hist_image(gan.history, path + '_hist.png')