├── LICENSE.md
├── README.md
├── data
└── processed
│ └── .gitkeep
├── inference
├── .gitkeep
└── README.md
├── logs
└── .gitkeep
├── reports
├── .gitkeep
└── figures
│ ├── .gitkeep
│ ├── Model_Architecture.png
│ └── Qualitative_Results.png
├── requirements.txt
├── src
├── README.md
├── __init__.py
├── config.py
├── data
│ ├── .gitkeep
│ └── dataloader.py
├── models
│ ├── .gitkeep
│ ├── __init__.py
│ ├── loss.py
│ ├── network.py
│ ├── test_model.py
│ └── train_model.py
└── utils.py
└── weights
├── .gitkeep
└── README.md
/LICENSE.md:
--------------------------------------------------------------------------------
1 | Creative Commons Attribution-NonCommercial-NoDerivatives 4.0
2 | International
3 |
4 | Creative Commons Corporation ("Creative Commons") is not a law firm and
5 | does not provide legal services or legal advice. Distribution of
6 | Creative Commons public licenses does not create a lawyer-client or
7 | other relationship. Creative Commons makes its licenses and related
8 | information available on an "as-is" basis. Creative Commons gives no
9 | warranties regarding its licenses, any material licensed under their
10 | terms and conditions, or any related information. Creative Commons
11 | disclaims all liability for damages resulting from their use to the
12 | fullest extent possible.
13 |
14 | Using Creative Commons Public Licenses
15 |
16 | Creative Commons public licenses provide a standard set of terms and
17 | conditions that creators and other rights holders may use to share
18 | original works of authorship and other material subject to copyright and
19 | certain other rights specified in the public license below. The
20 | following considerations are for informational purposes only, are not
21 | exhaustive, and do not form part of our licenses.
22 |
23 | Considerations for licensors: Our public licenses are intended for use
24 | by those authorized to give the public permission to use material in
25 | ways otherwise restricted by copyright and certain other rights. Our
26 | licenses are irrevocable. Licensors should read and understand the terms
27 | and conditions of the license they choose before applying it. Licensors
28 | should also secure all rights necessary before applying our licenses so
29 | that the public can reuse the material as expected. Licensors should
30 | clearly mark any material not subject to the license. This includes
31 | other CC-licensed material, or material used under an exception or
32 | limitation to copyright. More considerations for licensors :
33 | wiki.creativecommons.org/Considerations\_for\_licensors
34 |
35 | Considerations for the public: By using one of our public licenses, a
36 | licensor grants the public permission to use the licensed material under
37 | specified terms and conditions. If the licensor's permission is not
38 | necessary for any reason–for example, because of any applicable
39 | exception or limitation to copyright–then that use is not regulated by
40 | the license. Our licenses grant only permissions under copyright and
41 | certain other rights that a licensor has authority to grant. Use of the
42 | licensed material may still be restricted for other reasons, including
43 | because others have copyright or other rights in the material. A
44 | licensor may make special requests, such as asking that all changes be
45 | marked or described. Although not required by our licenses, you are
46 | encouraged to respect those requests where reasonable. More
47 | considerations for the public :
48 | wiki.creativecommons.org/Considerations\_for\_licensees
49 |
50 | Creative Commons Attribution-NonCommercial-NoDerivatives 4.0
51 | International Public License
52 |
53 | By exercising the Licensed Rights (defined below), You accept and agree
54 | to be bound by the terms and conditions of this Creative Commons
55 | Attribution-NonCommercial-NoDerivatives 4.0 International Public License
56 | ("Public License"). To the extent this Public License may be interpreted
57 | as a contract, You are granted the Licensed Rights in consideration of
58 | Your acceptance of these terms and conditions, and the Licensor grants
59 | You such rights in consideration of benefits the Licensor receives from
60 | making the Licensed Material available under these terms and conditions.
61 |
62 | - Section 1 – Definitions.
63 |
64 | - a. Adapted Material means material subject to Copyright and
65 | Similar Rights that is derived from or based upon the Licensed
66 | Material and in which the Licensed Material is translated,
67 | altered, arranged, transformed, or otherwise modified in a
68 | manner requiring permission under the Copyright and Similar
69 | Rights held by the Licensor. For purposes of this Public
70 | License, where the Licensed Material is a musical work,
71 | performance, or sound recording, Adapted Material is always
72 | produced where the Licensed Material is synched in timed
73 | relation with a moving image.
74 | - b. Copyright and Similar Rights means copyright and/or similar
75 | rights closely related to copyright including, without
76 | limitation, performance, broadcast, sound recording, and Sui
77 | Generis Database Rights, without regard to how the rights are
78 | labeled or categorized. For purposes of this Public License, the
79 | rights specified in Section 2(b)(1)-(2) are not Copyright and
80 | Similar Rights.
81 | - c. Effective Technological Measures means those measures that,
82 | in the absence of proper authority, may not be circumvented
83 | under laws fulfilling obligations under Article 11 of the WIPO
84 | Copyright Treaty adopted on December 20, 1996, and/or similar
85 | international agreements.
86 | - d. Exceptions and Limitations means fair use, fair dealing,
87 | and/or any other exception or limitation to Copyright and
88 | Similar Rights that applies to Your use of the Licensed
89 | Material.
90 | - e. Licensed Material means the artistic or literary work,
91 | database, or other material to which the Licensor applied this
92 | Public License.
93 | - f. Licensed Rights means the rights granted to You subject to
94 | the terms and conditions of this Public License, which are
95 | limited to all Copyright and Similar Rights that apply to Your
96 | use of the Licensed Material and that the Licensor has authority
97 | to license.
98 | - g. Licensor means the individual(s) or entity(ies) granting
99 | rights under this Public License.
100 | - h. NonCommercial means not primarily intended for or directed
101 | towards commercial advantage or monetary compensation. For
102 | purposes of this Public License, the exchange of the Licensed
103 | Material for other material subject to Copyright and Similar
104 | Rights by digital file-sharing or similar means is NonCommercial
105 | provided there is no payment of monetary compensation in
106 | connection with the exchange.
107 | - i. Share means to provide material to the public by any means or
108 | process that requires permission under the Licensed Rights, such
109 | as reproduction, public display, public performance,
110 | distribution, dissemination, communication, or importation, and
111 | to make material available to the public including in ways that
112 | members of the public may access the material from a place and
113 | at a time individually chosen by them.
114 | - j. Sui Generis Database Rights means rights other than copyright
115 | resulting from Directive 96/9/EC of the European Parliament and
116 | of the Council of 11 March 1996 on the legal protection of
117 | databases, as amended and/or succeeded, as well as other
118 | essentially equivalent rights anywhere in the world.
119 | - k. You means the individual or entity exercising the Licensed
120 | Rights under this Public License. Your has a corresponding
121 | meaning.
122 |
123 | - Section 2 – Scope.
124 |
125 | - a. License grant.
126 | - 1. Subject to the terms and conditions of this Public
127 | License, the Licensor hereby grants You a worldwide,
128 | royalty-free, non-sublicensable, non-exclusive, irrevocable
129 | license to exercise the Licensed Rights in the Licensed
130 | Material to:
131 | - A. reproduce and Share the Licensed Material, in whole
132 | or in part, for NonCommercial purposes only; and
133 | - B. produce and reproduce, but not Share, Adapted
134 | Material for NonCommercial purposes only.
135 | - 2. Exceptions and Limitations. For the avoidance of doubt,
136 | where Exceptions and Limitations apply to Your use, this
137 | Public License does not apply, and You do not need to comply
138 | with its terms and conditions.
139 | - 3. Term. The term of this Public License is specified in
140 | Section 6(a).
141 | - 4. Media and formats; technical modifications allowed. The
142 | Licensor authorizes You to exercise the Licensed Rights in
143 | all media and formats whether now known or hereafter
144 | created, and to make technical modifications necessary to do
145 | so. The Licensor waives and/or agrees not to assert any
146 | right or authority to forbid You from making technical
147 | modifications necessary to exercise the Licensed Rights,
148 | including technical modifications necessary to circumvent
149 | Effective Technological Measures. For purposes of this
150 | Public License, simply making modifications authorized by
151 | this Section 2(a)(4) never produces Adapted Material.
152 | - 5. Downstream recipients.
153 | - A. Offer from the Licensor – Licensed Material. Every
154 | recipient of the Licensed Material automatically
155 | receives an offer from the Licensor to exercise the
156 | Licensed Rights under the terms and conditions of this
157 | Public License.
158 | - B. No downstream restrictions. You may not offer or
159 | impose any additional or different terms or conditions
160 | on, or apply any Effective Technological Measures to,
161 | the Licensed Material if doing so restricts exercise of
162 | the Licensed Rights by any recipient of the Licensed
163 | Material.
164 | - 6. No endorsement. Nothing in this Public License
165 | constitutes or may be construed as permission to assert or
166 | imply that You are, or that Your use of the Licensed
167 | Material is, connected with, or sponsored, endorsed, or
168 | granted official status by, the Licensor or others
169 | designated to receive attribution as provided in Section
170 | 3(a)(1)(A)(i).
171 | - b. Other rights.
172 | - 1. Moral rights, such as the right of integrity, are not
173 | licensed under this Public License, nor are publicity,
174 | privacy, and/or other similar personality rights; however,
175 | to the extent possible, the Licensor waives and/or agrees
176 | not to assert any such rights held by the Licensor to the
177 | limited extent necessary to allow You to exercise the
178 | Licensed Rights, but not otherwise.
179 | - 2. Patent and trademark rights are not licensed under this
180 | Public License.
181 | - 3. To the extent possible, the Licensor waives any right to
182 | collect royalties from You for the exercise of the Licensed
183 | Rights, whether directly or through a collecting society
184 | under any voluntary or waivable statutory or compulsory
185 | licensing scheme. In all other cases the Licensor expressly
186 | reserves any right to collect such royalties, including when
187 | the Licensed Material is used other than for NonCommercial
188 | purposes.
189 |
190 | - Section 3 – License Conditions.
191 |
192 | Your exercise of the Licensed Rights is expressly made subject to
193 | the following conditions.
194 |
195 | - a. Attribution.
196 | - 1. If You Share the Licensed Material, You must:
197 |
198 | - A. retain the following if it is supplied by the
199 | Licensor with the Licensed Material:
200 | - i. identification of the creator(s) of the Licensed
201 | Material and any others designated to receive
202 | attribution, in any reasonable manner requested by
203 | the Licensor (including by pseudonym if designated);
204 | - ii. a copyright notice;
205 | - iii. a notice that refers to this Public License;
206 | - iv. a notice that refers to the disclaimer of
207 | warranties;
208 | - v. a URI or hyperlink to the Licensed Material to
209 | the extent reasonably practicable;
210 | - B. indicate if You modified the Licensed Material and
211 | retain an indication of any previous modifications; and
212 | - C. indicate the Licensed Material is licensed under this
213 | Public License, and include the text of, or the URI or
214 | hyperlink to, this Public License.
215 |
216 | For the avoidance of doubt, You do not have permission under
217 | this Public License to Share Adapted Material.
218 |
219 | - 2. You may satisfy the conditions in Section 3(a)(1) in any
220 | reasonable manner based on the medium, means, and context in
221 | which You Share the Licensed Material. For example, it may
222 | be reasonable to satisfy the conditions by providing a URI
223 | or hyperlink to a resource that includes the required
224 | information.
225 | - 3. If requested by the Licensor, You must remove any of the
226 | information required by Section 3(a)(1)(A) to the extent
227 | reasonably practicable.
228 |
229 | - Section 4 – Sui Generis Database Rights.
230 |
231 | Where the Licensed Rights include Sui Generis Database Rights that
232 | apply to Your use of the Licensed Material:
233 |
234 | - a. for the avoidance of doubt, Section 2(a)(1) grants You the
235 | right to extract, reuse, reproduce, and Share all or a
236 | substantial portion of the contents of the database for
237 | NonCommercial purposes only and provided You do not Share
238 | Adapted Material;
239 | - b. if You include all or a substantial portion of the database
240 | contents in a database in which You have Sui Generis Database
241 | Rights, then the database in which You have Sui Generis Database
242 | Rights (but not its individual contents) is Adapted Material;
243 | and
244 | - c. You must comply with the conditions in Section 3(a) if You
245 | Share all or a substantial portion of the contents of the
246 | database.
247 |
248 | For the avoidance of doubt, this Section 4 supplements and does not
249 | replace Your obligations under this Public License where the
250 | Licensed Rights include other Copyright and Similar Rights.
251 |
252 | - Section 5 – Disclaimer of Warranties and Limitation of Liability.
253 |
254 | - a. Unless otherwise separately undertaken by the Licensor, to
255 | the extent possible, the Licensor offers the Licensed Material
256 | as-is and as-available, and makes no representations or
257 | warranties of any kind concerning the Licensed Material, whether
258 | express, implied, statutory, or other. This includes, without
259 | limitation, warranties of title, merchantability, fitness for a
260 | particular purpose, non-infringement, absence of latent or other
261 | defects, accuracy, or the presence or absence of errors, whether
262 | or not known or discoverable. Where disclaimers of warranties
263 | are not allowed in full or in part, this disclaimer may not
264 | apply to You.
265 | - b. To the extent possible, in no event will the Licensor be
266 | liable to You on any legal theory (including, without
267 | limitation, negligence) or otherwise for any direct, special,
268 | indirect, incidental, consequential, punitive, exemplary, or
269 | other losses, costs, expenses, or damages arising out of this
270 | Public License or use of the Licensed Material, even if the
271 | Licensor has been advised of the possibility of such losses,
272 | costs, expenses, or damages. Where a limitation of liability is
273 | not allowed in full or in part, this limitation may not apply to
274 | You.
275 | - c. The disclaimer of warranties and limitation of liability
276 | provided above shall be interpreted in a manner that, to the
277 | extent possible, most closely approximates an absolute
278 | disclaimer and waiver of all liability.
279 |
280 | - Section 6 – Term and Termination.
281 |
282 | - a. This Public License applies for the term of the Copyright and
283 | Similar Rights licensed here. However, if You fail to comply
284 | with this Public License, then Your rights under this Public
285 | License terminate automatically.
286 | - b. Where Your right to use the Licensed Material has terminated
287 | under Section 6(a), it reinstates:
288 |
289 | - 1. automatically as of the date the violation is cured,
290 | provided it is cured within 30 days of Your discovery of the
291 | violation; or
292 | - 2. upon express reinstatement by the Licensor.
293 |
294 | For the avoidance of doubt, this Section 6(b) does not affect
295 | any right the Licensor may have to seek remedies for Your
296 | violations of this Public License.
297 |
298 | - c. For the avoidance of doubt, the Licensor may also offer the
299 | Licensed Material under separate terms or conditions or stop
300 | distributing the Licensed Material at any time; however, doing
301 | so will not terminate this Public License.
302 | - d. Sections 1, 5, 6, 7, and 8 survive termination of this Public
303 | License.
304 |
305 | - Section 7 – Other Terms and Conditions.
306 |
307 | - a. The Licensor shall not be bound by any additional or
308 | different terms or conditions communicated by You unless
309 | expressly agreed.
310 | - b. Any arrangements, understandings, or agreements regarding the
311 | Licensed Material not stated herein are separate from and
312 | independent of the terms and conditions of this Public License.
313 |
314 | - Section 8 – Interpretation.
315 |
316 | - a. For the avoidance of doubt, this Public License does not, and
317 | shall not be interpreted to, reduce, limit, restrict, or impose
318 | conditions on any use of the Licensed Material that could
319 | lawfully be made without permission under this Public License.
320 | - b. To the extent possible, if any provision of this Public
321 | License is deemed unenforceable, it shall be automatically
322 | reformed to the minimum extent necessary to make it enforceable.
323 | If the provision cannot be reformed, it shall be severed from
324 | this Public License without affecting the enforceability of the
325 | remaining terms and conditions.
326 | - c. No term or condition of this Public License will be waived
327 | and no failure to comply consented to unless expressly agreed to
328 | by the Licensor.
329 | - d. Nothing in this Public License constitutes or may be
330 | interpreted as a limitation upon, or waiver of, any privileges
331 | and immunities that apply to the Licensor or You, including from
332 | the legal processes of any jurisdiction or authority.
333 |
334 | Creative Commons is not a party to its public licenses. Notwithstanding,
335 | Creative Commons may elect to apply one of its public licenses to
336 | material it publishes and in those instances will be considered the
337 | "Licensor." The text of the Creative Commons public licenses is
338 | dedicated to the public domain under the CC0 Public Domain Dedication.
339 | Except for the limited purpose of indicating that material is shared
340 | under a Creative Commons public license or as otherwise permitted by the
341 | Creative Commons policies published at creativecommons.org/policies,
342 | Creative Commons does not authorize the use of the trademark "Creative
343 | Commons" or any other trademark or logo of Creative Commons without its
344 | prior written consent including, without limitation, in connection with
345 | any unauthorized modifications to any of its public licenses or any
346 | other arrangements, understandings, or agreements concerning use of
347 | licensed material. For the avoidance of doubt, this paragraph does not
348 | form part of the public licenses.
349 |
350 | Creative Commons may be contacted at creativecommons.org.
351 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | [](https://paperswithcode.com/sota/semantic-segmentation-on-swimseg?p=aclnet-an-attention-and-clustering-based)
2 | [](https://paperswithcode.com/sota/semantic-segmentation-on-swinseg?p=aclnet-an-attention-and-clustering-based)
3 | [](https://paperswithcode.com/sota/semantic-segmentation-on-swinyseg?p=aclnet-an-attention-and-clustering-based)
4 |
5 | ACLNet: An Attention and Clustering-based Cloud Segmentation Network
6 |
7 | ==============================
8 |
9 | This repository contains the source code of our paper, ACLNet (accepted for publication in Remote Sensing Letters).
10 |
11 | We propose a novel deep learning model named ACLNet, for cloud segmentation
12 | from ground images. ACLNet uses both deep neural network and machine learning
13 | (ML) algorithm to extract complementary features. Specifically, it uses EfficientNetB0 as the backbone, "atrous spatial pyramid pooling" (ASPP) to learn at multiple receptive fields, and "global attention module" (GAM) to extract fine-grained details from the image. ACLNet also uses k-means clustering to extract cloud boundaries more precisely.
14 |
15 |
16 |
17 | ## Sample Results
18 |