fix: heatmap 验证索引

This commit is contained in:
unanmed 2026-04-07 22:57:52 +08:00
parent 3e898dc5ba
commit 5df14a3f3f

View File

@ -195,6 +195,8 @@ def train():
generated_img = matrix_to_image_cv(map.view(B, H, W)[0].cpu().numpy(), tile_dict)
cv2.imwrite(f"result/final_img/{idx}.png", generated_img)
idx += 1
# 3. 完全随机生成五张图
if args.use_maskgit:
for i in range(0, 5):