diff --git a/README.cn.md b/README.cn.md index 5ced6f86e76e00ad3aea81454d4302db92583760..5da482d5943664a9bc4920e890c9c113f5d12e6f 100644 --- a/README.cn.md +++ b/README.cn.md @@ -75,7 +75,7 @@ import random from visualdl import LogWriter logdir = "./tmp" -logger = LogWriter(dir, sync_cycle=10) +logger = LogWriter(logdir, sync_cycle=10) # mark the components with 'train' label. with logger.mode("train"): diff --git a/README.md b/README.md index f6d808186b7a42553442223072aa18b538e7c760..14295259993f60a674d841085a94bcf6098264d0 100644 --- a/README.md +++ b/README.md @@ -84,7 +84,7 @@ import random from visualdl import LogWriter logdir = "./tmp" -logger = LogWriter(dir, sync_cycle=10) +logger = LogWriter(logdir, sync_cycle=10) # mark the components with 'train' label. with logger.mode("train"):