Adapt image datasets
COLLABORATOR
This PR can be merged after #3163 is merged (this PR is pretty big because I was working on the forked branch).

@lhoestq @albertvillanova Could you please take a look at the changes in `src/datasets/utils/streaming_download_manager.py`? These changes were required to support streaming of the `cats_vs_dogs` and the `beans` datasets.
2021-12-06T16:39:24Z
https://github.com/huggingface/datasets/pull/3362#issuecomment-986948876
https://api.github.com/repos/huggingface/datasets/issues/3362
IC_kwDODunzps4606UM
https://api.github.com/repos/huggingface/datasets/issues/comments/986948876/reactions
2021-12-07T14:23:51Z
https://api.github.com/repos/huggingface/datasets/issues/comments/986948876
https://avatars.githubusercontent.com/u/47462742?v=4
https://api.github.com/users/mariosasko/events{/privacy}
https://api.github.com/users/mariosasko/followers
https://api.github.com/users/mariosasko/following{/other_user}
https://api.github.com/users/mariosasko/gists{/gist_id}
https://github.com/mariosasko
mariosasko
MDQ6VXNlcjQ3NDYyNzQy
https://api.github.com/users/mariosasko/orgs
https://api.github.com/users/mariosasko/received_events
https://api.github.com/users/mariosasko/repos
https://api.github.com/users/mariosasko/starred{/owner}{/repo}
https://api.github.com/users/mariosasko/subscriptions
User
https://api.github.com/users/mariosasko
public
COLLABORATOR
The CI failures are due to the missing fields in the README files.
2021-12-07T14:25:34Z
https://github.com/huggingface/datasets/pull/3362#issuecomment-987974388
https://api.github.com/repos/huggingface/datasets/issues/3362
IC_kwDODunzps4640r0
https://api.github.com/repos/huggingface/datasets/issues/comments/987974388/reactions
2021-12-07T14:25:34Z
https://api.github.com/repos/huggingface/datasets/issues/comments/987974388
https://avatars.githubusercontent.com/u/47462742?v=4
https://api.github.com/users/mariosasko/events{/privacy}
https://api.github.com/users/mariosasko/followers
https://api.github.com/users/mariosasko/following{/other_user}
https://api.github.com/users/mariosasko/gists{/gist_id}
https://github.com/mariosasko
mariosasko
MDQ6VXNlcjQ3NDYyNzQy
https://api.github.com/users/mariosasko/orgs
https://api.github.com/users/mariosasko/received_events
https://api.github.com/users/mariosasko/repos
https://api.github.com/users/mariosasko/starred{/owner}{/repo}
https://api.github.com/users/mariosasko/subscriptions
User
https://api.github.com/users/mariosasko
public
MEMBER
and thanks for adding support for Path.name and Path.parent for streaming :)
2021-12-09T17:44:56Z
https://github.com/huggingface/datasets/pull/3362#issuecomment-990076446
https://api.github.com/repos/huggingface/datasets/issues/3362
IC_kwDODunzps47A14e
https://api.github.com/repos/huggingface/datasets/issues/comments/990076446/reactions
2021-12-09T17:44:56Z
https://api.github.com/repos/huggingface/datasets/issues/comments/990076446
https://avatars.githubusercontent.com/u/42851186?v=4
https://api.github.com/users/lhoestq/events{/privacy}
https://api.github.com/users/lhoestq/followers
https://api.github.com/users/lhoestq/following{/other_user}
https://api.github.com/users/lhoestq/gists{/gist_id}
https://github.com/lhoestq
lhoestq
MDQ6VXNlcjQyODUxMTg2
https://api.github.com/users/lhoestq/orgs
https://api.github.com/users/lhoestq/received_events
https://api.github.com/users/lhoestq/repos
https://api.github.com/users/lhoestq/starred{/owner}{/repo}
https://api.github.com/users/lhoestq/subscriptions
User
https://api.github.com/users/lhoestq
public
This PR:
* adapts the ImageClassification template to use the new Image feature
* adapts the following datasets to use the new Image feature:
  * beans (+ fixes streaming)
  * cast_vs_dogs (+ fixes streaming)
  * cifar10
  * cifar100
  * fashion_mnist
  * mnist
  * head_qa

cc @nateraw