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 progress bar in cal_mean_variance.ipynb #65

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion cal_mean_variance.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"import sys\n",
"import os\n",
"from os.path import join as pjoin\n",
"from tqdm import tqdm\n",
"\n",
"\n",
"# root_rot_velocity (B, seq_len, 1)\n",
Expand All @@ -23,7 +24,7 @@
" file_list = os.listdir(data_dir)\n",
" data_list = []\n",
"\n",
" for file in file_list:\n",
" for file in tqdm(file_list, desc='reading files'):\n",
" data = np.load(pjoin(data_dir, file))\n",
" if np.isnan(data).any():\n",
" print(file)\n",
Expand Down