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

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

Open
mgh1 opened this issue Sep 15, 2014 · 0 comments
Open

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

mgh1 opened this issue Sep 15, 2014 · 0 comments

Comments

@mgh1
Copy link

mgh1 commented Sep 15, 2014

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?)
@mgh1 mgh1 changed the title How to load the Mongo database with features from a dataset? How to load the features from a dataset end-to-end? Sep 15, 2014
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

1 participant