Datasets:
Tasks:
Tabular Classification
Formats:
parquet
Sub-tasks:
tabular-multi-class-classification
Size:
100K - 1M
License:
Commit ·
6b6c51b
1
Parent(s): 7442303
Replace dataset with FranceCrops v1 release (#5)
Browse files- Replace dataset with FranceCrops v1 release (30fa0b31d25ac3bb9d13d93d432ed1527caf0e0b)
- .gitattributes +5 -58
- LICENSE +396 -0
- README.md +350 -44
- train/data-00000-of-00004.arrow → assets/low_label_curves.png +2 -2
- train/data-00001-of-00004.arrow → assets/protocol_spatial_splits_proposed.png +2 -2
- data/benchmark/test_centre_val_de_loire.parquet +3 -0
- data/benchmark/test_france.parquet +3 -0
- data/benchmark/train.parquet +3 -0
- train/data-00002-of-00004.arrow → data/benchmark/validation.parquet +2 -2
- data/geolocation/README.md +66 -0
- train/data-00003-of-00004.arrow → data/geolocation/geolocation.parquet +2 -2
- data/pretraining/.gitkeep +0 -0
- data/protocol/class_map.parquet +3 -0
- data/protocol/metadata.parquet +3 -0
- data/protocol/normalization.parquet +3 -0
- data/protocol/train_subsets.parquet +3 -0
- train/dataset_info.json +0 -48
- train/state.json +0 -22
.gitattributes
CHANGED
|
@@ -1,59 +1,6 @@
|
|
| 1 |
-
*.7z filter=lfs diff=lfs merge=lfs -text
|
| 2 |
-
*.arrow filter=lfs diff=lfs merge=lfs -text
|
| 3 |
-
*.bin filter=lfs diff=lfs merge=lfs -text
|
| 4 |
-
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
| 5 |
-
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
| 6 |
-
*.ftz filter=lfs diff=lfs merge=lfs -text
|
| 7 |
-
*.gz filter=lfs diff=lfs merge=lfs -text
|
| 8 |
-
*.h5 filter=lfs diff=lfs merge=lfs -text
|
| 9 |
-
*.joblib filter=lfs diff=lfs merge=lfs -text
|
| 10 |
-
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
| 11 |
-
*.lz4 filter=lfs diff=lfs merge=lfs -text
|
| 12 |
-
*.mds filter=lfs diff=lfs merge=lfs -text
|
| 13 |
-
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
| 14 |
-
*.model filter=lfs diff=lfs merge=lfs -text
|
| 15 |
-
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
| 16 |
-
*.npy filter=lfs diff=lfs merge=lfs -text
|
| 17 |
-
*.npz filter=lfs diff=lfs merge=lfs -text
|
| 18 |
-
*.onnx filter=lfs diff=lfs merge=lfs -text
|
| 19 |
-
*.ot filter=lfs diff=lfs merge=lfs -text
|
| 20 |
*.parquet filter=lfs diff=lfs merge=lfs -text
|
| 21 |
-
*.
|
| 22 |
-
*.
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
*.rar filter=lfs diff=lfs merge=lfs -text
|
| 27 |
-
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 28 |
-
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
| 29 |
-
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
| 30 |
-
*.tar filter=lfs diff=lfs merge=lfs -text
|
| 31 |
-
*.tflite filter=lfs diff=lfs merge=lfs -text
|
| 32 |
-
*.tgz filter=lfs diff=lfs merge=lfs -text
|
| 33 |
-
*.wasm filter=lfs diff=lfs merge=lfs -text
|
| 34 |
-
*.xz filter=lfs diff=lfs merge=lfs -text
|
| 35 |
-
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 36 |
-
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 37 |
-
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 38 |
-
# Audio files - uncompressed
|
| 39 |
-
*.pcm filter=lfs diff=lfs merge=lfs -text
|
| 40 |
-
*.sam filter=lfs diff=lfs merge=lfs -text
|
| 41 |
-
*.raw filter=lfs diff=lfs merge=lfs -text
|
| 42 |
-
# Audio files - compressed
|
| 43 |
-
*.aac filter=lfs diff=lfs merge=lfs -text
|
| 44 |
-
*.flac filter=lfs diff=lfs merge=lfs -text
|
| 45 |
-
*.mp3 filter=lfs diff=lfs merge=lfs -text
|
| 46 |
-
*.ogg filter=lfs diff=lfs merge=lfs -text
|
| 47 |
-
*.wav filter=lfs diff=lfs merge=lfs -text
|
| 48 |
-
# Image files - uncompressed
|
| 49 |
-
*.bmp filter=lfs diff=lfs merge=lfs -text
|
| 50 |
-
*.gif filter=lfs diff=lfs merge=lfs -text
|
| 51 |
-
*.png filter=lfs diff=lfs merge=lfs -text
|
| 52 |
-
*.tiff filter=lfs diff=lfs merge=lfs -text
|
| 53 |
-
# Image files - compressed
|
| 54 |
-
*.jpg filter=lfs diff=lfs merge=lfs -text
|
| 55 |
-
*.jpeg filter=lfs diff=lfs merge=lfs -text
|
| 56 |
-
*.webp filter=lfs diff=lfs merge=lfs -text
|
| 57 |
-
# Video files - compressed
|
| 58 |
-
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 59 |
-
*.webm filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
*.parquet filter=lfs diff=lfs merge=lfs -text
|
| 2 |
+
*.png binary
|
| 3 |
+
*.md text eol=lf
|
| 4 |
+
LICENSE text eol=lf
|
| 5 |
+
assets/low_label_curves.png filter=lfs diff=lfs merge=lfs -text
|
| 6 |
+
assets/protocol_spatial_splits_proposed.png filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
LICENSE
ADDED
|
@@ -0,0 +1,396 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Attribution 4.0 International
|
| 2 |
+
|
| 3 |
+
=======================================================================
|
| 4 |
+
|
| 5 |
+
Creative Commons Corporation ("Creative Commons") is not a law firm and
|
| 6 |
+
does not provide legal services or legal advice. Distribution of
|
| 7 |
+
Creative Commons public licenses does not create a lawyer-client or
|
| 8 |
+
other relationship. Creative Commons makes its licenses and related
|
| 9 |
+
information available on an "as-is" basis. Creative Commons gives no
|
| 10 |
+
warranties regarding its licenses, any material licensed under their
|
| 11 |
+
terms and conditions, or any related information. Creative Commons
|
| 12 |
+
disclaims all liability for damages resulting from their use to the
|
| 13 |
+
fullest extent possible.
|
| 14 |
+
|
| 15 |
+
Using Creative Commons Public Licenses
|
| 16 |
+
|
| 17 |
+
Creative Commons public licenses provide a standard set of terms and
|
| 18 |
+
conditions that creators and other rights holders may use to share
|
| 19 |
+
original works of authorship and other material subject to copyright
|
| 20 |
+
and certain other rights specified in the public license below. The
|
| 21 |
+
following considerations are for informational purposes only, are not
|
| 22 |
+
exhaustive, and do not form part of our licenses.
|
| 23 |
+
|
| 24 |
+
Considerations for licensors: Our public licenses are
|
| 25 |
+
intended for use by those authorized to give the public
|
| 26 |
+
permission to use material in ways otherwise restricted by
|
| 27 |
+
copyright and certain other rights. Our licenses are
|
| 28 |
+
irrevocable. Licensors should read and understand the terms
|
| 29 |
+
and conditions of the license they choose before applying it.
|
| 30 |
+
Licensors should also secure all rights necessary before
|
| 31 |
+
applying our licenses so that the public can reuse the
|
| 32 |
+
material as expected. Licensors should clearly mark any
|
| 33 |
+
material not subject to the license. This includes other CC-
|
| 34 |
+
licensed material, or material used under an exception or
|
| 35 |
+
limitation to copyright. More considerations for licensors:
|
| 36 |
+
wiki.creativecommons.org/Considerations_for_licensors
|
| 37 |
+
|
| 38 |
+
Considerations for the public: By using one of our public
|
| 39 |
+
licenses, a licensor grants the public permission to use the
|
| 40 |
+
licensed material under specified terms and conditions. If
|
| 41 |
+
the licensor's permission is not necessary for any reason--for
|
| 42 |
+
example, because of any applicable exception or limitation to
|
| 43 |
+
copyright--then that use is not regulated by the license. Our
|
| 44 |
+
licenses grant only permissions under copyright and certain
|
| 45 |
+
other rights that a licensor has authority to grant. Use of
|
| 46 |
+
the licensed material may still be restricted for other
|
| 47 |
+
reasons, including because others have copyright or other
|
| 48 |
+
rights in the material. A licensor may make special requests,
|
| 49 |
+
such as asking that all changes be marked or described.
|
| 50 |
+
Although not required by our licenses, you are encouraged to
|
| 51 |
+
respect those requests where reasonable. More considerations
|
| 52 |
+
for the public:
|
| 53 |
+
wiki.creativecommons.org/Considerations_for_licensees
|
| 54 |
+
|
| 55 |
+
=======================================================================
|
| 56 |
+
|
| 57 |
+
Creative Commons Attribution 4.0 International Public License
|
| 58 |
+
|
| 59 |
+
By exercising the Licensed Rights (defined below), You accept and agree
|
| 60 |
+
to be bound by the terms and conditions of this Creative Commons
|
| 61 |
+
Attribution 4.0 International Public License ("Public License"). To the
|
| 62 |
+
extent this Public License may be interpreted as a contract, You are
|
| 63 |
+
granted the Licensed Rights in consideration of Your acceptance of
|
| 64 |
+
these terms and conditions, and the Licensor grants You such rights in
|
| 65 |
+
consideration of benefits the Licensor receives from making the
|
| 66 |
+
Licensed Material available under these terms and conditions.
|
| 67 |
+
|
| 68 |
+
|
| 69 |
+
Section 1 -- Definitions.
|
| 70 |
+
|
| 71 |
+
a. Adapted Material means material subject to Copyright and Similar
|
| 72 |
+
Rights that is derived from or based upon the Licensed Material
|
| 73 |
+
and in which the Licensed Material is translated, altered,
|
| 74 |
+
arranged, transformed, or otherwise modified in a manner requiring
|
| 75 |
+
permission under the Copyright and Similar Rights held by the
|
| 76 |
+
Licensor. For purposes of this Public License, where the Licensed
|
| 77 |
+
Material is a musical work, performance, or sound recording,
|
| 78 |
+
Adapted Material is always produced where the Licensed Material is
|
| 79 |
+
synched in timed relation with a moving image.
|
| 80 |
+
|
| 81 |
+
b. Adapter's License means the license You apply to Your Copyright
|
| 82 |
+
and Similar Rights in Your contributions to Adapted Material in
|
| 83 |
+
accordance with the terms and conditions of this Public License.
|
| 84 |
+
|
| 85 |
+
c. Copyright and Similar Rights means copyright and/or similar rights
|
| 86 |
+
closely related to copyright including, without limitation,
|
| 87 |
+
performance, broadcast, sound recording, and Sui Generis Database
|
| 88 |
+
Rights, without regard to how the rights are labeled or
|
| 89 |
+
categorized. For purposes of this Public License, the rights
|
| 90 |
+
specified in Section 2(b)(1)-(2) are not Copyright and Similar
|
| 91 |
+
Rights.
|
| 92 |
+
|
| 93 |
+
d. Effective Technological Measures means those measures that, in the
|
| 94 |
+
absence of proper authority, may not be circumvented under laws
|
| 95 |
+
fulfilling obligations under Article 11 of the WIPO Copyright
|
| 96 |
+
Treaty adopted on December 20, 1996, and/or similar international
|
| 97 |
+
agreements.
|
| 98 |
+
|
| 99 |
+
e. Exceptions and Limitations means fair use, fair dealing, and/or
|
| 100 |
+
any other exception or limitation to Copyright and Similar Rights
|
| 101 |
+
that applies to Your use of the Licensed Material.
|
| 102 |
+
|
| 103 |
+
f. Licensed Material means the artistic or literary work, database,
|
| 104 |
+
or other material to which the Licensor applied this Public
|
| 105 |
+
License.
|
| 106 |
+
|
| 107 |
+
g. Licensed Rights means the rights granted to You subject to the
|
| 108 |
+
terms and conditions of this Public License, which are limited to
|
| 109 |
+
all Copyright and Similar Rights that apply to Your use of the
|
| 110 |
+
Licensed Material and that the Licensor has authority to license.
|
| 111 |
+
|
| 112 |
+
h. Licensor means the individual(s) or entity(ies) granting rights
|
| 113 |
+
under this Public License.
|
| 114 |
+
|
| 115 |
+
i. Share means to provide material to the public by any means or
|
| 116 |
+
process that requires permission under the Licensed Rights, such
|
| 117 |
+
as reproduction, public display, public performance, distribution,
|
| 118 |
+
dissemination, communication, or importation, and to make material
|
| 119 |
+
available to the public including in ways that members of the
|
| 120 |
+
public may access the material from a place and at a time
|
| 121 |
+
individually chosen by them.
|
| 122 |
+
|
| 123 |
+
j. Sui Generis Database Rights means rights other than copyright
|
| 124 |
+
resulting from Directive 96/9/EC of the European Parliament and of
|
| 125 |
+
the Council of 11 March 1996 on the legal protection of databases,
|
| 126 |
+
as amended and/or succeeded, as well as other essentially
|
| 127 |
+
equivalent rights anywhere in the world.
|
| 128 |
+
|
| 129 |
+
k. You means the individual or entity exercising the Licensed Rights
|
| 130 |
+
under this Public License. Your has a corresponding meaning.
|
| 131 |
+
|
| 132 |
+
|
| 133 |
+
Section 2 -- Scope.
|
| 134 |
+
|
| 135 |
+
a. License grant.
|
| 136 |
+
|
| 137 |
+
1. Subject to the terms and conditions of this Public License,
|
| 138 |
+
the Licensor hereby grants You a worldwide, royalty-free,
|
| 139 |
+
non-sublicensable, non-exclusive, irrevocable license to
|
| 140 |
+
exercise the Licensed Rights in the Licensed Material to:
|
| 141 |
+
|
| 142 |
+
a. reproduce and Share the Licensed Material, in whole or
|
| 143 |
+
in part; and
|
| 144 |
+
|
| 145 |
+
b. produce, reproduce, and Share Adapted Material.
|
| 146 |
+
|
| 147 |
+
2. Exceptions and Limitations. For the avoidance of doubt, where
|
| 148 |
+
Exceptions and Limitations apply to Your use, this Public
|
| 149 |
+
License does not apply, and You do not need to comply with
|
| 150 |
+
its terms and conditions.
|
| 151 |
+
|
| 152 |
+
3. Term. The term of this Public License is specified in Section
|
| 153 |
+
6(a).
|
| 154 |
+
|
| 155 |
+
4. Media and formats; technical modifications allowed. The
|
| 156 |
+
Licensor authorizes You to exercise the Licensed Rights in
|
| 157 |
+
all media and formats whether now known or hereafter created,
|
| 158 |
+
and to make technical modifications necessary to do so. The
|
| 159 |
+
Licensor waives and/or agrees not to assert any right or
|
| 160 |
+
authority to forbid You from making technical modifications
|
| 161 |
+
necessary to exercise the Licensed Rights, including
|
| 162 |
+
technical modifications necessary to circumvent Effective
|
| 163 |
+
Technological Measures. For purposes of this Public License,
|
| 164 |
+
simply making modifications authorized by this Section 2(a)
|
| 165 |
+
(4) never produces Adapted Material.
|
| 166 |
+
|
| 167 |
+
5. Downstream recipients.
|
| 168 |
+
|
| 169 |
+
a. Offer from the Licensor -- Licensed Material. Every
|
| 170 |
+
recipient of the Licensed Material automatically
|
| 171 |
+
receives an offer from the Licensor to exercise the
|
| 172 |
+
Licensed Rights under the terms and conditions of this
|
| 173 |
+
Public License.
|
| 174 |
+
|
| 175 |
+
b. No downstream restrictions. You may not offer or impose
|
| 176 |
+
any additional or different terms or conditions on, or
|
| 177 |
+
apply any Effective Technological Measures to, the
|
| 178 |
+
Licensed Material if doing so restricts exercise of the
|
| 179 |
+
Licensed Rights by any recipient of the Licensed
|
| 180 |
+
Material.
|
| 181 |
+
|
| 182 |
+
6. No endorsement. Nothing in this Public License constitutes or
|
| 183 |
+
may be construed as permission to assert or imply that You
|
| 184 |
+
are, or that Your use of the Licensed Material is, connected
|
| 185 |
+
with, or sponsored, endorsed, or granted official status by,
|
| 186 |
+
the Licensor or others designated to receive attribution as
|
| 187 |
+
provided in Section 3(a)(1)(A)(i).
|
| 188 |
+
|
| 189 |
+
b. Other rights.
|
| 190 |
+
|
| 191 |
+
1. Moral rights, such as the right of integrity, are not
|
| 192 |
+
licensed under this Public License, nor are publicity,
|
| 193 |
+
privacy, and/or other similar personality rights; however, to
|
| 194 |
+
the extent possible, the Licensor waives and/or agrees not to
|
| 195 |
+
assert any such rights held by the Licensor to the limited
|
| 196 |
+
extent necessary to allow You to exercise the Licensed
|
| 197 |
+
Rights, but not otherwise.
|
| 198 |
+
|
| 199 |
+
2. Patent and trademark rights are not licensed under this
|
| 200 |
+
Public License.
|
| 201 |
+
|
| 202 |
+
3. To the extent possible, the Licensor waives any right to
|
| 203 |
+
collect royalties from You for the exercise of the Licensed
|
| 204 |
+
Rights, whether directly or through a collecting society
|
| 205 |
+
under any voluntary or waivable statutory or compulsory
|
| 206 |
+
licensing scheme. In all other cases the Licensor expressly
|
| 207 |
+
reserves any right to collect such royalties.
|
| 208 |
+
|
| 209 |
+
|
| 210 |
+
Section 3 -- License Conditions.
|
| 211 |
+
|
| 212 |
+
Your exercise of the Licensed Rights is expressly made subject to the
|
| 213 |
+
following conditions.
|
| 214 |
+
|
| 215 |
+
a. Attribution.
|
| 216 |
+
|
| 217 |
+
1. If You Share the Licensed Material (including in modified
|
| 218 |
+
form), You must:
|
| 219 |
+
|
| 220 |
+
a. retain the following if it is supplied by the Licensor
|
| 221 |
+
with the Licensed Material:
|
| 222 |
+
|
| 223 |
+
i. identification of the creator(s) of the Licensed
|
| 224 |
+
Material and any others designated to receive
|
| 225 |
+
attribution, in any reasonable manner requested by
|
| 226 |
+
the Licensor (including by pseudonym if
|
| 227 |
+
designated);
|
| 228 |
+
|
| 229 |
+
ii. a copyright notice;
|
| 230 |
+
|
| 231 |
+
iii. a notice that refers to this Public License;
|
| 232 |
+
|
| 233 |
+
iv. a notice that refers to the disclaimer of
|
| 234 |
+
warranties;
|
| 235 |
+
|
| 236 |
+
v. a URI or hyperlink to the Licensed Material to the
|
| 237 |
+
extent reasonably practicable;
|
| 238 |
+
|
| 239 |
+
b. indicate if You modified the Licensed Material and
|
| 240 |
+
retain an indication of any previous modifications; and
|
| 241 |
+
|
| 242 |
+
c. indicate the Licensed Material is licensed under this
|
| 243 |
+
Public License, and include the text of, or the URI or
|
| 244 |
+
hyperlink to, this Public License.
|
| 245 |
+
|
| 246 |
+
2. You may satisfy the conditions in Section 3(a)(1) in any
|
| 247 |
+
reasonable manner based on the medium, means, and context in
|
| 248 |
+
which You Share the Licensed Material. For example, it may be
|
| 249 |
+
reasonable to satisfy the conditions by providing a URI or
|
| 250 |
+
hyperlink to a resource that includes the required
|
| 251 |
+
information.
|
| 252 |
+
|
| 253 |
+
3. If requested by the Licensor, You must remove any of the
|
| 254 |
+
information required by Section 3(a)(1)(A) to the extent
|
| 255 |
+
reasonably practicable.
|
| 256 |
+
|
| 257 |
+
4. If You Share Adapted Material You produce, the Adapter's
|
| 258 |
+
License You apply must not prevent recipients of the Adapted
|
| 259 |
+
Material from complying with this Public License.
|
| 260 |
+
|
| 261 |
+
|
| 262 |
+
Section 4 -- Sui Generis Database Rights.
|
| 263 |
+
|
| 264 |
+
Where the Licensed Rights include Sui Generis Database Rights that
|
| 265 |
+
apply to Your use of the Licensed Material:
|
| 266 |
+
|
| 267 |
+
a. for the avoidance of doubt, Section 2(a)(1) grants You the right
|
| 268 |
+
to extract, reuse, reproduce, and Share all or a substantial
|
| 269 |
+
portion of the contents of the database;
|
| 270 |
+
|
| 271 |
+
b. if You include all or a substantial portion of the database
|
| 272 |
+
contents in a database in which You have Sui Generis Database
|
| 273 |
+
Rights, then the database in which You have Sui Generis Database
|
| 274 |
+
Rights (but not its individual contents) is Adapted Material; and
|
| 275 |
+
|
| 276 |
+
c. You must comply with the conditions in Section 3(a) if You Share
|
| 277 |
+
all or a substantial portion of the contents of the database.
|
| 278 |
+
|
| 279 |
+
For the avoidance of doubt, this Section 4 supplements and does not
|
| 280 |
+
replace Your obligations under this Public License where the Licensed
|
| 281 |
+
Rights include other Copyright and Similar Rights.
|
| 282 |
+
|
| 283 |
+
|
| 284 |
+
Section 5 -- Disclaimer of Warranties and Limitation of Liability.
|
| 285 |
+
|
| 286 |
+
a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE
|
| 287 |
+
EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS
|
| 288 |
+
AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF
|
| 289 |
+
ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS,
|
| 290 |
+
IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION,
|
| 291 |
+
WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR
|
| 292 |
+
PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS,
|
| 293 |
+
ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT
|
| 294 |
+
KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT
|
| 295 |
+
ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU.
|
| 296 |
+
|
| 297 |
+
b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE
|
| 298 |
+
TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION,
|
| 299 |
+
NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT,
|
| 300 |
+
INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES,
|
| 301 |
+
COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR
|
| 302 |
+
USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN
|
| 303 |
+
ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR
|
| 304 |
+
DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR
|
| 305 |
+
IN PART, THIS LIMITATION MAY NOT APPLY TO YOU.
|
| 306 |
+
|
| 307 |
+
c. The disclaimer of warranties and limitation of liability provided
|
| 308 |
+
above shall be interpreted in a manner that, to the extent
|
| 309 |
+
possible, most closely approximates an absolute disclaimer and
|
| 310 |
+
waiver of all liability.
|
| 311 |
+
|
| 312 |
+
|
| 313 |
+
Section 6 -- Term and Termination.
|
| 314 |
+
|
| 315 |
+
a. This Public License applies for the term of the Copyright and
|
| 316 |
+
Similar Rights licensed here. However, if You fail to comply with
|
| 317 |
+
this Public License, then Your rights under this Public License
|
| 318 |
+
terminate automatically.
|
| 319 |
+
|
| 320 |
+
b. Where Your right to use the Licensed Material has terminated under
|
| 321 |
+
Section 6(a), it reinstates:
|
| 322 |
+
|
| 323 |
+
1. automatically as of the date the violation is cured, provided
|
| 324 |
+
it is cured within 30 days of Your discovery of the
|
| 325 |
+
violation; or
|
| 326 |
+
|
| 327 |
+
2. upon express reinstatement by the Licensor.
|
| 328 |
+
|
| 329 |
+
For the avoidance of doubt, this Section 6(b) does not affect any
|
| 330 |
+
right the Licensor may have to seek remedies for Your violations
|
| 331 |
+
of this Public License.
|
| 332 |
+
|
| 333 |
+
c. For the avoidance of doubt, the Licensor may also offer the
|
| 334 |
+
Licensed Material under separate terms or conditions or stop
|
| 335 |
+
distributing the Licensed Material at any time; however, doing so
|
| 336 |
+
will not terminate this Public License.
|
| 337 |
+
|
| 338 |
+
d. Sections 1, 5, 6, 7, and 8 survive termination of this Public
|
| 339 |
+
License.
|
| 340 |
+
|
| 341 |
+
|
| 342 |
+
Section 7 -- Other Terms and Conditions.
|
| 343 |
+
|
| 344 |
+
a. The Licensor shall not be bound by any additional or different
|
| 345 |
+
terms or conditions communicated by You unless expressly agreed.
|
| 346 |
+
|
| 347 |
+
b. Any arrangements, understandings, or agreements regarding the
|
| 348 |
+
Licensed Material not stated herein are separate from and
|
| 349 |
+
independent of the terms and conditions of this Public License.
|
| 350 |
+
|
| 351 |
+
|
| 352 |
+
Section 8 -- Interpretation.
|
| 353 |
+
|
| 354 |
+
a. For the avoidance of doubt, this Public License does not, and
|
| 355 |
+
shall not be interpreted to, reduce, limit, restrict, or impose
|
| 356 |
+
conditions on any use of the Licensed Material that could lawfully
|
| 357 |
+
be made without permission under this Public License.
|
| 358 |
+
|
| 359 |
+
b. To the extent possible, if any provision of this Public License is
|
| 360 |
+
deemed unenforceable, it shall be automatically reformed to the
|
| 361 |
+
minimum extent necessary to make it enforceable. If the provision
|
| 362 |
+
cannot be reformed, it shall be severed from this Public License
|
| 363 |
+
without affecting the enforceability of the remaining terms and
|
| 364 |
+
conditions.
|
| 365 |
+
|
| 366 |
+
c. No term or condition of this Public License will be waived and no
|
| 367 |
+
failure to comply consented to unless expressly agreed to by the
|
| 368 |
+
Licensor.
|
| 369 |
+
|
| 370 |
+
d. Nothing in this Public License constitutes or may be interpreted
|
| 371 |
+
as a limitation upon, or waiver of, any privileges and immunities
|
| 372 |
+
that apply to the Licensor or You, including from the legal
|
| 373 |
+
processes of any jurisdiction or authority.
|
| 374 |
+
|
| 375 |
+
|
| 376 |
+
=======================================================================
|
| 377 |
+
|
| 378 |
+
Creative Commons is not a party to its public
|
| 379 |
+
licenses. Notwithstanding, Creative Commons may elect to apply one of
|
| 380 |
+
its public licenses to material it publishes and in those instances
|
| 381 |
+
will be considered the “Licensor.” The text of the Creative Commons
|
| 382 |
+
public licenses is dedicated to the public domain under the CC0 Public
|
| 383 |
+
Domain Dedication. Except for the limited purpose of indicating that
|
| 384 |
+
material is shared under a Creative Commons public license or as
|
| 385 |
+
otherwise permitted by the Creative Commons policies published at
|
| 386 |
+
creativecommons.org/policies, Creative Commons does not authorize the
|
| 387 |
+
use of the trademark "Creative Commons" or any other trademark or logo
|
| 388 |
+
of Creative Commons without its prior written consent including,
|
| 389 |
+
without limitation, in connection with any unauthorized modifications
|
| 390 |
+
to any of its public licenses or any other arrangements,
|
| 391 |
+
understandings, or agreements concerning use of licensed material. For
|
| 392 |
+
the avoidance of doubt, this paragraph does not form part of the
|
| 393 |
+
public licenses.
|
| 394 |
+
|
| 395 |
+
Creative Commons may be contacted at creativecommons.org.
|
| 396 |
+
|
README.md
CHANGED
|
@@ -1,79 +1,385 @@
|
|
| 1 |
---
|
| 2 |
pretty_name: FranceCrops
|
| 3 |
-
license: cc-by-
|
| 4 |
-
tags:
|
| 5 |
-
- earth-observation
|
| 6 |
-
- remote-sensing
|
| 7 |
-
- agriculture
|
| 8 |
-
- timeseries
|
| 9 |
-
- geospatial
|
| 10 |
task_categories:
|
| 11 |
-
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
size_categories:
|
| 13 |
-
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
---
|
| 15 |
|
| 16 |
-
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
|
| 18 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
|
| 20 |
-
|
| 21 |
|
| 22 |
-
|
| 23 |
-
- **Input Features (`x`)**: 3D arrays of shape (100, 60, 12) in float16:
|
| 24 |
-
- 100: number of timeseries sampled within an agricultural field
|
| 25 |
-
- 60: temporal dimension (measurements every 5 days from 01/02/2022 to 30/11/2022)
|
| 26 |
-
- 12: spectral bands from Sentinel-2 satellite
|
| 27 |
-
- **Labels (`y`)**: Integer class labels (int16), one of 20 crop types
|
| 28 |
|
| 29 |
-
|
|
|
|
| 30 |
|
| 31 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 32 |
|
| 33 |
-
|
| 34 |
|
| 35 |
-
|
|
|
|
|
|
|
| 36 |
|
| 37 |
```python
|
| 38 |
from datasets import load_dataset
|
| 39 |
-
# Load the dataset
|
| 40 |
-
dataset = load_dataset("saget-antoine/francecrops", split="train")
|
| 41 |
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 46 |
```
|
| 47 |
|
| 48 |
-
|
|
|
|
| 49 |
|
| 50 |
```python
|
| 51 |
-
|
| 52 |
-
|
| 53 |
-
|
|
|
|
|
|
|
| 54 |
|
| 55 |
-
|
|
|
|
|
|
|
| 56 |
|
| 57 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 58 |
```
|
| 59 |
|
| 60 |
## Dataset Creation
|
| 61 |
|
| 62 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 63 |
|
| 64 |
-
|
|
|
|
| 65 |
|
| 66 |
-
|
| 67 |
-
- Labels: Crop type classification from the 2022French Registre Parcellaire Graphique (RPG)
|
| 68 |
|
| 69 |
-
|
| 70 |
|
| 71 |
-
|
|
|
|
|
|
|
| 72 |
|
| 73 |
-
|
| 74 |
-
|
| 75 |
-
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 76 |
|
| 77 |
## License
|
| 78 |
|
| 79 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
pretty_name: FranceCrops
|
| 3 |
+
license: cc-by-4.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
task_categories:
|
| 5 |
+
- tabular-classification
|
| 6 |
+
task_ids:
|
| 7 |
+
- tabular-multi-class-classification
|
| 8 |
+
tags:
|
| 9 |
+
- agriculture
|
| 10 |
+
- crop-classification
|
| 11 |
+
- crop-type-mapping
|
| 12 |
+
- earth-observation
|
| 13 |
+
- geospatial
|
| 14 |
+
- remote-sensing
|
| 15 |
+
- sentinel-2
|
| 16 |
+
- sentinel-2-l2a
|
| 17 |
+
- timeseries
|
| 18 |
+
- time-series-classification
|
| 19 |
+
- representation-learning
|
| 20 |
+
- self-supervised-learning
|
| 21 |
+
- low-label-learning
|
| 22 |
+
- few-shot-learning
|
| 23 |
+
- france
|
| 24 |
+
- rpg
|
| 25 |
+
- parquet
|
| 26 |
+
- geoparquet
|
| 27 |
+
- tabular
|
| 28 |
size_categories:
|
| 29 |
+
- 100K<n<1M
|
| 30 |
+
configs:
|
| 31 |
+
- config_name: benchmark
|
| 32 |
+
default: true
|
| 33 |
+
data_files:
|
| 34 |
+
- split: train
|
| 35 |
+
path: data/benchmark/train.parquet
|
| 36 |
+
- split: validation
|
| 37 |
+
path: data/benchmark/validation.parquet
|
| 38 |
+
- split: test_france
|
| 39 |
+
path: data/benchmark/test_france.parquet
|
| 40 |
+
- split: test_centre_val_de_loire
|
| 41 |
+
path: data/benchmark/test_centre_val_de_loire.parquet
|
| 42 |
+
- config_name: train_subsets
|
| 43 |
+
data_files:
|
| 44 |
+
- split: train
|
| 45 |
+
path: data/protocol/train_subsets.parquet
|
| 46 |
+
- config_name: metadata
|
| 47 |
+
data_files:
|
| 48 |
+
- split: train
|
| 49 |
+
path: data/protocol/metadata.parquet
|
| 50 |
+
- config_name: geolocation
|
| 51 |
+
data_files:
|
| 52 |
+
- split: train
|
| 53 |
+
path: data/geolocation/geolocation.parquet
|
| 54 |
+
- config_name: class_map
|
| 55 |
+
data_files:
|
| 56 |
+
- split: train
|
| 57 |
+
path: data/protocol/class_map.parquet
|
| 58 |
+
- config_name: normalization
|
| 59 |
+
data_files:
|
| 60 |
+
- split: train
|
| 61 |
+
path: data/protocol/normalization.parquet
|
| 62 |
---
|
| 63 |
|
| 64 |
+
# FranceCrops
|
| 65 |
+
|
| 66 |
+
FranceCrops is a crop-classification benchmark for French agricultural parcels observed with Sentinel-2 L2A time series meant to evaluate the representation learned by self-supervised or unsupervised methods. Each sample is one parcel represented by 100 sampled pixel time series. This release provides fixed supervised splits for downstream evaluation and frozen low-label subsets from 1 to 4,000 labels per class so methods can be compared under the same downstream training budgets.
|
| 67 |
+
|
| 68 |
+
A large pretraining pool for representation learning will be added in a later release.
|
| 69 |
+
The benchmark code will be made available soon.
|
| 70 |
+
|
| 71 |
+
## Dataset structure
|
| 72 |
+
|
| 73 |
+
| Config | Split(s) | Purpose | Rows | Size |
|
| 74 |
+
| --- | --- | --- | ---: | ---: |
|
| 75 |
+
| `pretraining` | `train` | representation-learning pool, coming soon, for SSL or unsupervised encoder training | ||
|
| 76 |
+
| `benchmark` | `train`, `validation`, `test_france`, `test_centre_val_de_loire` | Main supervised crop-classification benchmark | 138,610 | 12.7 GiB |
|
| 77 |
+
| `train_subsets` | `train` | Frozen low-label row selections from `benchmark/train` at various sizes | 553,000 |3 MiB |
|
| 78 |
+
| `class_map` | `train` | Mapping from `y` to RPG crop codes and labels | 20 | <0.01 MiB |
|
| 79 |
+
| `normalization` | `train` | Frozen per-band percentile constants for normalization | 12 | <0.01 MiB |
|
| 80 |
+
| `metadata` | `train` | Optional split membership and labels without large `x` arrays | 138,610 | 0.7 MiB |
|
| 81 |
+
| `geolocation` | `train` | Optional parcel geometries and footprints for metadata rows. See [`data/geolocation/README.md`](data/geolocation/README.md) for details. | 138,610 | 54.5 MiB |
|
| 82 |
+
|
| 83 |
+
|
| 84 |
+
## Split details
|
| 85 |
+
|
| 86 |
+
FranceCrops separates representation learning from downstream evaluation.
|
| 87 |
+
The `pretraining` split is meant for self-supervised or other unsupervised learning: use it to learn a generic parcel encoder without using crop labels.
|
| 88 |
+
The `benchmark` config is the supervised crop-classification downstream task used to compare those representations under a fixed protocol.
|
| 89 |
+
|
| 90 |
+
A typical experiment follows this order once the pretraining payload is available:
|
| 91 |
+
|
| 92 |
+
1. learn an encoder on `pretraining`;
|
| 93 |
+
2. freeze or reuse the learned features for the supervised benchmark samples;
|
| 94 |
+
3. train downstream supervised classifiers on the frozen `train_subsets`, from 1 labeled example per class up to 4,000 labeled examples per class;
|
| 95 |
+
4. use `validation` for early stopping or hyperparameter tuning;
|
| 96 |
+
5. report final scores on both benchmark test splits.
|
| 97 |
+
|
| 98 |
+
Supervised benchmark split sizes:
|
| 99 |
+
|
| 100 |
+
| Split | Role | Class coverage and balance | Rows | Size |
|
| 101 |
+
| --- | --- | --- | ---: | ---: |
|
| 102 |
+
| `train` | supervised training pool | 20 classes, balanced; 5,000 samples per class | 100,000 | 9.1 GiB |
|
| 103 |
+
| `validation` | model-selection split | 20 classes, balanced; 100 samples per class | 2,000 | 185 MiB |
|
| 104 |
+
| `test_france` | main test split | 20 classes, balanced; held-out spatial-cell test partition with 1,000 examples per class | 20,000 | 1.9 GiB |
|
| 105 |
+
| `test_centre_val_de_loire` | geographic robustness test | 20 classes, capped at 1,000 examples per class; not perfectly balanced where regional data are scarce | 16,610 | 1.7 GiB |
|
| 106 |
+
|
| 107 |
+
The benchmark task is restricted to 20 crop classes so that supervised evaluation is controlled and comparable. The `train`, `validation`, and `test_france` splits are balanced across these 20 classes. The `test_centre_val_de_loire` split uses the same 20 classes and caps each class at 1,000 examples, but some classes have fewer available parcels in that region. In contrast, the `pretraining` split is closer to the raw source distribution: it is unfiltered, contains all 238 RPG classes, and has the heavy class imbalance expected in the full agricultural parcel population.
|
| 108 |
+
|
| 109 |
+
All splits are disjoint: a parcel appears in only one of
|
| 110 |
+
`pretraining`, `train`, `validation`, `test_france`, or
|
| 111 |
+
`test_centre_val_de_loire`. The two test splits also test geographic
|
| 112 |
+
generalization. `test_france` is made of held-out spatial cells distributed across
|
| 113 |
+
metropolitan France, visible as squares in the map below. `test_centre_val_de_loire`
|
| 114 |
+
holds out the whole Centre-Val de Loire region as a separate regional test set. The
|
| 115 |
+
`pretraining`, `train`, and `validation` splits are mutually disjoint and draw from
|
| 116 |
+
the remaining parcel distribution, spread across metropolitan France outside those
|
| 117 |
+
held-out spatial cells and the Centre-Val de Loire regional holdout.
|
| 118 |
+
|
| 119 |
+

|
| 120 |
+
|
| 121 |
+
## Data Schema
|
| 122 |
+
|
| 123 |
+
Each row in the `benchmark` config contains:
|
| 124 |
+
|
| 125 |
+
| Field | Type | Description |
|
| 126 |
+
| --- | --- | --- |
|
| 127 |
+
| `x` | `int16[100, 60, 12]` | 100 sampled pixel time series, 60 dates, 12 Sentinel-2 bands |
|
| 128 |
+
| `y` | `int16` | Zero-based class identifier |
|
| 129 |
+
| `parcel_id` | string | Source RPG parcel identifier used for protocol joins |
|
| 130 |
+
|
| 131 |
+
Each raw sample is a bag of time series for one parcel:
|
| 132 |
+
|
| 133 |
+
```text
|
| 134 |
+
x.shape == (100, 60, 12)
|
| 135 |
+
```
|
| 136 |
+
|
| 137 |
+
- `100`: sampled pixel time series inside the parcel;
|
| 138 |
+
- `60`: aligned dates;
|
| 139 |
+
- `12`: Sentinel-2 bands.
|
| 140 |
+
|
| 141 |
+
The band order is:
|
| 142 |
+
|
| 143 |
+
```text
|
| 144 |
+
B1, B2, B3, B4, B5, B6, B7, B8, B8A, B9, B11, B12
|
| 145 |
+
```
|
| 146 |
+
|
| 147 |
+
The temporal axis contains 60 aligned dates from 2022-02-01 to 2022-11-23
|
| 148 |
+
inclusive, every 5 days.
|
| 149 |
+
|
| 150 |
+
Values are stored as `int16` in the Sentinel-2 L2A surface-reflectance integer
|
| 151 |
+
scale, where 10,000 corresponds to reflectance 1.0. Cast `x`
|
| 152 |
+
to `float32` before normalization or model input.
|
| 153 |
+
|
| 154 |
+
<details>
|
| 155 |
+
<summary>Class map</summary>
|
| 156 |
+
|
| 157 |
+
| y | code | French RPG label | English label |
|
| 158 |
+
| ---: | --- | --- | --- |
|
| 159 |
+
| 0 | AVP | Avoine de printemps | Spring oat |
|
| 160 |
+
| 1 | BDH | Blé dur d’hiver | Winter durum wheat |
|
| 161 |
+
| 2 | BTH | Blé tendre d’hiver | Winter soft wheat |
|
| 162 |
+
| 3 | BTN | Betterave non fourragère / Bette | Non-fodder beet / Swiss chard |
|
| 163 |
+
| 4 | CHU | Chou | Cabbage |
|
| 164 |
+
| 5 | CZH | Colza d’hiver | Winter rapeseed |
|
| 165 |
+
| 6 | FVL | Féverole semée avant le 31/05 | Faba bean sown before 31/05 |
|
| 166 |
+
| 7 | LIF | Lin fibres | Fiber flax |
|
| 167 |
+
| 8 | MIS | Maïs | Maize |
|
| 168 |
+
| 9 | ORH | Orge d'hiver | Winter barley |
|
| 169 |
+
| 10 | PPH | Prairie permanente | Permanent grassland |
|
| 170 |
+
| 11 | PPR | Pois de printemps semé avant le 31/05 | Spring pea sown before 31/05 |
|
| 171 |
+
| 12 | PTC | Pomme de terre de consommation | Table potato |
|
| 172 |
+
| 13 | RGA | Ray-grass de 5 ans ou moins | Ryegrass, 5 years or less |
|
| 173 |
+
| 14 | SGH | Seigle d’hiver | Winter rye |
|
| 174 |
+
| 15 | SOG | Sorgho | Sorghum |
|
| 175 |
+
| 16 | SOJ | Soja | Soybean |
|
| 176 |
+
| 17 | SRS | Sarrasin | Buckwheat |
|
| 177 |
+
| 18 | TRN | Tournesol | Sunflower |
|
| 178 |
+
| 19 | TTH | Triticale d’hiver | Winter triticale |
|
| 179 |
+
|
| 180 |
+
</details>
|
| 181 |
+
|
| 182 |
+
## Benchmark Protocol
|
| 183 |
+
|
| 184 |
+
The benchmark evaluates one representation per parcel. If an encoder processes
|
| 185 |
+
individual pixel time series, aggregate the 100 pixel-level representations into a
|
| 186 |
+
single parcel-level representation before fitting the downstream classifier.
|
| 187 |
+
|
| 188 |
+
The benchmark evaluates each representation on the same downstream training subsets. This is important in the low-label regime: when only a few labeled parcels are available for supervised training, results can vary strongly depending on which parcels were selected. The dataset therefore provides several frozen repeats for the smallest label budgets. Repeats for a given budget may overlap, but every method is evaluated on the same subsets, making comparisons more stable and focused on representation quality rather than on a particular draw of downstream labels.
|
| 189 |
+
|
| 190 |
+
Downstream training budgets are:
|
| 191 |
|
| 192 |
+
```text
|
| 193 |
+
1, 2, 5, 10, 20, 50, 100, 200, 500, 1000, 2000, 4000 labeled examples per class
|
| 194 |
+
```
|
| 195 |
+
|
| 196 |
+
Repeat counts decrease as the supervised training set becomes larger:
|
| 197 |
+
|
| 198 |
+
| Labeled examples per class | Number of frozen repeats |
|
| 199 |
+
| ---: | ---: |
|
| 200 |
+
| 1 | 50 |
|
| 201 |
+
| 2 | 25 |
|
| 202 |
+
| 5 | 20 |
|
| 203 |
+
| 10 | 10 |
|
| 204 |
+
| 20, 50, 100, 200, 500, 1000 | 5 |
|
| 205 |
+
| 2000, 4000 | 3 |
|
| 206 |
+
|
| 207 |
+
Repeats for a given budget may overlap. Scores should be averaged over all frozen repeats
|
| 208 |
+
for each label budget.
|
| 209 |
+
|
| 210 |
+
## Results
|
| 211 |
+
|
| 212 |
+
The full benchmark runner and protocol details will be released in the
|
| 213 |
+
associated GitHub repository.
|
| 214 |
+
|
| 215 |
+
The reference baseline is the following:
|
| 216 |
+
|
| 217 |
+
1. averages the 100 pixel time series for each parcel;
|
| 218 |
+
2. applies the frozen per-band `low_p2`/`high_p98` transformation
|
| 219 |
+
`(x - low_p2) / (high_p98 - low_p2) - 0.5`;
|
| 220 |
+
3. flattens the resulting `60 x 12` tensor;
|
| 221 |
+
4. fits balanced multinomial logistic regression;
|
| 222 |
+
5. selects `C` using validation balanced accuracy;
|
| 223 |
+
6. evaluates once on `test_france` and `test_centre_val_de_loire`.
|
| 224 |
+
|
| 225 |
+
In other words, the reference logistic-regression representation is the feature mean
|
| 226 |
+
across the 100 time series in the bag, followed by normalization and flattening.
|
| 227 |
|
| 228 |
+
Reference raw-feature results (mean +/- spread):
|
| 229 |
|
| 230 |
+

|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 231 |
|
| 232 |
+
Scores are mean +/- sample standard deviation over frozen low-label repeats,
|
| 233 |
+
reported in percentage points and rounded to one significant digit in the spread.
|
| 234 |
|
| 235 |
+
| n/class | repeats | France BA (%; mean +/- spread) | Centre-Val de Loire BA (%; mean +/- spread) | France macro F1 (%; mean +/- spread) | Centre-Val de Loire macro F1 (%; mean +/- spread) |
|
| 236 |
+
| ---: | ---: | :--- | :--- | :--- | :--- |
|
| 237 |
+
| 1 | 50 | 28 +/- 3 | 25 +/- 3 | 26 +/- 3 | 21 +/- 3 |
|
| 238 |
+
| 2 | 25 | 35 +/- 3 | 31 +/- 3 | 34 +/- 3 | 28 +/- 2 |
|
| 239 |
+
| 5 | 20 | 46 +/- 2 | 41 +/- 2 | 46 +/- 2 | 37 +/- 2 |
|
| 240 |
+
| 10 | 10 | 52 +/- 1 | 46 +/- 1 | 52 +/- 2 | 43 +/- 2 |
|
| 241 |
+
| 20 | 5 | 59.1 +/- 0.9 | 52 +/- 2 | 59 +/- 1 | 48 +/- 2 |
|
| 242 |
+
| 50 | 5 | 67.3 +/- 0.4 | 59.8 +/- 0.9 | 67.2 +/- 0.4 | 57 +/- 1 |
|
| 243 |
+
| 100 | 5 | 72.3 +/- 0.3 | 62.2 +/- 0.8 | 72.2 +/- 0.3 | 59 +/- 1 |
|
| 244 |
+
| 200 | 5 | 77.0 +/- 0.4 | 67.4 +/- 0.6 | 77.0 +/- 0.5 | 65.2 +/- 0.6 |
|
| 245 |
+
| 500 | 5 | 81.3 +/- 0.2 | 72 +/- 1 | 81.3 +/- 0.2 | 71 +/- 2 |
|
| 246 |
+
| 1000 | 5 | 84.3 +/- 0.2 | 75.1 +/- 0.7 | 84.3 +/- 0.2 | 74.0 +/- 0.3 |
|
| 247 |
+
| 2000 | 3 | 86.1 +/- 0.2 | 77.0 +/- 0.2 | 86.2 +/- 0.2 | 76.7 +/- 0.5 |
|
| 248 |
+
| 4000 | 3 | 87.36 +/- 0.08 | 78.27 +/- 0.09 | 87.37 +/- 0.08 | 77.9 +/- 0.1 |
|
| 249 |
|
| 250 |
+
## Loading
|
| 251 |
|
| 252 |
+
We recommend users to use this dataset through the benchmark code (will be made available soon).
|
| 253 |
+
Below are some example on how to acces the data manually.
|
| 254 |
+
Load the supervised benchmark splits:
|
| 255 |
|
| 256 |
```python
|
| 257 |
from datasets import load_dataset
|
|
|
|
|
|
|
| 258 |
|
| 259 |
+
repo = "saget-antoine/francecrops"
|
| 260 |
+
|
| 261 |
+
train = load_dataset(repo, "benchmark", split="train")
|
| 262 |
+
validation = load_dataset(repo, "benchmark", split="validation")
|
| 263 |
+
test_france = load_dataset(repo, "benchmark", split="test_france")
|
| 264 |
+
test_centre_val_de_loire = load_dataset(
|
| 265 |
+
repo,
|
| 266 |
+
"benchmark",
|
| 267 |
+
split="test_centre_val_de_loire",
|
| 268 |
+
)
|
| 269 |
```
|
| 270 |
|
| 271 |
+
Load one frozen low-label training subset and use it to select rows from
|
| 272 |
+
`benchmark/train`:
|
| 273 |
|
| 274 |
```python
|
| 275 |
+
subsets = load_dataset(repo, "train_subsets", split="train")
|
| 276 |
+
|
| 277 |
+
selection = subsets.filter(
|
| 278 |
+
lambda row: row["n_per_class"] == 100 and row["subset_id"] == 0
|
| 279 |
+
)
|
| 280 |
|
| 281 |
+
train_row_indices = list(selection["train_row_idx"])
|
| 282 |
+
train_100_per_class = train.select(train_row_indices)
|
| 283 |
+
parcel_ids = selection["parcel_id"]
|
| 284 |
|
| 285 |
+
assert len(train_100_per_class) == 100 * 20
|
| 286 |
+
```
|
| 287 |
+
|
| 288 |
+
Iterate over every downstream budget and repeat in the benchmark protocol:
|
| 289 |
+
|
| 290 |
+
```python
|
| 291 |
+
protocol = subsets.to_pandas()
|
| 292 |
+
|
| 293 |
+
for (n_per_class, subset_id), rows in protocol.groupby(
|
| 294 |
+
["n_per_class", "subset_id"],
|
| 295 |
+
sort=True,
|
| 296 |
+
):
|
| 297 |
+
train_subset = train.select(rows["train_row_idx"].tolist())
|
| 298 |
+
# Fit and evaluate one downstream classifier for this budget/repeat.
|
| 299 |
+
```
|
| 300 |
+
|
| 301 |
+
Load helper tables:
|
| 302 |
+
|
| 303 |
+
```python
|
| 304 |
+
class_map = load_dataset(repo, "class_map", split="train")
|
| 305 |
+
normalization = load_dataset(repo, "normalization", split="train")
|
| 306 |
+
metadata = load_dataset(repo, "metadata", split="train")
|
| 307 |
+
```
|
| 308 |
+
|
| 309 |
+
Load optional parcel geometries with streaming:
|
| 310 |
+
|
| 311 |
+
```python
|
| 312 |
+
geolocation = load_dataset(
|
| 313 |
+
repo,
|
| 314 |
+
"geolocation",
|
| 315 |
+
split="train",
|
| 316 |
+
streaming=True,
|
| 317 |
+
)
|
| 318 |
+
geometry_row = next(iter(geolocation))
|
| 319 |
+
print(geometry_row["parcel_id"])
|
| 320 |
+
print(len(geometry_row["geometry"])) # WKB bytes
|
| 321 |
```
|
| 322 |
|
| 323 |
## Dataset Creation
|
| 324 |
|
| 325 |
+
Source data:
|
| 326 |
+
|
| 327 |
+
- imagery: Sentinel-2 L2A observations prepared through Google Earth Engine;
|
| 328 |
+
- labels and parcel boundaries: the IGN 2022 Registre Parcellaire Graphique (RPG);
|
| 329 |
+
- geographic scope: metropolitan France, with a separate Centre-Val de Loire
|
| 330 |
+
geographic robustness test.
|
| 331 |
+
|
| 332 |
+
Processing:
|
| 333 |
|
| 334 |
+
- clouds, shadows, and missing observations are removed;
|
| 335 |
+
- missing time steps are filled by linear interpolation resulting in every parcel being aligned and exactly 60 dates;
|
| 336 |
|
| 337 |
+
## Intended uses
|
|
|
|
| 338 |
|
| 339 |
+
This release is intended for:
|
| 340 |
|
| 341 |
+
- low-label crop classification;
|
| 342 |
+
- evaluation of frozen or pretrained time-series encoders;
|
| 343 |
+
- reproducible comparisons using shared splits and subset selections.
|
| 344 |
|
| 345 |
+
## Limitations
|
| 346 |
+
|
| 347 |
+
- The data cover one growing season, 2022.
|
| 348 |
+
- Labels originate from administrative declarations and may contain source errors.
|
| 349 |
+
- The benchmark contains 20 selected crop codes and is not exhaustive.
|
| 350 |
+
- Temporal interpolation to fill missing/cloudy observations alters the original observation process.
|
| 351 |
+
- `parcel_id` values are linkable to public RPG records and should be treated as a potential source of label leakage for the `pretraining` set.
|
| 352 |
|
| 353 |
## License
|
| 354 |
|
| 355 |
+
The dataset is released under
|
| 356 |
+
[Creative Commons Attribution 4.0 International](https://creativecommons.org/licenses/by/4.0/).
|
| 357 |
+
The full license text is included in [`LICENSE`](LICENSE).
|
| 358 |
+
|
| 359 |
+
Please attribute this derived benchmark and its upstream data sources when reusing it:
|
| 360 |
+
|
| 361 |
+
- FranceCrops Benchmark, Antoine Saget, CC BY 4.0.
|
| 362 |
+
- [Copernicus Sentinel-2 L2A data](https://dataspace.copernicus.eu/data-collections/copernicus-sentinel-missions/sentinel-2),
|
| 363 |
+
prepared through Google Earth Engine. Sentinel data are made available on a free,
|
| 364 |
+
full, and open basis under the Copernicus Sentinel Data Legal Notice referenced by
|
| 365 |
+
the [Copernicus Data Space terms](https://dataspace.copernicus.eu/terms-and-conditions).
|
| 366 |
+
- [IGN Registre Parcellaire Graphique (RPG)](https://www.data.gouv.fr/datasets/rpg),
|
| 367 |
+
2022 edition, used for parcel boundaries and crop codes and distributed under
|
| 368 |
+
the Licence Ouverte / Open Licence 2.0.
|
| 369 |
+
|
| 370 |
+
This derived dataset is not endorsed by the European Commission, ESA, Google, or
|
| 371 |
+
IGN.
|
| 372 |
+
|
| 373 |
+
## Citation
|
| 374 |
+
|
| 375 |
+
Please cite the FranceCrops work:
|
| 376 |
+
|
| 377 |
+
```bibtex
|
| 378 |
+
@inproceedings{saget2024francecrops,
|
| 379 |
+
title = {Learning from Few Labeled Time Series with Segment-Based Self-Supervised Learning: Application to Remote-Sensing},
|
| 380 |
+
author = {Saget, Antoine and Lafabregue, Baptiste and Cornu{\'e}jols, Antoine and Gan{\c{c}}arski, Pierre},
|
| 381 |
+
booktitle = {Proceedings of SPAICE2024: The First Joint European Space Agency/IAA Conference on AI in and for Space},
|
| 382 |
+
pages = {275--279},
|
| 383 |
+
year = {2024}
|
| 384 |
+
}
|
| 385 |
+
```
|
train/data-00000-of-00004.arrow → assets/low_label_curves.png
RENAMED
|
File without changes
|
train/data-00001-of-00004.arrow → assets/protocol_spatial_splits_proposed.png
RENAMED
|
File without changes
|
data/benchmark/test_centre_val_de_loire.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a3b9c19c7779b666654985b681c7e4e89f4cca41e29666b4c5f7f1e425f6ae93
|
| 3 |
+
size 1740974636
|
data/benchmark/test_france.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5f3bbaad6d0e45ad8c0fa898f22d6e3766147b910ae6fbc2342b8b7163af6920
|
| 3 |
+
size 1944136984
|
data/benchmark/train.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9a649796370f110a3f316392efa1e3ca092f2103a9746055842cc36360d9be00
|
| 3 |
+
size 9739252402
|
train/data-00002-of-00004.arrow → data/benchmark/validation.parquet
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2e23ece6ea4b4047435acf58406240900779b3175ea58a59ba3658853e8e6f3c
|
| 3 |
+
size 193880249
|
data/geolocation/README.md
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Geolocation Table
|
| 2 |
+
|
| 3 |
+
The `geolocation` config is an optional parcel-footprint join table.
|
| 4 |
+
|
| 5 |
+
File:
|
| 6 |
+
|
| 7 |
+
```text
|
| 8 |
+
data/geolocation/geolocation.parquet
|
| 9 |
+
```
|
| 10 |
+
|
| 11 |
+
Size and shape:
|
| 12 |
+
|
| 13 |
+
| Rows | Size | Format |
|
| 14 |
+
| ---: | ---: | --- |
|
| 15 |
+
| 138,610 | 54.5 MiB | GeoParquet-compatible Parquet |
|
| 16 |
+
|
| 17 |
+
Columns:
|
| 18 |
+
|
| 19 |
+
| Column | Type | Description |
|
| 20 |
+
| --- | --- | --- |
|
| 21 |
+
| `parcel_id` | string | RPG parcel identifier. Join key to `metadata.parquet` and benchmark rows. |
|
| 22 |
+
| `surf_parc` | float64 | Parcel area from the RPG source table. |
|
| 23 |
+
| `geometry` | binary | Parcel footprint encoded as WKB. |
|
| 24 |
+
|
| 25 |
+
Coverage:
|
| 26 |
+
|
| 27 |
+
- `geolocation.parquet` covers the same parcels as `metadata.parquet`.
|
| 28 |
+
- Every row in this table has a matching `parcel_id` in `metadata.parquet`.
|
| 29 |
+
- Join to benchmark rows by `parcel_id`.
|
| 30 |
+
|
| 31 |
+
Geometry metadata:
|
| 32 |
+
|
| 33 |
+
- WKB encoding.
|
| 34 |
+
- CRS: WGS 84 / EPSG:4326.
|
| 35 |
+
- Axis order: longitude, latitude.
|
| 36 |
+
- The table intentionally does not include crop labels. Join to labels through
|
| 37 |
+
`parcel_id` only when maps, spatial joins, or footprint analysis are needed.
|
| 38 |
+
|
| 39 |
+
Streaming example:
|
| 40 |
+
|
| 41 |
+
```python
|
| 42 |
+
from datasets import load_dataset
|
| 43 |
+
|
| 44 |
+
geolocation = load_dataset(
|
| 45 |
+
"saget-antoine/francecrops",
|
| 46 |
+
"geolocation",
|
| 47 |
+
split="train",
|
| 48 |
+
streaming=True,
|
| 49 |
+
)
|
| 50 |
+
|
| 51 |
+
row = next(iter(geolocation))
|
| 52 |
+
print(row["parcel_id"])
|
| 53 |
+
print(len(row["geometry"])) # WKB bytes
|
| 54 |
+
```
|
| 55 |
+
|
| 56 |
+
GeoPandas example:
|
| 57 |
+
|
| 58 |
+
```python
|
| 59 |
+
import geopandas as gpd
|
| 60 |
+
import pandas as pd
|
| 61 |
+
from shapely import wkb
|
| 62 |
+
|
| 63 |
+
frame = pd.read_parquet("data/geolocation/geolocation.parquet")
|
| 64 |
+
frame["geometry"] = frame["geometry"].map(wkb.loads)
|
| 65 |
+
geo = gpd.GeoDataFrame(frame, geometry="geometry", crs="EPSG:4326")
|
| 66 |
+
```
|
train/data-00003-of-00004.arrow → data/geolocation/geolocation.parquet
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ec47099e9bd1df39d05a47067cb2e037aa3fbbf05b14bc4fdada96fe40ef646f
|
| 3 |
+
size 57099692
|
data/pretraining/.gitkeep
ADDED
|
File without changes
|
data/protocol/class_map.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:51ab6bf7a83765fd8fdea7be6c71c3407c0575d6869e0dfd5735a2f9dbdf9798
|
| 3 |
+
size 3741
|
data/protocol/metadata.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:20fa89a2ef5150d497fb70e42e916c03897dd23f97557ea6216b00d694a45e7c
|
| 3 |
+
size 756385
|
data/protocol/normalization.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:144beae8fb76fd95cf67891df776e8d2f1091bc04780bf4f6155e90a597ded61
|
| 3 |
+
size 2525
|
data/protocol/train_subsets.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:343aa36bc6850717fd87113724e136a4bdae581173d6e7e65a1b57bbbac95105
|
| 3 |
+
size 3460959
|
train/dataset_info.json
DELETED
|
@@ -1,48 +0,0 @@
|
|
| 1 |
-
{
|
| 2 |
-
"builder_name": "",
|
| 3 |
-
"citation": "",
|
| 4 |
-
"config_name": "",
|
| 5 |
-
"dataset_name": "francecrops",
|
| 6 |
-
"dataset_size": 3368120000,
|
| 7 |
-
"description": "Francecrops train dataset with 20 classes and 1000 samples per class",
|
| 8 |
-
"download_checksums": {},
|
| 9 |
-
"download_size": 0,
|
| 10 |
-
"features": {
|
| 11 |
-
"x": {
|
| 12 |
-
"shape": [
|
| 13 |
-
100,
|
| 14 |
-
60,
|
| 15 |
-
12
|
| 16 |
-
],
|
| 17 |
-
"dtype": "float16",
|
| 18 |
-
"_type": "Array3D"
|
| 19 |
-
},
|
| 20 |
-
"y": {
|
| 21 |
-
"dtype": "int16",
|
| 22 |
-
"_type": "Value"
|
| 23 |
-
}
|
| 24 |
-
},
|
| 25 |
-
"homepage": "",
|
| 26 |
-
"license": "CC-BY-SA-4.0",
|
| 27 |
-
"size_in_bytes": 3368120000,
|
| 28 |
-
"splits": {
|
| 29 |
-
"train": {
|
| 30 |
-
"name": "train",
|
| 31 |
-
"num_bytes": 3368120000,
|
| 32 |
-
"num_examples": 20000,
|
| 33 |
-
"shard_lengths": [
|
| 34 |
-
5000,
|
| 35 |
-
5000,
|
| 36 |
-
5000,
|
| 37 |
-
5000
|
| 38 |
-
],
|
| 39 |
-
"dataset_name": "francecrops"
|
| 40 |
-
}
|
| 41 |
-
},
|
| 42 |
-
"version": {
|
| 43 |
-
"version_str": "0.0.1",
|
| 44 |
-
"major": 0,
|
| 45 |
-
"minor": 0,
|
| 46 |
-
"patch": 1
|
| 47 |
-
}
|
| 48 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
train/state.json
DELETED
|
@@ -1,22 +0,0 @@
|
|
| 1 |
-
{
|
| 2 |
-
"_data_files": [
|
| 3 |
-
{
|
| 4 |
-
"filename": "data-00000-of-00004.arrow"
|
| 5 |
-
},
|
| 6 |
-
{
|
| 7 |
-
"filename": "data-00001-of-00004.arrow"
|
| 8 |
-
},
|
| 9 |
-
{
|
| 10 |
-
"filename": "data-00002-of-00004.arrow"
|
| 11 |
-
},
|
| 12 |
-
{
|
| 13 |
-
"filename": "data-00003-of-00004.arrow"
|
| 14 |
-
}
|
| 15 |
-
],
|
| 16 |
-
"_fingerprint": "f81e340b36ebafff",
|
| 17 |
-
"_format_columns": null,
|
| 18 |
-
"_format_kwargs": {},
|
| 19 |
-
"_format_type": null,
|
| 20 |
-
"_output_all_columns": false,
|
| 21 |
-
"_split": "train"
|
| 22 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|