This commit is contained in:
2022-06-16 16:45:21 +00:00
parent 81abb9141c
commit e712e456bc
6 changed files with 15 additions and 13 deletions
+3 -3
View File
@@ -9,7 +9,7 @@ from dataset import DatasetSimple
from load_models import load_generator
from tf_utils import allow_memory_growth
os.environ["CUDA_VISIBLE_DEVICES"] = "3"
os.environ["CUDA_VISIBLE_DEVICES"] = "0"
def m2uv_array(m2uv):
result = np.zeros((14475, 2), dtype=np.int32)
@@ -83,9 +83,9 @@ def main():
checkpoints = [
{
'res': 512,
'ckpt_dir': 'models/stylegan2-test-12-512x512',
'ckpt_dir': 'models/stylegan2-test-15-512x512',
'use_custom_cuda': True,
'folder': 'output/test-12-140000',
'folder': 'output/test-15-115000',
'data_folder': '/home/workspace/data/dataset/stylegan_new/train'
},
]