Skip to content

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

@ucalyptus

Description

@ucalyptus

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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions