Skip to content

Commit

Permalink
no longer return extra images for classic relight + formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
zsxkib committed May 21, 2024
1 parent 541e6ed commit debe04e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions predict.py
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ def process_relight(
bg_source,
)
results = [(x * 255.0).clip(0, 255).astype(np.uint8) for x in results]
return results + extra_images
return results # + extra_images


@torch.inference_mode()
Expand Down Expand Up @@ -839,4 +839,4 @@ def predict(
Image.fromarray(img).save(img_path, **save_params)
output_paths.append(Path(img_path))

return output_paths
return output_paths[::-1]

0 comments on commit debe04e

Please sign in to comment.