From 7c44bc4b9a4d632616f95dd1f42aae99b1286055 Mon Sep 17 00:00:00 2001 From: chenxuanhong Date: Thu, 21 Apr 2022 22:43:21 +0800 Subject: [PATCH] Update test_options.py --- options/test_options.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/options/test_options.py b/options/test_options.py index bbbee5aa..5b43c9a7 100644 --- a/options/test_options.py +++ b/options/test_options.py @@ -15,7 +15,7 @@ def initialize(self): self.parser.add_argument('--results_dir', type=str, default='./results/', help='saves results here.') self.parser.add_argument('--aspect_ratio', type=float, default=1.0, help='aspect ratio of result images') self.parser.add_argument('--phase', type=str, default='test', help='train, val, test, etc') - self.parser.add_argument('--which_epoch', type=str, default='9900000', help='which epoch to load? set to latest to use latest cached model') + self.parser.add_argument('--which_epoch', type=str, default='latest', help='which epoch to load? set to latest to use latest cached model') self.parser.add_argument('--how_many', type=int, default=50, help='how many test images to run') self.parser.add_argument('--cluster_path', type=str, default='features_clustered_010.npy', help='the path for clustered results of encoded features') self.parser.add_argument('--use_encoded_image', action='store_true', help='if specified, encode the real image to get the feature map')