Caltech101 - #255
Open
abergeron wants to merge 7 commits into
Open
Conversation
…uch for some categories.
Contributor
There was a problem hiding this comment.
101 lines just for the CATEGORIES tuple is quite long, could we condense that?
Contributor
|
I think having a downloader would be very helpful for the dataset. |
Contributor
|
@abergeron I'm doing a cleanup of the open PRs. Would you still like to go ahead with this one? |
Author
|
Is there much to do? |
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. |
|
You might find this helpful: https://github.com/MartinThoma/algorithms/blob/master/ML/datasets/caltech101.py#L22-L37 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.