jamino30 commited on
Commit
f349f0e
·
verified ·
1 Parent(s): c5d8238

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. inference.py +1 -1
inference.py CHANGED
@@ -48,6 +48,6 @@ def inference(
48
 
49
  for iter in tqdm(range(iterations), desc='The magic is happening ✨'):
50
  optimizer.step(lambda: closure(iter))
51
- print(f'Loss ({iter+1}):', min_losses[iter])
52
 
53
  return generated_image
 
48
 
49
  for iter in tqdm(range(iterations), desc='The magic is happening ✨'):
50
  optimizer.step(lambda: closure(iter))
51
+ if iter % 10 == 0: print(f'Loss ({iter+1}):', min_losses[iter])
52
 
53
  return generated_image