Spaces:
Sleeping
Sleeping
temp-9384289
commited on
Commit
•
360e2a9
1
Parent(s):
647ce28
latest models
Browse files- app.py +6 -5
- requirements.txt +2 -2
- tester/generation/1715264718.802596/generated_image.png +0 -0
- tester/generation/1715264828.068953/generated_image.png +0 -0
- tester/generation/1715265383.9873369/generated_image.png +0 -0
- tester/generation/1715265482.485308/generated_image.png +0 -0
- tester/generation/1715265482.485308/keeper.png +0 -0
- tester/generation/1715265482.485308/real_deal.png +0 -0
- tester/generation/1715265512.716904/generated_image.png +0 -0
- tester/generation/1715265512.716904/keeper.png +0 -0
- tester/generation/1715265512.716904/real_deal.png +0 -0
- tester/generation/1715265626.5170681/generated_image.png +0 -0
- tester/generation/1715265626.5170681/keeper.png +0 -0
- tester/generation/1715265626.5170681/real_deal.png +0 -0
- tester/generation/1715265637.8946948/generated_image.png +0 -0
- tester/generation/1715265637.8946948/keeper.png +0 -0
- tester/generation/1715265637.8946948/real_deal.png +0 -0
- tester/generation/1715265680.754011/generated_image.png +0 -0
- tester/generation/1715265680.754011/keeper.png +0 -0
- tester/generation/1715265680.754011/real_deal.png +0 -0
- tester/generation/1715266019.512448/generated_image.png +0 -0
- tester/generation/1715266087.702663/generated_image.png +0 -0
- tester/generation/1715266087.702663/keeper.png +0 -0
- tester/generation/1715266087.702663/real_deal.png +0 -0
app.py
CHANGED
@@ -22,6 +22,7 @@ modelieo=[
|
|
22 |
'nathanReitinger/MNIST-diffusion',
|
23 |
'nathanReitinger/MNIST-diffusion-oneImage',
|
24 |
'nathanReitinger/MNIST-diffusion-threeHundredImages',
|
|
|
25 |
'nathanReitinger/MNIST-GAN',
|
26 |
'nathanReitinger/MNIST-GAN-noDropout',
|
27 |
'nathanReitinger/FASHION-diffusion',
|
@@ -246,15 +247,15 @@ def TextToImage(Prompt,inference_steps, model):
|
|
246 |
ai_gen = Image.open(open(original_image, 'rb'))
|
247 |
training_data = Image.open(open(the_file, 'rb'))
|
248 |
|
249 |
-
another_one = (training_data, "RMSE: " + str(round(the_rmse,5) ))
|
250 |
|
251 |
return [ai_gen, another_one]
|
252 |
|
253 |
df = pd.DataFrame({
|
254 |
-
"Model" : ['MNIST-diffusion', 'MNIST-diffusion-oneImage', 'MNIST-diffusion-threeHundredImages', 'MNIST-GAN', 'MNIST-GAN-noDropout', 'FASHION-diffuion-oneImage', 'FASHION-diffusion'],
|
255 |
-
"Class (Architecture)" : ['UNet2DModel', 'UNet2DModel', 'UNet2DModel', 'Sequential', 'Sequential', 'UNet2DModel', 'UNet2DModel'],
|
256 |
-
"Dataset Examples" : [60000, 1, 300, 60000, 60000, 1, 60000],
|
257 |
-
"Notes" : ['
|
258 |
})
|
259 |
|
260 |
# Applying style to highlight the maximum value in each row
|
|
|
22 |
'nathanReitinger/MNIST-diffusion',
|
23 |
'nathanReitinger/MNIST-diffusion-oneImage',
|
24 |
'nathanReitinger/MNIST-diffusion-threeHundredImages',
|
25 |
+
'nathanReitinger/MNIST-diffusion-threeThousandImages',
|
26 |
'nathanReitinger/MNIST-GAN',
|
27 |
'nathanReitinger/MNIST-GAN-noDropout',
|
28 |
'nathanReitinger/FASHION-diffusion',
|
|
|
247 |
ai_gen = Image.open(open(original_image, 'rb'))
|
248 |
training_data = Image.open(open(the_file, 'rb'))
|
249 |
|
250 |
+
another_one = (training_data, "Training Data (RMSE: " + str(round(the_rmse,5) ) + ")")
|
251 |
|
252 |
return [ai_gen, another_one]
|
253 |
|
254 |
df = pd.DataFrame({
|
255 |
+
"Model" : ['MNIST-diffusion', 'MNIST-diffusion-oneImage', 'MNIST-diffusion-threeHundredImages', 'MNIST-diffusion-threeThousandImages', 'MNIST-GAN', 'MNIST-GAN-noDropout', 'FASHION-diffuion-oneImage', 'FASHION-diffusion'],
|
256 |
+
"Class (Architecture)" : ['UNet2DModel', 'UNet2DModel', 'UNet2DModel', 'UNet2DModel', 'Sequential', 'Sequential', 'UNet2DModel', 'UNet2DModel'],
|
257 |
+
"Dataset Examples" : [60000, 1, 300, 3000, 60000, 60000, 1, 60000],
|
258 |
+
"Notes" : ['similar architecture as Stable Diffusion, different training data', 'toy model, purposed to store protected content', 'testing toy model with slightly larger dataset', 'testing toy model with even more data', 'GANs are not as likely to store protected content', 'less dropout, more copying?', 'same diffusion, different data (more variance in data)','larger diffusion training data, on FASHION dataset']
|
259 |
})
|
260 |
|
261 |
# Applying style to highlight the maximum value in each row
|
requirements.txt
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
# Automatically generated by https://github.com/damnever/pigar.
|
2 |
|
3 |
diffusers==0.27.2
|
4 |
-
gradio==4.
|
5 |
huggingface-hub==0.22.2
|
6 |
image-similarity-measures==0.3.6
|
7 |
matplotlib==3.8.4
|
@@ -9,6 +9,6 @@ numpy==1.25.2
|
|
9 |
pandas==2.2.2
|
10 |
pillow==10.3.0
|
11 |
requests==2.31.0
|
12 |
-
tensorflow==2.
|
13 |
torch==2.2.2
|
14 |
transformers==4.40.1
|
|
|
1 |
# Automatically generated by https://github.com/damnever/pigar.
|
2 |
|
3 |
diffusers==0.27.2
|
4 |
+
gradio==4.29.0
|
5 |
huggingface-hub==0.22.2
|
6 |
image-similarity-measures==0.3.6
|
7 |
matplotlib==3.8.4
|
|
|
9 |
pandas==2.2.2
|
10 |
pillow==10.3.0
|
11 |
requests==2.31.0
|
12 |
+
tensorflow==2.16.1
|
13 |
torch==2.2.2
|
14 |
transformers==4.40.1
|
tester/generation/1715264718.802596/generated_image.png
ADDED
tester/generation/1715264828.068953/generated_image.png
ADDED
tester/generation/1715265383.9873369/generated_image.png
ADDED
tester/generation/1715265482.485308/generated_image.png
ADDED
tester/generation/1715265482.485308/keeper.png
ADDED
tester/generation/1715265482.485308/real_deal.png
ADDED
tester/generation/1715265512.716904/generated_image.png
ADDED
tester/generation/1715265512.716904/keeper.png
ADDED
tester/generation/1715265512.716904/real_deal.png
ADDED
tester/generation/1715265626.5170681/generated_image.png
ADDED
tester/generation/1715265626.5170681/keeper.png
ADDED
tester/generation/1715265626.5170681/real_deal.png
ADDED
tester/generation/1715265637.8946948/generated_image.png
ADDED
tester/generation/1715265637.8946948/keeper.png
ADDED
tester/generation/1715265637.8946948/real_deal.png
ADDED
tester/generation/1715265680.754011/generated_image.png
ADDED
tester/generation/1715265680.754011/keeper.png
ADDED
tester/generation/1715265680.754011/real_deal.png
ADDED
tester/generation/1715266019.512448/generated_image.png
ADDED
tester/generation/1715266087.702663/generated_image.png
ADDED
tester/generation/1715266087.702663/keeper.png
ADDED
tester/generation/1715266087.702663/real_deal.png
ADDED