Skip to content

How to load the features from a dataset end-to-end? #15

Description

@mgh1

Hi Sergey - I noticed in /vislab/feature.py there is a compute command which appears to load the features. I'd just like to confirm the end-to-end procedure of adding my own dataset and getting features into the db.

So - follow the "Adding your own" section of the dataset documentation:

  1. Add the file vislab/datasets/your_dataset.py that will contain a function to load a pandas.DataFrame with:
  2. unique string-based index, with name image_id
  3. image_url or image_filename in columns
  4. a column for whatever boolean label you care about (does this matter if I am just extracting neural codes?)
  5. Modify DATASETS in vislab/dataset.py to map a name to your new function.
  6. Then finally, call feature.py compute from command line? (is feature.py the main entry point?)

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