diff --git a/demo.py b/demo.py index 5314b4e8c9..73a31e557e 100755 --- a/demo.py +++ b/demo.py @@ -120,7 +120,7 @@ def demo(opt): """ 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