Skip to content

Commit

Permalink
issue activeloopai#106 MPII Human Pose Dataset example added, fixed b…
Browse files Browse the repository at this point in the history
…uild issues
  • Loading branch information
sanchitvj committed Nov 1, 2020
1 parent 4c62896 commit 3f2d14d
Showing 1 changed file with 7 additions and 12 deletions.
19 changes: 7 additions & 12 deletions examples/MPII Human Pose Dataset/mpii_data_upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,15 +119,10 @@ def load_dataset():

return ds

def main():

t1 = time.time()
# Call the load_dataset function to generate the complete dataset
ds = load_dataset()
# ds.store stores the dataset in "username/MPII_Human_Pose_Dataset"
ds.store("MPII_Human_Pose_Dataset")
t2 = time.time()
logger.info(f"Pipeline took {(t2 - t1) / 60} minutes")

if __name__ == "__main__":
main()
t1 = time.time()
# Call the load_dataset function to generate the complete dataset
ds = load_dataset()
# ds.store stores the dataset in "username/MPII_Human_Pose_Dataset"
ds.store("MPII_Human_Pose_Dataset")
t2 = time.time()
logger.info(f"Pipeline took {(t2 - t1) / 60} minutes")

0 comments on commit 3f2d14d

Please sign in to comment.