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

Help required to run the code with Egogesture dataset #108

Open
Prashant2717 opened this issue Jun 6, 2023 · 1 comment
Open

Help required to run the code with Egogesture dataset #108

Prashant2717 opened this issue Jun 6, 2023 · 1 comment

Comments

@Prashant2717
Copy link

Prashant2717 commented Jun 6, 2023

Hello @ahmetgunduz,

Is there any way I could get help on step by step guide to see how could I run this code with only EgoGesure Dataset?
I downloaded the whole code and Egogesture dataset, Ran the steps mentioned in the README file for Egogesture Preparation but I could not able to run the main.py. I'm using spyder IDE in Windows+GPU.

I'm having an error as:
Traceback (most recent call last):
File "C:\Users\PRASH\Project_3D_design\Real-time-GesRec-master\main.py", line 98, in
train_loader = torch.utils.data.DataLoader(
File "C:\Users\PRASH\anaconda3\envs\user_interface\lib\site-packages\torch\utils\data\dataloader.py", line 351, in init
sampler = RandomSampler(dataset, generator=generator) # type: ignore[arg-type]
File "C:\Users\PRASH\anaconda3\envs\user_interface\lib\site-packages\torch\utils\data\sampler.py", line 107, in init
raise ValueError("num_samples should be a positive integer "
ValueError: num_samples should be a positive integer value, but got num_samples=0

(user_interface) C:\Users\PRASH\Project_3D_design\Real-time-GesRec-master>

@Alex350123
Copy link

Hello @ahmetgunduz,

Is there any way I could get help on step by step guide to see how could I run this code with only EgoGesure Dataset? I downloaded the whole code and Egogesture dataset, Ran the steps mentioned in the README file for Egogesture Preparation but I could not able to run the main.py. I'm using spyder IDE in Windows+GPU.

I'm having an error as: Traceback (most recent call last): File "C:\Users\PRASH\Project_3D_design\Real-time-GesRec-master\main.py", line 98, in train_loader = torch.utils.data.DataLoader( File "C:\Users\PRASH\anaconda3\envs\user_interface\lib\site-packages\torch\utils\data\dataloader.py", line 351, in init sampler = RandomSampler(dataset, generator=generator) # type: ignore[arg-type] File "C:\Users\PRASH\anaconda3\envs\user_interface\lib\site-packages\torch\utils\data\sampler.py", line 107, in init raise ValueError("num_samples should be a positive integer " ValueError: num_samples should be a positive integer value, but got num_samples=0

(user_interface) C:\Users\PRASH\Project_3D_design\Real-time-GesRec-master>

Hello. I met the same problem here with this ValueError. May I know how it went with you and how you fix it?

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

No branches or pull requests

2 participants