Add COCO dataset
COLLABORATOR
The CI failures other than a missing dummy data file and missing fields in the card are unrelated to this PR. 
2021-12-21T14:12:25Z
https://github.com/huggingface/datasets/pull/3468#issuecomment-998811733
https://api.github.com/repos/huggingface/datasets/issues/3468
IC_kwDODunzps47iKhV
https://api.github.com/repos/huggingface/datasets/issues/comments/998811733/reactions
2021-12-21T14:13:14Z
https://api.github.com/repos/huggingface/datasets/issues/comments/998811733
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
CONTRIBUTOR
Thanks a lot for this great work and fixing TFDS based script @mariosasko 🤗 will generate the dummy dataset and write the model card tomorrow!
2021-12-21T16:32:58Z
https://github.com/huggingface/datasets/pull/3468#issuecomment-998924321
https://api.github.com/repos/huggingface/datasets/issues/3468
IC_kwDODunzps47imAh
https://api.github.com/repos/huggingface/datasets/issues/comments/998924321/reactions
2021-12-21T16:32:58Z
https://api.github.com/repos/huggingface/datasets/issues/comments/998924321
https://avatars.githubusercontent.com/u/53175384?v=4
https://api.github.com/users/merveenoyan/events{/privacy}
https://api.github.com/users/merveenoyan/followers
https://api.github.com/users/merveenoyan/following{/other_user}
https://api.github.com/users/merveenoyan/gists{/gist_id}
https://github.com/merveenoyan
merveenoyan
MDQ6VXNlcjUzMTc1Mzg0
https://api.github.com/users/merveenoyan/orgs
https://api.github.com/users/merveenoyan/received_events
https://api.github.com/users/merveenoyan/repos
https://api.github.com/users/merveenoyan/starred{/owner}{/repo}
https://api.github.com/users/merveenoyan/subscriptions
User
https://api.github.com/users/merveenoyan
public
CONTRIBUTOR
@mariosasko I added the dataset card, I'm on the dummy data rn. 
2021-12-22T14:27:15Z
https://github.com/huggingface/datasets/pull/3468#issuecomment-999616862
https://api.github.com/repos/huggingface/datasets/issues/3468
IC_kwDODunzps47lPFe
https://api.github.com/repos/huggingface/datasets/issues/comments/999616862/reactions
2021-12-22T14:27:15Z
https://api.github.com/repos/huggingface/datasets/issues/comments/999616862
https://avatars.githubusercontent.com/u/53175384?v=4
https://api.github.com/users/merveenoyan/events{/privacy}
https://api.github.com/users/merveenoyan/followers
https://api.github.com/users/merveenoyan/following{/other_user}
https://api.github.com/users/merveenoyan/gists{/gist_id}
https://github.com/merveenoyan
merveenoyan
MDQ6VXNlcjUzMTc1Mzg0
https://api.github.com/users/merveenoyan/orgs
https://api.github.com/users/merveenoyan/received_events
https://api.github.com/users/merveenoyan/repos
https://api.github.com/users/merveenoyan/starred{/owner}{/repo}
https://api.github.com/users/merveenoyan/subscriptions
User
https://api.github.com/users/merveenoyan
public
COLLABORATOR
@merveenoyan Let me know if you need any help with the dummy data.

I plan to split the current script/dataset into 4 smaller scripts/datasets to make sure they are properly indexed by Papers With Code later on. In this format:
* the `*_image_captioning` configs will form the [COCO Captions](https://paperswithcode.com/sota/image-captioning-on-coco-captions) dataset (also present in TFDS, but only the 2017 version)
* the `stuff_segmentation` config will form the [COCO Stuff](https://paperswithcode.com/dataset/coco-stuff) dataset
* the `desnepose` config will form the [DensePose-COCO](https://paperswithcode.com/dataset/densepose) dataset
* the rest will be [COCO](https://paperswithcode.com/dataset/coco) (+ will add the `minival` and the `valminusminival` splits to COCO 2014)

Also, if I find the time, I'll add preprocessing examples that rely on `pycocotools` to the README files.
2022-01-03T14:22:05Z
https://github.com/huggingface/datasets/pull/3468#issuecomment-1004125951
https://api.github.com/repos/huggingface/datasets/issues/3468
IC_kwDODunzps472b7_
https://api.github.com/repos/huggingface/datasets/issues/comments/1004125951/reactions
2022-01-03T14:22:05Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1004125951
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
CONTRIBUTOR
@mariosasko I feel like we can just push main COCO and add Captions + Stuff later, WDYT?
2022-04-04T12:41:10Z
https://github.com/huggingface/datasets/pull/3468#issuecomment-1087505208
https://api.github.com/repos/huggingface/datasets/issues/3468
IC_kwDODunzps5A0gM4
https://api.github.com/repos/huggingface/datasets/issues/comments/1087505208/reactions
2022-04-04T12:41:10Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1087505208
https://avatars.githubusercontent.com/u/53175384?v=4
https://api.github.com/users/merveenoyan/events{/privacy}
https://api.github.com/users/merveenoyan/followers
https://api.github.com/users/merveenoyan/following{/other_user}
https://api.github.com/users/merveenoyan/gists{/gist_id}
https://github.com/merveenoyan
merveenoyan
MDQ6VXNlcjUzMTc1Mzg0
https://api.github.com/users/merveenoyan/orgs
https://api.github.com/users/merveenoyan/received_events
https://api.github.com/users/merveenoyan/repos
https://api.github.com/users/merveenoyan/starred{/owner}{/repo}
https://api.github.com/users/merveenoyan/subscriptions
User
https://api.github.com/users/merveenoyan
public
NONE
_The documentation is not available anymore as the PR was closed or merged._
2022-09-06T16:12:36Z
https://github.com/huggingface/datasets/pull/3468#issuecomment-1238362164
https://api.github.com/repos/huggingface/datasets/issues/3468
IC_kwDODunzps5Jz-g0
https://api.github.com/repos/huggingface/datasets/issues/comments/1238362164/reactions
2022-10-03T09:38:07Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1238362164
https://avatars.githubusercontent.com/u/99929124?v=4
https://api.github.com/users/HuggingFaceDocBuilderDev/events{/privacy}
https://api.github.com/users/HuggingFaceDocBuilderDev/followers
https://api.github.com/users/HuggingFaceDocBuilderDev/following{/other_user}
https://api.github.com/users/HuggingFaceDocBuilderDev/gists{/gist_id}
https://github.com/HuggingFaceDocBuilderDev
HuggingFaceDocBuilderDev
U_kgDOBfTMJA
https://api.github.com/users/HuggingFaceDocBuilderDev/orgs
https://api.github.com/users/HuggingFaceDocBuilderDev/received_events
https://api.github.com/users/HuggingFaceDocBuilderDev/repos
https://api.github.com/users/HuggingFaceDocBuilderDev/starred{/owner}{/repo}
https://api.github.com/users/HuggingFaceDocBuilderDev/subscriptions
User
https://api.github.com/users/HuggingFaceDocBuilderDev
public
MEMBER
Thanks for your contribution, @mariosasko and @merveenoyan. Are you still interested in adding this dataset?

We are removing the dataset scripts from this GitHub repo and moving them to the Hugging Face Hub: https://huggingface.co/datasets

We would suggest you create this dataset there. Please, feel free to tell us if you need some help.
2022-09-30T14:43:04Z
https://github.com/huggingface/datasets/pull/3468#issuecomment-1263666885
https://api.github.com/repos/huggingface/datasets/issues/3468
IC_kwDODunzps5LUgbF
https://api.github.com/repos/huggingface/datasets/issues/comments/1263666885/reactions
2022-09-30T14:43:04Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1263666885
https://avatars.githubusercontent.com/u/8515462?v=4
https://api.github.com/users/albertvillanova/events{/privacy}
https://api.github.com/users/albertvillanova/followers
https://api.github.com/users/albertvillanova/following{/other_user}
https://api.github.com/users/albertvillanova/gists{/gist_id}
https://github.com/albertvillanova
albertvillanova
MDQ6VXNlcjg1MTU0NjI=
https://api.github.com/users/albertvillanova/orgs
https://api.github.com/users/albertvillanova/received_events
https://api.github.com/users/albertvillanova/repos
https://api.github.com/users/albertvillanova/starred{/owner}{/repo}
https://api.github.com/users/albertvillanova/subscriptions
User
https://api.github.com/users/albertvillanova
public
This PR adds the MS COCO dataset. Compared to the [TFDS](https://github.com/tensorflow/datasets/blob/master/tensorflow_datasets/object_detection/coco.py) script, this implementation adds 8 additional configs to cover the tasks other than object detection.

Some notes:
* the data exposed by TFDS is contained in the `2014`, `2015`, `2017` and `2017_panoptic_segmentation` configs here
* I've updated `encode_nested_example` for easier handling of missing values (cc @lhoestq @albertvillanova; will add tests if you are OK with the changes in `features.py`)
* this implementation should fix https://github.com/huggingface/datasets/pull/3377#issuecomment-985559427

TODOs:
- [x] dataset card
- [ ] dummy data

cc @merveenoyan 

Closes #2526 