mirror of
https://github.com/iperov/DeepFaceLab.git
synced 2025-08-24 07:06:20 -07:00
fix: create_preview_pane_image
This commit is contained in:
parent
a533ec4310
commit
2320fed26b
1 changed files with 3 additions and 1 deletions
|
@ -308,7 +308,9 @@ def create_preview_pane_image(previews, selected_preview, loss_history,
|
||||||
else:
|
else:
|
||||||
loss_history_to_show = loss_history[-show_last_history_iters_count:]
|
loss_history_to_show = loss_history[-show_last_history_iters_count:]
|
||||||
lh_height = int(100 * zoom.scale)
|
lh_height = int(100 * zoom.scale)
|
||||||
lh_img = models.ModelBase.get_loss_history_preview(loss_history_to_show, iteration, batch_size, w, c, lh_height)
|
# FIXME: investigate old behavior (batch_size, lh_height)
|
||||||
|
# lh_img = models.ModelBase.get_loss_history_preview(loss_history_to_show, iteration, batch_size, w, c, lh_height)
|
||||||
|
lh_img = models.ModelBase.get_loss_history_preview(loss_history_to_show, iteration, w, c)
|
||||||
final = np.concatenate([final, lh_img], axis=0)
|
final = np.concatenate([final, lh_img], axis=0)
|
||||||
|
|
||||||
final = np.concatenate([final, selected_preview_rgb], axis=0)
|
final = np.concatenate([final, selected_preview_rgb], axis=0)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue