USE_PARTIALS=notPARTIALS_WEIGHTSisNone# False - just a single Siamese net, True - partial outputs that use concentric squares of the first level subnets
USE_PARTIALS=notPARTIALS_WEIGHTSisNone# False - just a single Siamese net, True - partial outputs that use concentric squares of the first level subnets
tf_img_test9:img_gain_test9})# previous value of *_avg #Fetch argument 0.0 has invalid type <class 'float'>, must be a string or Tensor. (Can not convert a float into a Tensor or Operation.)
tf_img_test9:img_gain_test9})# previous value of *_avg #Fetch argument 0.0 has invalid type <class 'float'>, must be a string or Tensor. (Can not convert a float into a Tensor or Operation.)
loss_gw_train_hist[i]=GW_loss_trained
loss_gw_train_hist[i]=GW_loss_trained
# loss_g_train_hist[i] = G_loss_trained
fornn,glinenumerate(G_losses_trained):
fornn,glinenumerate(G_losses_trained):
loss_g_train_hists[nn][i]=gl
loss_g_train_hists[nn][i]=gl
loss_s_train_hist[i]=S_loss_trained
loss_s_train_hist[i]=S_loss_trained
...
@@ -519,8 +504,9 @@ with tf.Session() as sess:
...
@@ -519,8 +504,9 @@ with tf.Session() as sess:
loss2_train_hist[i]=out_cost1
loss2_train_hist[i]=out_cost1
gtvar_train_hist[i]=gt_variance
gtvar_train_hist[i]=gt_variance
excepttf.errors.OutOfRangeError:
excepttf.errors.OutOfRangeError:
print("train done at step %d"%(i))
print("****** NO MORE DATA! train done at step %d"%(i))