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

Caltech101 #255

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

Caltech101 #255

wants to merge 7 commits into from

Conversation

abergeron
Copy link

This is a converter and a loader for caltech101, which could be useful for some other people.

It might lack a bit of the polish that other datasets have, but it could be useful, at least as a starting point.

There is no downloader and I couldn't figure out how to get scipy to read from an open file.

If you have ideas on how to improve that don't necessitate a long time investment, I can probably do it. Otherwise, this is mostly to avoid duplication of effort in case someone else is working on this.


from fuel.converters.base import fill_hdf5_file, MissingInputFiles

CATEGORIES = (
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

101 lines just for the CATEGORIES tuple is quite long, could we condense that?

@vdumoulin
Copy link
Contributor

I think having a downloader would be very helpful for the dataset.

@vdumoulin
Copy link
Contributor

@abergeron I'm doing a cleanup of the open PRs. Would you still like to go ahead with this one?

@abergeron
Copy link
Author

Is there much to do?

@vdumoulin
Copy link
Contributor

Aside from my inline comments, we would need a downloader for the dataset, and we would also need to make this a variable-length dataset.

I think you could reuse a lot of code from the Imagenet converter if you encode images as a variable-length vector of raw bytes.

@MartinThoma
Copy link

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

Successfully merging this pull request may close these issues.

3 participants