Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add visualdl #137

Merged
merged 3 commits into from
Jun 2, 2020
Merged

add visualdl #137

merged 3 commits into from
Jun 2, 2020

Conversation

shippingwang
Copy link
Member

@shippingwang shippingwang commented May 29, 2020

This PR integrates VisualDL into PaddleClas
One can monitor statistics(loss, acc) in real time
a9cc067741ec8379fafd5a82b91405c1

tools/program.py Outdated
@@ -412,6 +415,10 @@ def run(dataloader, exe, program, fetchs, epoch=0, mode='train'):
metric_list[i].update(m[0], len(batch[0]))
fetchs_str = ''.join([str(m.value) + ' '
for m in metric_list] + [batch_time.value]) + 's'
if vdl_dir:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if vdl_dir -> if vdl_dir is not None ?

tools/train.py Outdated
parser.add_argument(
'--vdl_dir',
type=str,
default="scaler",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

default as None?

@@ -38,6 +39,11 @@ def parse_args():
type=str,
default='configs/ResNet/ResNet50.yaml',
help='config file path')
parser.add_argument(
'--vdl_dir',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

文档那块儿 是不是也得加一下这个args的

@shippingwang shippingwang merged commit f3b2e8a into PaddlePaddle:master Jun 2, 2020
HydrogenSulfate pushed a commit to HydrogenSulfate/PaddleClas that referenced this pull request Oct 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants