Skip to content

Caltech101 - #255

Open
abergeron wants to merge 7 commits into
mila-iqia:masterfrom
abergeron:caltech101
Open

Caltech101#255
abergeron wants to merge 7 commits into
mila-iqia:masterfrom
abergeron:caltech101

Conversation

@abergeron

Copy link
Copy Markdown

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.

Copy link
Copy Markdown
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
Copy Markdown
Contributor

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

@vdumoulin

Copy link
Copy Markdown
Contributor

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

@abergeron

Copy link
Copy Markdown
Author

Is there much to do?

@vdumoulin

Copy link
Copy Markdown
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
Copy Markdown

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