ZhouZJ36DL commited on
Commit
1aafc08
·
1 Parent(s): dcb641e

modified: src/flux/math.py

Browse files
src/flux/__pycache__/__init__.cpython-310.pyc CHANGED
Binary files a/src/flux/__pycache__/__init__.cpython-310.pyc and b/src/flux/__pycache__/__init__.cpython-310.pyc differ
 
src/flux/__pycache__/_version.cpython-310.pyc CHANGED
Binary files a/src/flux/__pycache__/_version.cpython-310.pyc and b/src/flux/__pycache__/_version.cpython-310.pyc differ
 
src/flux/__pycache__/math.cpython-310.pyc CHANGED
Binary files a/src/flux/__pycache__/math.cpython-310.pyc and b/src/flux/__pycache__/math.cpython-310.pyc differ
 
src/flux/__pycache__/model.cpython-310.pyc CHANGED
Binary files a/src/flux/__pycache__/model.cpython-310.pyc and b/src/flux/__pycache__/model.cpython-310.pyc differ
 
src/flux/__pycache__/sampling.cpython-310.pyc CHANGED
Binary files a/src/flux/__pycache__/sampling.cpython-310.pyc and b/src/flux/__pycache__/sampling.cpython-310.pyc differ
 
src/flux/__pycache__/util.cpython-310.pyc CHANGED
Binary files a/src/flux/__pycache__/util.cpython-310.pyc and b/src/flux/__pycache__/util.cpython-310.pyc differ
 
src/flux/math.py CHANGED
@@ -145,8 +145,8 @@ def scaled_dot_product_attention(query, key, value, txt_shape, img_shape, cur_st
145
  mask_img[mask_img >= thre] = 1
146
  mask_img[mask_img < thre] = 0
147
  #save_image(mask_img.unsqueeze(0), save_path)
148
- print(f"[DEBUG] mask_img (after thresholding) unique values: {mask_img.unique().tolist()}")
149
- print(f"[DEBUG] mask_img (after thresholding) values:\n{mask_img}")
150
 
151
  mask_tensor = torch.zeros_like(mask_img) # Set mask_tensor as a zero tensor
152
  if cur_step > 3:
 
145
  mask_img[mask_img >= thre] = 1
146
  mask_img[mask_img < thre] = 0
147
  #save_image(mask_img.unsqueeze(0), save_path)
148
+ #print(f"[DEBUG] mask_img (after thresholding) unique values: {mask_img.unique().tolist()}")
149
+ #print(f"[DEBUG] mask_img (after thresholding) values:\n{mask_img}")
150
 
151
  mask_tensor = torch.zeros_like(mask_img) # Set mask_tensor as a zero tensor
152
  if cur_step > 3:
src/flux/modules/__pycache__/autoencoder.cpython-310.pyc CHANGED
Binary files a/src/flux/modules/__pycache__/autoencoder.cpython-310.pyc and b/src/flux/modules/__pycache__/autoencoder.cpython-310.pyc differ
 
src/flux/modules/__pycache__/conditioner.cpython-310.pyc CHANGED
Binary files a/src/flux/modules/__pycache__/conditioner.cpython-310.pyc and b/src/flux/modules/__pycache__/conditioner.cpython-310.pyc differ
 
src/flux/modules/__pycache__/layers.cpython-310.pyc CHANGED
Binary files a/src/flux/modules/__pycache__/layers.cpython-310.pyc and b/src/flux/modules/__pycache__/layers.cpython-310.pyc differ