From eb5efef844032b8978fa76a32721c95469147c41 Mon Sep 17 00:00:00 2001 From: Gourav Chowdhary Date: Mon, 18 Jan 2021 15:14:30 +0530 Subject: [PATCH] Update demo.py string.printable[:,-38] will keep 0-9, then a-z and A-Z as our opt.character --- demo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demo.py b/demo.py index 5314b4e..73a31e5 100755 --- a/demo.py +++ b/demo.py @@ -120,7 +120,7 @@ if __name__ == '__main__': """ vocab / character number configuration """ if opt.sensitive: - opt.character = string.printable[:-6] # same with ASTER setting (use 94 char). + opt.character = string.printable[:-38] # same with ASTER setting (use 94 char). cudnn.benchmark = True cudnn.deterministic = True