Bill Ton Hoang Nguyen commited on
Commit
48ea617
1 Parent(s): d658cc4
Files changed (2) hide show
  1. app.py +1 -1
  2. models/wrappers.py +2 -2
app.py CHANGED
@@ -15,7 +15,7 @@ import nltk
15
  nltk.download('wordnet')
16
 
17
  # @title Load Model
18
- selected_model = 'landshapes-v1'
19
 
20
  # Load model
21
 
 
15
  nltk.download('wordnet')
16
 
17
  # @title Load Model
18
+ selected_model = 'landshapes-v2'
19
 
20
  # Load model
21
 
models/wrappers.py CHANGED
@@ -109,7 +109,7 @@ class StyleGAN2(BaseModel):
109
  # Image widths
110
  configs = {
111
  # Converted NVIDIA official
112
- 'landshapes-v1': 1024,
113
  'antarctica': 1024,
114
  'ffhq': 1024,
115
  'car': 512,
@@ -144,7 +144,7 @@ class StyleGAN2(BaseModel):
144
  # URLs created with https://sites.google.com/site/gdocs2direct/
145
  def download_checkpoint(self, outfile):
146
  checkpoints = {
147
- 'landshapes-v1': 'https://drive.google.com/uc?export=download&id=1cvnfOyQPPL6ccWKHmmtBIabeZ7xZyDJ9',
148
  'antarctica': 'https://drive.google.com/uc?export=download&id=1IGxfa-TLZDgnPsctUzJ7rYyLiFr4cY2M',
149
  'horse': 'https://drive.google.com/uc?export=download&id=18SkqWAkgt0fIwDEf2pqeaenNi4OoCo-0',
150
  'ffhq': 'https://drive.google.com/uc?export=download&id=1FJRwzAkV-XWbxgTwxEmEACvuqF5DsBiV',
 
109
  # Image widths
110
  configs = {
111
  # Converted NVIDIA official
112
+ 'landshapes-v2': 1024,
113
  'antarctica': 1024,
114
  'ffhq': 1024,
115
  'car': 512,
 
144
  # URLs created with https://sites.google.com/site/gdocs2direct/
145
  def download_checkpoint(self, outfile):
146
  checkpoints = {
147
+ 'landshapes-v2': 'https://drive.google.com/uc?export=download&id=1c5XOjMqaCs4nQ4pAsC653WdAijPSUd_5',
148
  'antarctica': 'https://drive.google.com/uc?export=download&id=1IGxfa-TLZDgnPsctUzJ7rYyLiFr4cY2M',
149
  'horse': 'https://drive.google.com/uc?export=download&id=18SkqWAkgt0fIwDEf2pqeaenNi4OoCo-0',
150
  'ffhq': 'https://drive.google.com/uc?export=download&id=1FJRwzAkV-XWbxgTwxEmEACvuqF5DsBiV',