We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4716be commit c191336Copy full SHA for c191336
example/sdxl/inference.py
@@ -127,6 +127,6 @@ def nrmse(source, target):
127
return 1 - rmse / 255
128
129
if args.accuracy:
130
- source = np.array(Image.open("castle.png"))
+ source = np.array(images[0])
131
target = np.array(Image.open("target.png"))
132
print("RMSE accuracy is: {:.3f}".format(nrmse(source, target)), file=sys.stderr)
example/stable_diffusion/jax_stable.py
@@ -111,6 +111,6 @@ def nrmse(source, target):
111
112
113
114
- source = np.array(Image.open("img.png"))
115
116
0 commit comments