Spaces:
Sleeping
Sleeping
Best Performing Model
Browse files- .gitattributes +1 -0
- .gitignore +2 -1
- app.py +1 -1
- generator_model_16of50_epochs_at_2023-04-16-23_53.pth → generator_model_epoch_94.pth +2 -2
- utils.py +1 -1
.gitattributes
CHANGED
@@ -34,3 +34,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
34 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
35 |
generator_model_25_epochs_at_2023-04-16-18_12.pth filter=lfs diff=lfs merge=lfs -text
|
36 |
generator_model_16of50_epochs_at_2023-04-16-23_53.pth filter=lfs diff=lfs merge=lfs -text
|
|
|
|
34 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
35 |
generator_model_25_epochs_at_2023-04-16-18_12.pth filter=lfs diff=lfs merge=lfs -text
|
36 |
generator_model_16of50_epochs_at_2023-04-16-23_53.pth filter=lfs diff=lfs merge=lfs -text
|
37 |
+
generator_model_epoch_94.pth filter=lfs diff=lfs merge=lfs -text
|
.gitignore
CHANGED
@@ -1,3 +1,4 @@
|
|
1 |
log.csv
|
2 |
flagged
|
3 |
-
__pycache__
|
|
|
|
1 |
log.csv
|
2 |
flagged
|
3 |
+
__pycache__
|
4 |
+
.DS_Store
|
app.py
CHANGED
@@ -4,7 +4,7 @@ from utils import load_model, generate_random_img
|
|
4 |
|
5 |
def generate_image():
|
6 |
with torch.no_grad():
|
7 |
-
model = load_model('generator', '
|
8 |
generated_image = generate_random_img(model)
|
9 |
return generated_image
|
10 |
|
|
|
4 |
|
5 |
def generate_image():
|
6 |
with torch.no_grad():
|
7 |
+
model = load_model('generator', 'generator_model_epoch_94.pth')
|
8 |
generated_image = generate_random_img(model)
|
9 |
return generated_image
|
10 |
|
generator_model_16of50_epochs_at_2023-04-16-23_53.pth → generator_model_epoch_94.pth
RENAMED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:16fd332be2bed132c3c42fcdac18e4bbcf0d2ed94de28f62b41efbc4b4dab7ba
|
3 |
+
size 51311551
|
utils.py
CHANGED
@@ -143,5 +143,5 @@ def generate_random_img(model):
|
|
143 |
return generated_image
|
144 |
|
145 |
if __name__ == "__main__":
|
146 |
-
model = load_model('generator','
|
147 |
generate_random_img(model)
|
|
|
143 |
return generated_image
|
144 |
|
145 |
if __name__ == "__main__":
|
146 |
+
model = load_model('generator','generator_model_epoch_94.pth)
|
147 |
generate_random_img(model)
|