Error when attempting to Download Data

New project for OpenCap, which is a new software package to estimate 3D human movement dynamics from smartphone videos. OpenCap strongly relies on OpenSim.
POST REPLY
User avatar
Yeageon Song
Posts: 1
Joined: Thu May 20, 2021 10:03 am

Error when attempting to Download Data

Post by Yeageon Song » Fri Jun 02, 2023 6:48 am

Dear OpenCap team!
I hope this post finds you well.
I am unable to download the data from these two sessions:

4a2994fc-5ed2-454e-872c-d662bdc7a581

04e2b3b2-915d-48ad-9933-a45e33932cbc

When I try to download the data I get 502 Bad Gateway Error. Please may you look into what the problem might be?
Thank you!

Yeageon

User avatar
Scott Uhlrich
Posts: 125
Joined: Tue Jan 20, 2015 4:29 pm

Re: Error when attempting to Download Data

Post by Scott Uhlrich » Mon Jun 05, 2023 10:21 am

Hi Yeageon,

This happens when the dataset is too large--the connection with the server times out. We are about to launch a new way of downloading data over the web app that solves this problem (in the next 1-2 weeks).

In the meantime, you can reliably download data using this google collab notebook (https://github.com/stanfordnmbl/opencap ... load.ipynb), or just using a local python environment (https://github.com/stanfordnmbl/opencap ... ownload.py).

User avatar
Antoine Falisse
Posts: 439
Joined: Wed Jan 07, 2015 2:21 am

Re: Error when attempting to Download Data

Post by Antoine Falisse » Thu Jun 08, 2023 2:16 am

The new way of downloading data is live - please let us know if you still run into issues.

User avatar
Jeffrey Turner
Posts: 10
Joined: Wed Feb 08, 2023 6:59 am

Re: Error when attempting to Download Data

Post by Jeffrey Turner » Mon Jun 12, 2023 5:37 am

Antoine,
Is there a google colab notebook for reprocessing trials?

Thank you!

User avatar
Antoine Falisse
Posts: 439
Joined: Wed Jan 07, 2015 2:21 am

Re: Error when attempting to Download Data

Post by Antoine Falisse » Mon Jun 12, 2023 9:33 am

For reprocessing data locally, you should download the opencap-core repository and follow the instructions to install all the packages: https://github.com/stanfordnmbl/opencap-core

You can then use this script to reprocess a trial: https://github.com/stanfordnmbl/opencap ... essions.py

Feel free to ask for any questions,

Antoine

User avatar
Jeffrey Turner
Posts: 10
Joined: Wed Feb 08, 2023 6:59 am

Re: Error when attempting to Download Data

Post by Jeffrey Turner » Mon Jun 12, 2023 11:37 am

Will this work locally on MacBook Pro? I'm familiar with python, but primarily utilize google colab. So while I'm following the instructions for doing it locally there's some differences since it's written for Windows 10 users.Thanks for all the feedback!

User avatar
Antoine Falisse
Posts: 439
Joined: Wed Jan 07, 2015 2:21 am

Re: Error when attempting to Download Data

Post by Antoine Falisse » Tue Jun 13, 2023 12:27 am

Hey, to run the code on your MacBook, you will need to find a way to run OpenPose on macOS. A brief google search suggests that some people have managed to do it. For the rest, our code should not be platform-specific. Let us know if you run into specific issues. Antoine

User avatar
Vincent Zitte
Posts: 1
Joined: Mon Apr 24, 2023 6:07 am

Re: Error when attempting to Download Data

Post by Vincent Zitte » Tue Jun 20, 2023 5:29 am

Hi everyone, i'm having a similar issue with 2 sessions.

When i try to download data (multiples times since the sessions), i get a infinite "download in progress", and so no Data.zip button.

fbd4134e-472b-4840-98ca-fff1dffacf1f

b578207e-31ab-4753-a641-236984ce3c1d

I also want to know if there is a way to reprocess data online, in the cloud? That's simple curiosity.

Thanks you!

Vincent.

User avatar
Matt Palmer
Posts: 2
Joined: Tue Jun 20, 2023 5:52 am

Re: Error when attempting to Download Data

Post by Matt Palmer » Tue Jun 20, 2023 6:00 am

vincentzitte wrote:
Tue Jun 20, 2023 5:29 am
Hi everyone, i'm having a similar issue with 2 sessions.

When i try to download data (multiples times since the sessions), i get a infinite "download in progress", and so no Data.zip button.

fbd4134e-472b-4840-98ca-fff1dffacf1f

b578207e-31ab-4753-a641-236984ce3c1d

I also want to know if there is a way to reprocess data online, in the cloud? That's simple curiosity.

Thanks you!

Vincent.
I'm having the same infinite 'download in progress issue with data I collected 19/6/2023

10883a4b-9407-4f55-89a0-6b71a7147e6d

User avatar
Scott Uhlrich
Posts: 125
Joined: Tue Jan 20, 2015 4:29 pm

Re: Error when attempting to Download Data

Post by Scott Uhlrich » Tue Jun 20, 2023 10:07 pm

We'll look into the download problem. In the meantime, you can download data using the this notebook in google colab https://github.com/stanfordnmbl/opencap ... load.ipynb.

There's not a way to reprocess data through our web application. You can reprocess on a local machine with a decent GPU or a cloud instance (eg AWS EC2).

POST REPLY