HuseynG commited on
Commit
f0dda31
1 Parent(s): 1a83e0b

Best Performing Model

Browse files
.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', 'generator_model_16of50_epochs_at_2023-04-16-23_53.pth')
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:8126c99c84c96e0946b8abdbca511a0a369a52956d8abd923e365050b3d2f195
3
- size 51311597
 
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','generator_model_25_epochs_at_2023-04-16-18_12.pth')
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)