# License Copyright © Hao Feng 2024. All Rights Reserved. ## 1. Definitions 1.1 "Algorithm" refers to the deep learning algorithm contained in this repository, including all associated code, documentation, and data. 1.2 "Author" refers to Hao Feng, the creator and copyright holder of the Algorithm. 1.3 "Non-Commercial Use" means use for academic research, personal study, or non-profit projects, without any direct or indirect commercial advantage. 1.4 "Commercial Use" means any use intended for or directed toward commercial advantage or monetary compensation. ## 2. Grant of Rights 2.1 Non-Commercial Use: The Author hereby grants you a worldwide, royalty-free, non-exclusive license to use, copy, modify, and distribute the Algorithm for Non-Commercial Use, subject to the conditions in Section 3. 2.2 Commercial Use: Any Commercial Use of the Algorithm is strictly prohibited without explicit prior written permission from the Author. ## 3. Conditions 3.1 For Non-Commercial Use: a) Attribution: You must give appropriate credit to the Author, provide a link to this license, and indicate if changes were made. b) Share-Alike: If you modify, transform, or build upon the Algorithm, you must distribute your contributions under the same license as this one. c) No additional restrictions: You may not apply legal terms or technological measures that legally restrict others from doing anything this license permits. 3.2 For Commercial Use: a) Prior Contact: Before any Commercial Use, you must contact the Author at haof@mail.ustc.edu.cn and obtain explicit written permission. b) Separate Agreement: Commercial Use terms will be stipulated in a separate commercial license agreement. ## 4. Disclaimer of Warranty The Algorithm is provided "as is", without warranty of any kind, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose, and non-infringement. In no event shall the Author be liable for any claim, damages, or other liability arising from, out of, or in connection with the Algorithm or the use or other dealings in the Algorithm. ## 5. Limitation of Liability In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, shall the Author be liable to you for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this license or out of the use or inability to use the Algorithm. ## 6. Termination 6.1 This license and the rights granted hereunder will terminate automatically upon any breach by you of the terms of this license. 6.2 All sections which by their nature should survive the termination of this license shall survive such termination. ## 7. Miscellaneous 7.1 If any provision of this license is held to be unenforceable, such provision shall be reformed only to the extent necessary to make it enforceable. 7.2 This license represents the complete agreement concerning the subject matter hereof. By using the Algorithm, you acknowledge that you have read this license, understand it, and agree to be bound by its terms and conditions. If you do not agree to the terms and conditions of this license, do not use, modify, or distribute the Algorithm. For permissions beyond the scope of this license, please contact the Author at haof@mail.ustc.edu.cn.