summaryrefslogtreecommitdiff
path: root/scripts/train_1024p_feat_12G.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/train_1024p_feat_12G.sh')
-rwxr-xr-xscripts/train_1024p_feat_12G.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/train_1024p_feat_12G.sh b/scripts/train_1024p_feat_12G.sh
new file mode 100755
index 0000000..f8e3d61
--- /dev/null
+++ b/scripts/train_1024p_feat_12G.sh
@@ -0,0 +1,6 @@
+############## To train images at 2048 x 1024 resolution after training 1024 x 512 resolution models #############
+##### Using GPUs with 12G memory (not tested)
+# First precompute feature maps and save them
+python precompute_feature_maps.py --name label2city_512p_feat;
+# Adding instances and encoded features
+python train.py --name label2city_1024p_feat --netG local --ngf 32 --num_D 3 --load_pretrain checkpoints/label2city_512p_feat/ --niter_fix_global 20 --resize_or_crop crop --fineSize 896 --instance_feat --load_features \ No newline at end of file