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

Can't run DvsGestures example #20

Open
GiorgosAlexakis opened this issue Jul 17, 2021 · 3 comments
Open

Can't run DvsGestures example #20

GiorgosAlexakis opened this issue Jul 17, 2021 · 3 comments

Comments

@GiorgosAlexakis
Copy link

python train_lenet_decolle.py --params_file=parameters/params_dvsgestures_torchneuromorphic.yml
Saving results to logs/train_lenet_decolle/default/Jul17_18-05-01_george-System-Product-Name
/home/george/.local/lib/python3.8/site-packages/decolle-0.1-py3.8.egg/decolle/utils.py:122: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
The following files did not exist, will attempt download:
data/dvsgesture/raw
Using downloaded and verified file: data/dvsgesture/DvsGesture.tar.gz
Extracting data/dvsgesture/DvsGesture.tar.gz to data/dvsgesture/
Traceback (most recent call last):
File "train_lenet_decolle.py", line 39, in
gen_train, gen_test = create_data(chunk_size_train=params['chunk_size_train'],
File "/home/george/.local/lib/python3.8/site-packages/torchneuromorphic-0.3.4-py3.8.egg/torchneuromorphic/dvs_gestures/dvsgestures_dataloaders.py", line 166, in create_dataloader
File "/home/george/.local/lib/python3.8/site-packages/torchneuromorphic-0.3.4-py3.8.egg/torchneuromorphic/dvs_gestures/dvsgestures_dataloaders.py", line 59, in init
File "/home/george/.local/lib/python3.8/site-packages/torchneuromorphic-0.3.4-py3.8.egg/torchneuromorphic/neuromorphic_dataset.py", line 104, in init
File "/home/george/.local/lib/python3.8/site-packages/torchneuromorphic-0.3.4-py3.8.egg/torchneuromorphic/dvs_gestures/dvsgestures_dataloaders.py", line 76, in create_hdf5
File "/home/george/.local/lib/python3.8/site-packages/torchneuromorphic-0.3.4-py3.8.egg/torchneuromorphic/dvs_gestures/create_hdf5.py", line 23, in create_events_hdf5
File "/home/george/.local/lib/python3.8/site-packages/torchneuromorphic-0.3.4-py3.8.egg/torchneuromorphic/dvs_gestures/create_hdf5.py", line 72, in gather_aedat
FileNotFoundError: DVS Gestures Dataset not found, looked at: data/dvsgesture/raw

@GiorgosAlexakis
Copy link
Author

I figured the files had to be unzipped in the raw folder, but after that my pc completely freezes while running the script.

@weinman
Copy link

weinman commented Jul 20, 2021

@Looper2074 Have you determined what line the script may be stuck at? Assuming you got the files unzipped to the right place, it's perhaps somewhere within create_events_hdf5(here). You might try stepping through the code with pdb to figure out which part may be causing the trouble.

(It doesn't necessarily help you solve the problem, but I will say I was able to get this to run myself, so I can vouch that once you've downloaded the data it does work, even if it might take a while to process.)

@eneftci
Copy link
Member

eneftci commented Aug 2, 2021

I figured the files had to be unzipped in the raw folder, but after that my pc completely freezes while running the script.

The script constructs an hdf5 version of the dataset which may take a while. This is a torchneuromorphic issue though.

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

3 participants