Skip to content

How to load data to memnet model ? #38

@linrio

Description

@linrio

memnet.How to load data to memnet model ?

athom@43474be86119:~/fathom$ python fathom/memnet/memnet.py
/usr/local/lib/python2.7/dist-packages/sklearn/cross_validation.py:44: DeprecationWarning: This module was deprecated in version 0.18 in favor o
f the model_selection module into which all the refactored classes and functions are moved. Also note that the interface of the new CV iterators are different from that of this module. This module will be removed in 0.20.  "This module will be removed in 0.20.", DeprecationWarning)
libdc1394 error: Failed to initialize libdc1394
Traceback (most recent call last):
  File "fathom/memnet/memnet.py", line 269, in <module>
    m = MemNet()
  File "/home/fathom/fathom/fathom/nn.py", line 45, in __init__
    self.build()
  File "/home/fathom/fathom/fathom/nn.py", line 105, in build
    self.build_inputs()
  File "fathom/memnet/memnet.py", line 163, in build_inputs
    self.load_data() # TODO: get static numbers for the things that currently require loading and move this to run
  File "fathom/memnet/memnet.py", line 110, in load_data
    train, test = load_task(data_dir, task_id)
  File "/home/fathom/fathom/fathom/memnet/data_utils.py", line 18, in load_task
    train_file = [f for f in files if s in f and 'train' in f][0]
IndexError: list index out of range

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