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

AttributeError: 'TaxiBJTrainer' object has no attribute 'data' #2

Open
ucalyptus opened this issue Feb 17, 2020 · 3 comments
Open

AttributeError: 'TaxiBJTrainer' object has no attribute 'data' #2

ucalyptus opened this issue Feb 17, 2020 · 3 comments

Comments

@ucalyptus
Copy link

Link to notebook
Click here

Steps to reproduce this issue:
1.cd /content/E3D-LSTM/src/
2.sys.path.append('/content/E3D-LSTM/src')
3. !python -m trainer

Error Stack Trace
Traceback (most recent call last): File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) File "/usr/lib/python3.6/runpy.py", line 85, in _run_code exec(code, run_globals) File "/content/E3D-LSTM/src/trainer.py", line 177, in <module> trainer.resume_train() File "/content/E3D-LSTM/src/trainer.py", line 132, in resume_train train_dataloader = self.get_trainloader(self.data[:-672]) File "/usr/local/lib/python3.6/dist-packages/torch/nn/modules/module.py", line 576, in __getattr__ type(self).__name__, name)) AttributeError: 'TaxiBJTrainer' object has no attribute 'data'

@ucalyptus
Copy link
Author

cc: @metrofun

@YutianPangASU
Copy link

I was having the same issue as yours. Please check your version capability of package h5py. For instance, make sure the utils.h5_virtual_file() function works smoothly on your machine.

@ucalyptus
Copy link
Author

@ypang6 I see, it's been a long time since trying out this proj. will try and let u know

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