falta ver como sacar muestras de Einstein y que se entienda algo

parent dd948491
......@@ -59,6 +59,9 @@ pnm.imsave('mnist-init-samp-mob.pbm',D_samp_mob,maxval=1)
#
# EINSTEIN (FALTA)
#
#
# main falta
#
X = pnm.imread('../data/einstein.pbm')
Akprox = pnm.imread('./paper/conv-einstein-fwd-kprox/__final_coeffs__.pbm')
Ekprox = pnm.imread('./paper/conv-einstein-fwd-kprox/__final_residual__.pbm')
......@@ -68,3 +71,18 @@ Amob = pnm.imread('./paper/conv-einstein-fwd-mob/__final_coeffs__.pbm')
Emob = pnm.imread('./paper/conv-einstein-fwd-mob/__final_residual__.pbm')
Dmob = pnm.imread('./paper/conv-einstein-fwd-mob/__final_dict_mosaic__.pbm')
#
# einstein init (OK)
#
D_rand_0 = pnm.imread('./paper/init-kprox-rand-einstein/__initial_dict_mosaic__.pbm')
pnm.imsave('einstein-init-rand-init.pbm',D_rand_0,maxval=1)
D_rand_kprox = pnm.imread('./paper/init-kprox-rand-einstein/__final_dict_mosaic__.pbm')
pnm.imsave('einstein-init-rand-kprox.pbm',D_rand_kprox,maxval=1)
D_rand_mob = pnm.imread('./paper/init-mob-rand-einstein/__final_dict_mosaic__.pbm')
pnm.imsave('einstein-init-rand-mob.pbm',D_rand_mob,maxval=1)
D_samp_0 = pnm.imread('./paper/init-kprox-samp-einstein/__initial_dict_mosaic__.pbm')
pnm.imsave('einstein-init-samp-init.pbm',D_samp_0,maxval=1)
D_samp_kprox = pnm.imread('./paper/init-kprox-samp-einstein/__final_dict_mosaic__.pbm')
pnm.imsave('einstein-init-samp-kprox.pbm',D_samp_kprox,maxval=1)
D_samp_mob = pnm.imread('./paper/init-mob-samp-einstein/__final_dict_mosaic__.pbm')
pnm.imsave('einstein-init-samp-mob.pbm',D_samp_mob,maxval=1)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment