This commit is contained in:
chenxuanhong
2022-02-15 14:07:24 +08:00
parent 25ebb991d0
commit d82e46f0e7
4 changed files with 220 additions and 13 deletions
+5 -4
View File
@@ -5,7 +5,7 @@
# Created Date: Sunday February 13th 2022
# Author: Chen Xuanhong
# Email: chenxuanhongzju@outlook.com
# Last Modified: Monday, 14th February 2022 11:35:11 pm
# Last Modified: Tuesday, 15th February 2022 12:52:53 pm
# Modified By: Chen Xuanhong
# Copyright (c) 2022 Shanghai Jiao Tong University
#############################################################
@@ -21,16 +21,17 @@ from thop import clever_format
if __name__ == '__main__':
script = "Generator_modulation_depthwise"
script = "Generator_modulation_depthwise_config"
class_name = "Generator"
arcface_ckpt= "arcface_ckpt/arcface_checkpoint.tar"
model_config={
"g_conv_dim": 512,
"id_dim": 512,
"g_kernel_size": 3,
"in_channel":64,
"in_channel":16,
"res_num": 9
}
os.environ['CUDA_VISIBLE_DEVICES'] = str(0)
print("GPU used : ", os.environ['CUDA_VISIBLE_DEVICES'])