Skip to content

Commit

Permalink
style: add endline after progress bar
Browse files Browse the repository at this point in the history
  • Loading branch information
hejm37 committed Jul 21, 2020
1 parent 7bebd31 commit f9392a7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion demo/matting_tutorial.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1266,6 +1266,7 @@
"eval_config.pop('save_path', None)\n",
"\n",
"eval_res = dataset.evaluate(outputs, **eval_config)\n",
"print() # endline of progress bar\n",
"for name, val in eval_res.items():\n",
" print(f'{name}: {val:.04f}')"
],
Expand All @@ -1274,7 +1275,8 @@
{
"output_type": "stream",
"text": [
"[>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>] 7/7, 2.1 task/s, elapsed: 3s, ETA: 0sSAD: 4.4633\n",
"[>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>] 7/7, 2.1 task/s, elapsed: 3s, ETA: 0s\n",
"SAD: 4.4633\n",
"MSE: 0.0152\n",
"GRAD: 7.0763\n",
"CONN: 4.1098\n"
Expand Down

0 comments on commit f9392a7

Please sign in to comment.