{"id":499431,"date":"2026-10-20T15:39:47","date_gmt":"2026-10-20T12:39:47","guid":{"rendered":"https:\/\/savepearlharbor.com\/?p=499431"},"modified":"2026-10-20T15:39:47","modified_gmt":"2026-10-20T12:39:47","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=499431","title":{"rendered":"\u041f\u043e\u0447\u0435\u043c\u0443 \u0441\u044d\u043c\u043f\u043b\u0435\u0440\u044b 4+ \u043f\u043e\u0440\u044f\u0434\u043a\u0430 \u0432\u0437\u0440\u044b\u0432\u0430\u044e\u0442\u0441\u044f \u0432 \u0434\u0438\u0444\u0444\u0443\u0437\u0438\u0438, \u0438 \u043a\u0430\u043a \u043c\u044b \u044d\u0442\u043e \u043f\u043e\u0447\u0438\u043d\u0438\u043b\u0438: \u0438\u0441\u0442\u043e\u0440\u0438\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f Flow-WLS"},"content":{"rendered":"<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u041b\u044e\u0431\u043e\u0439, \u043a\u0442\u043e \u043a\u043e\u0433\u0434\u0430-\u043b\u0438\u0431\u043e \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u043b \u0441\u043f\u0438\u0441\u043e\u043a \u0441\u044d\u043c\u043f\u043b\u0435\u0440\u043e\u0432 \u0432 ComfyUI \u0438\u043b\u0438 WebUI, \u043d\u0430\u0432\u0435\u0440\u043d\u044f\u043a\u0430 \u0437\u0430\u043c\u0435\u0447\u0430\u043b \u0441\u0442\u0440\u0430\u043d\u043d\u043e\u0435 \u0435\u0434\u0438\u043d\u043e\u043e\u0431\u0440\u0430\u0437\u0438\u0435. \u0412 \u0432\u044b\u043f\u0430\u0434\u0430\u044e\u0449\u0435\u043c \u043c\u0435\u043d\u044e \u043f\u0440\u0438\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u044e\u0442 Euler, Heun, DPM++ 2M, \u0438\u0437\u0440\u0435\u0434\u043a\u0430 DPM++ 3M \u2014 \u0438 \u043d\u0430 \u044d\u0442\u043e\u043c \u0441\u043f\u0438\u0441\u043e\u043a \u043f\u043e\u0440\u044f\u0434\u043a\u043e\u0432 \u0437\u0430\u043a\u0430\u043d\u0447\u0438\u0432\u0430\u0435\u0442\u0441\u044f.<\/p>\n<p>\u0412\u043e\u0437\u043d\u0438\u043a\u0430\u0435\u0442 \u0437\u0430\u043a\u043e\u043d\u043e\u043c\u0435\u0440\u043d\u044b\u0439 \u0432\u043e\u043f\u0440\u043e\u0441: \u043f\u043e\u0447\u0435\u043c\u0443 \u0447\u0438\u0441\u043b\u0435\u043d\u043d\u044b\u0435 \u043c\u0435\u0442\u043e\u0434\u044b \u0434\u0438\u0444\u0444\u0435\u0440\u0435\u043d\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0445 \u0443\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0439, \u0440\u0430\u0437\u0432\u0438\u0432\u0430\u0432\u0448\u0438\u0435\u0441\u044f \u0432 \u043f\u0440\u0438\u043a\u043b\u0430\u0434\u043d\u043e\u0439 \u043c\u0430\u0442\u0435\u043c\u0430\u0442\u0438\u043a\u0435 \u0441\u0442\u043e\u043b\u0435\u0442\u0438\u044f\u043c\u0438, \u0432 \u0433\u0435\u043d\u0435\u0440\u0430\u0442\u0438\u0432\u043d\u044b\u0445 \u043d\u0435\u0439\u0440\u043e\u0441\u0435\u0442\u044f\u0445 \u0437\u0430\u0441\u0442\u0440\u044f\u043b\u0438 \u043d\u0430 \u0432\u0442\u043e\u0440\u043e\u043c \u0438 \u0442\u0440\u0435\u0442\u044c\u0435\u043c \u043f\u043e\u0440\u044f\u0434\u043a\u0435? \u041d\u0435\u0443\u0436\u0435\u043b\u0438 \u043d\u0435\u043b\u044c\u0437\u044f \u0432\u0437\u044f\u0442\u044c \u043c\u0435\u0442\u043e\u0434 \u0410\u0434\u0430\u043c\u0441\u0430-\u0411\u0430\u0448\u0444\u043e\u0440\u0442\u0430 5-\u0433\u043e, 6-\u0433\u043e \u0438\u043b\u0438 8-\u0433\u043e \u043f\u043e\u0440\u044f\u0434\u043a\u0430 \u0438 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0441\u0432\u0435\u0440\u0445\u0442\u043e\u0447\u043d\u0443\u044e \u0442\u0440\u0430\u0435\u043a\u0442\u043e\u0440\u0438\u044e \u0437\u0430 \u043c\u0435\u043d\u044c\u0448\u0435\u0435 \u0447\u0438\u0441\u043b\u043e \u0448\u0430\u0433\u043e\u0432?<\/p>\n<p>\u041a\u043e\u0433\u0434\u0430 \u043c\u044b \u043f\u043e\u043f\u044b\u0442\u0430\u043b\u0438\u0441\u044c \u043d\u0430\u043f\u0440\u044f\u043c\u0443\u044e \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u043c\u043d\u043e\u0433\u043e\u0448\u0430\u0433\u043e\u0432\u044b\u0435 \u0441\u044d\u043c\u043f\u043b\u0435\u0440\u044b \u0432\u044b\u0441\u0448\u0438\u0445 \u043f\u043e\u0440\u044f\u0434\u043a\u043e\u0432 \u0434\u043b\u044f \u0441\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445 \u043c\u043e\u0434\u0435\u043b\u0435\u0439 Flow Matching (\u0432 \u0447\u0430\u0441\u0442\u043d\u043e\u0441\u0442\u0438, Anima DiT), \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u044f \u0441\u0440\u0430\u0437\u0443 \u0436\u0435 \u0441\u043b\u043e\u043c\u0430\u043b\u0430\u0441\u044c \u0434\u0432\u0443\u043c\u044f \u0440\u0430\u0437\u043d\u044b\u043c\u0438 \u0441\u043f\u043e\u0441\u043e\u0431\u0430\u043c\u0438: \u0445\u043e\u043b\u0441\u0442 \u0441\u043d\u0430\u0447\u0430\u043b\u0430 \u0432\u044b\u0436\u0438\u0433\u0430\u043b\u0441\u044f \u0432 90% \u0431\u0435\u043b\u043e\u0433\u043e \u0446\u0432\u0435\u0442\u0430, \u0430 \u0437\u0430\u0442\u0435\u043c \u0440\u0430\u0441\u043f\u0430\u0434\u0430\u043b\u0441\u044f \u043d\u0430 \u043d\u0435\u0441\u0432\u044f\u0437\u043d\u044b\u0439 \u0446\u0438\u0444\u0440\u043e\u0432\u043e\u0439 \u0448\u0443\u043c.<\/p>\n<p>\u0412 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e \u0440\u0430\u0437\u0431\u0435\u0440\u0435\u043c:<\/p>\n<ol>\n<li>\n<p>\u041a\u0430\u043a\u0430\u044f \u0441\u043a\u0440\u044b\u0442\u0430\u044f \u043b\u043e\u0432\u0443\u0448\u043a\u0430 \u0436\u0434\u0435\u0442 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u0432 \u043f\u0440\u0438 \u043f\u0435\u0440\u0435\u043d\u043e\u0441\u0435 \u043a\u043b\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u0444\u043e\u0440\u043c\u0443\u043b \u0434\u0438\u0444\u0444\u0443\u0437\u0438\u0438 (EDM) \u043d\u0430 \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u044b Flow Matching.<\/p>\n<\/li>\n<li>\n<p>\u041f\u043e\u0447\u0435\u043c\u0443 \u0442\u043e\u0447\u043d\u0430\u044f \u043f\u043e\u043b\u0438\u043d\u043e\u043c\u0438\u0430\u043b\u044c\u043d\u0430\u044f \u0438\u043d\u0442\u0435\u0440\u043f\u043e\u043b\u044f\u0446\u0438\u044f \u041b\u0430\u0433\u0440\u0430\u043d\u0436\u0430 \u043f\u043e\u0440\u044f\u0434\u043a\u0430 5+ \u043d\u0435\u0438\u0437\u0431\u0435\u0436\u043d\u043e \u0440\u0430\u0437\u0440\u0443\u0448\u0430\u0435\u0442 \u043b\u0430\u0442\u0435\u043d\u0442.<\/p>\n<\/li>\n<li>\n<p>\u041a\u0430\u043a \u043c\u044b \u043f\u0440\u0438\u043c\u0435\u043d\u0438\u043b\u0438 \u0438\u0434\u0435\u0438 \u0444\u0438\u043b\u044c\u0442\u0440\u0430\u0446\u0438\u0438 \u0421\u0430\u0432\u0438\u0446\u043a\u043e\u0433\u043e-\u0413\u043e\u043b\u0435\u044f \u0438 \u0432\u0437\u0432\u0435\u0448\u0435\u043d\u043d\u044b\u0445 \u043d\u0430\u0438\u043c\u0435\u043d\u044c\u0448\u0438\u0445 \u043a\u0432\u0430\u0434\u0440\u0430\u0442\u043e\u0432, \u0441\u043e\u0437\u0434\u0430\u0432 \u043c\u0435\u0442\u043e\u0434 <strong>Flow-WLS<\/strong>, \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u0443\u044e\u0449\u0438\u0439 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u0437\u0430 10 \u0448\u0430\u0433\u043e\u0432 \u0438 11 \u0441\u0435\u043a\u0443\u043d\u0434 \u043d\u0430 \u043f\u043e\u0442\u0440\u0435\u0431\u0438\u0442\u0435\u043b\u044c\u0441\u043a\u043e\u0439 \u0432\u0438\u0434\u0435\u043e\u043a\u0430\u0440\u0442\u0435.<\/p>\n<\/li>\n<\/ol>\n<hr\/>\n<h3>1. \u041b\u043e\u0432\u0443\u0448\u043a\u0430 \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442: \u043f\u043e\u0447\u0435\u043c\u0443 \u044d\u043a\u0440\u0430\u043d \u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043b\u0441\u044f \u0431\u0435\u043b\u044b\u043c<\/h3>\n<p>\u041f\u0435\u0440\u0432\u0430\u044f \u0436\u0435 \u043f\u043e\u043f\u044b\u0442\u043a\u0430 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u043a\u0430\u0441\u0442\u043e\u043c\u043d\u044b\u0439 \u043c\u043d\u043e\u0433\u043e\u0448\u0430\u0433\u043e\u0432\u044b\u0439 \u0441\u044d\u043c\u043f\u043b\u0435\u0440 \u043d\u0430 \u043c\u043e\u0434\u0435\u043b\u0438 Anima DiT \u043f\u0440\u0438\u0432\u0435\u043b\u0430 \u043a \u0430\u043d\u043e\u043c\u0430\u043b\u0438\u0438: VAE \u0434\u0435\u043a\u043e\u0434\u0438\u0440\u043e\u0432\u0430\u043b \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u043a\u0430\u043a \u0440\u0430\u0432\u043d\u043e\u043c\u0435\u0440\u043d\u044b\u0439 \u0431\u0435\u043b\u044b\u0439 \u043f\u0440\u044f\u043c\u043e\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a \u0441 \u0435\u0434\u0432\u0430 \u0440\u0430\u0437\u043b\u0438\u0447\u0438\u043c\u044b\u043c \u0441\u0438\u043b\u0443\u044d\u0442\u043e\u043c \u0432\u0432\u0435\u0440\u0445\u0443.<\/p>\n<p>\u041f\u0440\u0438\u0447\u0438\u043d\u0430 \u043a\u0440\u044b\u043b\u0430\u0441\u044c \u0432 \u0440\u0430\u0437\u043b\u0438\u0447\u0438\u0438 \u043c\u0430\u0442\u0435\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u043e\u0441\u043d\u043e\u0432\u0430\u043d\u0438\u0439 \u043c\u0435\u0436\u0434\u0443 \u043a\u043b\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043a\u0438\u043c\u0438 \u043c\u043e\u0434\u0435\u043b\u044f\u043c\u0438 \u0434\u0438\u0444\u0444\u0443\u0437\u0438\u0438 (Stable Diffusion 1.5, SDXL, EDM) \u0438 \u0441\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u043c\u0438 \u0433\u0435\u043d\u0435\u0440\u0430\u0442\u043e\u0440\u0430\u043c\u0438 \u043d\u0435\u043f\u0440\u0435\u0440\u044b\u0432\u043d\u043e\u0433\u043e \u043f\u043e\u0442\u043e\u043a\u0430 (Flow Matching \/ DiT).<\/p>\n<h4>\u041a\u043b\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043a\u0438\u0439 EDM:<\/h4>\n<p>\u0412 \u043c\u043e\u0434\u0435\u043b\u044f\u0445 \u0442\u0438\u043f\u0430 Karras EDM \u043c\u0430\u0441\u0448\u0442\u0430\u0431 \u0434\u0438\u0441\u043f\u0435\u0440\u0441\u0438\u0438 \u0434\u0430\u043d\u043d\u044b\u0445 <img decoding=\"async\" class=\"formula inline\" source=\"\\alpha_t \\equiv 1\" alt=\"\\alpha_t \\equiv 1\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/1\/11\/111\/111961bc422d848451e644a4507e8b6c.svg\" width=\"51\" height=\"18\" data-width=\"6.362\" data-height=\"2.262\" data-vertical-align=\"-0.566\" style=\"width: 6.362ex; height: 2.262ex; vertical-align: -0.566ex\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/1\/11\/111\/111961bc422d848451e644a4507e8b6c.svg 780w,&#10;       https:\/\/habrastorage.org\/getpro\/habr\/formulas\/1\/11\/111\/111961bc422d848451e644a4507e8b6c.svg 781w\" loading=\"lazy\" decode=\"async\"\/>, \u0430 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u0432\u044b\u0440\u0430\u0436\u0430\u0435\u0442\u0441\u044f \u0447\u0435\u0440\u0435\u0437 \u043b\u043e\u0433\u0430\u0440\u0438\u0444\u043c\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u043e\u0442\u043d\u043e\u0448\u0435\u043d\u0438\u0435 \u0441\u0438\u0433\u043d\u0430\u043b\/\u0448\u0443\u043c:<\/p>\n<p><img decoding=\"async\" class=\"formula\" source=\"\\lambda_t = -\\ln \\sigma_t\" alt=\"\\lambda_t = -\\ln \\sigma_t\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/2\/2f\/2f1\/2f1db03b8398819fa421d5fa8283c7e2.svg\" width=\"92\" height=\"18\" data-width=\"11.56\" data-height=\"2.262\" data-vertical-align=\"-0.566\" style=\"width: 11.56ex; height: 2.262ex; vertical-align: -0.566ex\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/2\/2f\/2f1\/2f1db03b8398819fa421d5fa8283c7e2.svg 780w,&#10;       https:\/\/habrastorage.org\/getpro\/habr\/formulas\/2\/2f\/2f1\/2f1db03b8398819fa421d5fa8283c7e2.svg 781w\" loading=\"lazy\" decode=\"async\"\/><\/p>\n<h4>Flow Matching (comfy.model_sampling.CONST):<\/h4>\n<p>\u0412 \u043c\u043e\u0434\u0435\u043b\u044f\u0445 \u0432\u044b\u043f\u0440\u044f\u043c\u043b\u0435\u043d\u043d\u043e\u0433\u043e \u043f\u043e\u0442\u043e\u043a\u0430 \u0434\u0438\u0441\u043f\u0435\u0440\u0441\u0438\u044f \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0430 \u043b\u0438\u043d\u0435\u0439\u043d\u043e:<\/p>\n<p><img decoding=\"async\" class=\"formula\" source=\"\\alpha_t = 1 - \\sigma_t\" alt=\"\\alpha_t = 1 - \\sigma_t\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/b\/ba\/ba0\/ba005bad05ef80903ceba07d87e046d1.svg\" width=\"89\" height=\"18\" data-width=\"11.184\" data-height=\"2.262\" data-vertical-align=\"-0.566\" style=\"width: 11.184ex; height: 2.262ex; vertical-align: -0.566ex\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/b\/ba\/ba0\/ba005bad05ef80903ceba07d87e046d1.svg 780w,&#10;       https:\/\/habrastorage.org\/getpro\/habr\/formulas\/b\/ba\/ba0\/ba005bad05ef80903ceba07d87e046d1.svg 781w\" loading=\"lazy\" decode=\"async\"\/><\/p>\n<p>\u0421\u043f\u0440\u044f\u043c\u043b\u0435\u043d\u043d\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u0432\u044b\u0440\u0430\u0436\u0430\u0435\u0442\u0441\u044f \u0447\u0435\u0440\u0435\u0437 \u043b\u043e\u0433\u0438\u0442:<\/p>\n<p><img decoding=\"async\" class=\"formula\" source=\"\\lambda_t = -\\text{logit}(\\sigma_t) = \\ln\\left(\\frac{1 - \\sigma_t}{\\sigma_t}\\right)\" alt=\"\\lambda_t = -\\text{logit}(\\sigma_t) = \\ln\\left(\\frac{1 - \\sigma_t}{\\sigma_t}\\right)\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/d\/d0\/d02\/d02bf758432efcd3cbac5338085a1ac6.svg\" width=\"245\" height=\"43\" data-width=\"30.64\" data-height=\"5.428\" data-vertical-align=\"-2.148\" style=\"width: 30.64ex; height: 5.428ex; vertical-align: -2.148ex\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/d\/d0\/d02\/d02bf758432efcd3cbac5338085a1ac6.svg 780w,&#10;       https:\/\/habrastorage.org\/getpro\/habr\/formulas\/d\/d0\/d02\/d02bf758432efcd3cbac5338085a1ac6.svg 781w\" loading=\"lazy\" decode=\"async\"\/><\/p>\n<p>\u0412\u043e \u043c\u043d\u043e\u0433\u0438\u0445 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430\u0445 \u0434\u043b\u044f \u0432\u044b\u043f\u0440\u044f\u043c\u043b\u0435\u043d\u0438\u044f \u0442\u0440\u0430\u0435\u043a\u0442\u043e\u0440\u0438\u0438 \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u0435\u0442\u0441\u044f \u0437\u0430\u043c\u0435\u043d\u0430 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439:<\/p>\n<p><img decoding=\"async\" class=\"formula\" source=\"y_t = \\frac{x_t}{\\alpha_t}\" alt=\"y_t = \\frac{x_t}{\\alpha_t}\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/0\/0a\/0a6\/0a60c3b5ff4654df43822180921c32c1.svg\" width=\"65\" height=\"36\" data-width=\"8.1\" data-height=\"4.438\" data-vertical-align=\"-1.654\" style=\"width: 8.1ex; height: 4.438ex; vertical-align: -1.654ex\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/0\/0a\/0a6\/0a60c3b5ff4654df43822180921c32c1.svg 780w,&#10;       https:\/\/habrastorage.org\/getpro\/habr\/formulas\/0\/0a\/0a6\/0a60c3b5ff4654df43822180921c32c1.svg 781w\" loading=\"lazy\" decode=\"async\"\/><\/p>\n<p>\u041d\u0430 \u0441\u0442\u0430\u0440\u0442\u0435 \u0434\u0438\u0444\u0444\u0443\u0437\u0438\u0438 (<img decoding=\"async\" class=\"formula inline\" source=\"\\sigma \\approx 1.0\" alt=\"\\sigma \\approx 1.0\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/7\/79\/79b\/79b9696aad56ba386ecac871e3969825.svg\" width=\"58\" height=\"18\" data-width=\"7.2\" data-height=\"2.262\" data-vertical-align=\"-0.566\" style=\"width: 7.2ex; height: 2.262ex; vertical-align: -0.566ex\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/7\/79\/79b\/79b9696aad56ba386ecac871e3969825.svg 780w,&#10;       https:\/\/habrastorage.org\/getpro\/habr\/formulas\/7\/79\/79b\/79b9696aad56ba386ecac871e3969825.svg 781w\" loading=\"lazy\" decode=\"async\"\/>) \u043a\u043e\u044d\u0444\u0444\u0438\u0446\u0438\u0435\u043d\u0442 <img decoding=\"async\" class=\"formula inline\" source=\"\\alpha_t = 1 - \\sigma \\approx 10^{-4}\" alt=\"\\alpha_t = 1 - \\sigma \\approx 10^{-4}\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/a\/a8\/a85\/a85d46e5447b0ec1d5afc6fa51006945.svg\" width=\"143\" height=\"21\" data-width=\"17.931\" data-height=\"2.583\" data-vertical-align=\"-0.726\" style=\"width: 17.931ex; height: 2.583ex; vertical-align: -0.726ex\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/a\/a8\/a85\/a85d46e5447b0ec1d5afc6fa51006945.svg 780w,&#10;       https:\/\/habrastorage.org\/getpro\/habr\/formulas\/a\/a8\/a85\/a85d46e5447b0ec1d5afc6fa51006945.svg 781w\" loading=\"lazy\" decode=\"async\"\/>. \u041f\u0440\u0438 \u0434\u0435\u043b\u0435\u043d\u0438\u0438 \u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0442\u0435\u043d\u0437\u043e\u0440\u0430 \u0433\u0430\u0443\u0441\u0441\u043e\u0432\u0430 \u0448\u0443\u043c\u0430 \u043d\u0430 <img decoding=\"async\" class=\"formula inline\" source=\"\\alpha_t\" alt=\"\\alpha_t\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/0\/02\/025\/025b2eae2546fafa1fd6b9f756a7700d.svg\" width=\"18\" height=\"18\" data-width=\"2.213\" data-height=\"2.262\" data-vertical-align=\"-0.566\" style=\"width: 2.213ex; height: 2.262ex; vertical-align: -0.566ex\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/0\/02\/025\/025b2eae2546fafa1fd6b9f756a7700d.svg 780w,&#10;       https:\/\/habrastorage.org\/getpro\/habr\/formulas\/0\/02\/025\/025b2eae2546fafa1fd6b9f756a7700d.svg 781w\" loading=\"lazy\" decode=\"async\"\/> \u0430\u043c\u043f\u043b\u0438\u0442\u0443\u0434\u0430 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439 \u0432 \u043b\u0430\u0442\u0435\u043d\u0442\u0435 \u043c\u0433\u043d\u043e\u0432\u0435\u043d\u043d\u043e \u0443\u043c\u043d\u043e\u0436\u0430\u043b\u0430\u0441\u044c \u0432 10 000 \u0440\u0430\u0437. \u041a 30-\u043c\u0443 \u0448\u0430\u0433\u0443 \u043b\u0430\u0442\u0435\u043d\u0442\u044b \u0443\u0445\u043e\u0434\u0438\u043b\u0438 \u0432 \u0433\u043b\u0443\u0431\u043e\u043a\u043e\u0435 \u043d\u0430\u0441\u044b\u0449\u0435\u043d\u0438\u0435, \u043a\u043b\u0430\u0441\u0441\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 CFG \u0443\u0441\u0438\u043b\u0438\u0432\u0430\u043b \u0434\u0438\u0441\u0431\u0430\u043b\u0430\u043d\u0441, \u0430 VAE \u0447\u0435\u0441\u0442\u043d\u043e \u0442\u0440\u0430\u043d\u0441\u043b\u0438\u0440\u043e\u0432\u0430\u043b \u044d\u043a\u0441\u0442\u0440\u0435\u043c\u0430\u043b\u044c\u043d\u044b\u0439 \u043a\u043b\u0438\u043f\u043f\u0438\u043d\u0433 \u0432 \u0431\u0435\u043b\u044b\u0439 \u0446\u0432\u0435\u0442 (255, 255, 255).<\/p>\n<h4>\u0420\u0435\u0448\u0435\u043d\u0438\u0435:<\/h4>\n<p>\u0423\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0435 \u0442\u0440\u0430\u0435\u043a\u0442\u043e\u0440\u0438\u0438 Flow Matching \u0443\u0436\u0435 \u0438\u0437\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043f\u0440\u044f\u043c\u043e\u043b\u0438\u043d\u0435\u0439\u043d\u044b\u043c \u0432 \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u0435 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u0435\u0439:<\/p>\n<p><img decoding=\"async\" class=\"formula\" source=\"\\frac{dx}{dt} = v(x, t) = \\frac{x - x_0}{\\sigma}\" alt=\"\\frac{dx}{dt} = v(x, t) = \\frac{x - x_0}{\\sigma}\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/d\/df\/df7\/df7173e1608fbf564e081f30c2ce0b79.svg\" width=\"182\" height=\"37\" data-width=\"22.812\" data-height=\"4.676\" data-vertical-align=\"-1.773\" style=\"width: 22.812ex; height: 4.676ex; vertical-align: -1.773ex\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/d\/df\/df7\/df7173e1608fbf564e081f30c2ce0b79.svg 780w,&#10;       https:\/\/habrastorage.org\/getpro\/habr\/formulas\/d\/df\/df7\/df7173e1608fbf564e081f30c2ce0b79.svg 781w\" loading=\"lazy\" decode=\"async\"\/><\/p>\n<p>\u041e\u043d\u043e \u043d\u0435 \u0442\u0440\u0435\u0431\u0443\u0435\u0442 \u0432\u0441\u043f\u043e\u043c\u043e\u0433\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u043d\u043e\u0440\u043c\u0438\u0440\u043e\u0432\u043e\u043a \u0447\u0435\u0440\u0435\u0437 <img decoding=\"async\" class=\"formula inline\" source=\"\\alpha_t\" alt=\"\\alpha_t\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/0\/02\/025\/025b2eae2546fafa1fd6b9f756a7700d.svg\" width=\"18\" height=\"18\" data-width=\"2.213\" data-height=\"2.262\" data-vertical-align=\"-0.566\" style=\"width: 2.213ex; height: 2.262ex; vertical-align: -0.566ex\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/0\/02\/025\/025b2eae2546fafa1fd6b9f756a7700d.svg 780w,&#10;       https:\/\/habrastorage.org\/getpro\/habr\/formulas\/0\/02\/025\/025b2eae2546fafa1fd6b9f756a7700d.svg 781w\" loading=\"lazy\" decode=\"async\"\/>. \u0414\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0438\u043d\u0442\u0435\u0433\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432\u0435\u043a\u0442\u043e\u0440\u043d\u043e\u0435 \u043f\u043e\u043b\u0435 \u043d\u0430\u043f\u0440\u044f\u043c\u0443\u044e:<\/p>\n<pre><code class=\"python\">def compute_velocity(x: torch.Tensor, denoised: torch.Tensor, sigma: float) -&gt; torch.Tensor:    safe_sigma: float = max(sigma, 1e-4)    return (x - denoised) \/ safe_sigma<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><span class=\"sc-logo-wrapper\"><\/span><\/a><\/div><\/pre>\n<p>\u041f\u043e\u0441\u043b\u0435 \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0430 \u043d\u0430 \u043f\u0440\u044f\u043c\u043e\u0435 \u0438\u043d\u0442\u0435\u0433\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043f\u043e\u043b\u044f \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u0435\u0439 \u043f\u0435\u0440\u0435\u0441\u0432\u0435\u0442 \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u0438\u0441\u0447\u0435\u0437.<\/p>\n<hr\/>\n<h3>2. \u0420\u0430\u0437\u0432\u0430\u043b \u0432\u044b\u0441\u043e\u043a\u0438\u0445 \u043f\u043e\u0440\u044f\u0434\u043a\u043e\u0432: \u043f\u043e\u0447\u0435\u043c\u0443 \u0410\u0434\u0430\u043c\u0441-\u0411\u0430\u0448\u0444\u043e\u0440\u0442 6-\u0433\u043e \u043f\u043e\u0440\u044f\u0434\u043a\u0430 \u0440\u0443\u0445\u043d\u0443\u043b \u0432 \u0448\u0443\u043c<\/h3>\n<p>\u0423\u0441\u0442\u0440\u0430\u043d\u0438\u0432 \u043a\u043b\u0438\u043f\u043f\u0438\u043d\u0433, \u043c\u044b \u043f\u043e\u0441\u0442\u0440\u043e\u0438\u043b\u0438 \u043f\u0440\u044f\u043c\u043e\u0435 \u043c\u043d\u043e\u0433\u043e\u0448\u0430\u0433\u043e\u0432\u043e\u0435 \u0438\u043d\u0442\u0435\u0433\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0410\u0434\u0430\u043c\u0441\u0430-\u0411\u0430\u0448\u0444\u043e\u0440\u0442\u0430 \u043d\u0430 \u043d\u0435\u0440\u0430\u0432\u043d\u043e\u043c\u0435\u0440\u043d\u043e\u0439 \u0441\u0435\u0442\u043a\u0435 \u0448\u0430\u0433\u043e\u0432 \u0434\u043b\u044f \u043f\u043e\u0440\u044f\u0434\u043a\u043e\u0432 \u043e\u0442 2 \u0434\u043e 6.<\/p>\n<p>\u041a\u0430\u0437\u0430\u043b\u043e\u0441\u044c \u0431\u044b, \u0447\u0435\u043c \u0432\u044b\u0448\u0435 \u043f\u043e\u0440\u044f\u0434\u043e\u043a \u0438\u043d\u0442\u0435\u0440\u043f\u043e\u043b\u044f\u0446\u0438\u043e\u043d\u043d\u043e\u0433\u043e \u043f\u043e\u043b\u0438\u043d\u043e\u043c\u0430, \u0442\u0435\u043c \u043c\u0435\u043d\u044c\u0448\u0435 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u0430\u044f \u043e\u0448\u0438\u0431\u043a\u0430 \u0443\u0441\u0435\u0447\u0435\u043d\u0438\u044f (<img decoding=\"async\" class=\"formula inline\" source=\"O(h^p)\" alt=\"O(h^p)\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/3\/35\/352\/3527bf5c4ba178c2f0a23161ca901d96.svg\" width=\"46\" height=\"18\" data-width=\"5.782\" data-height=\"2.262\" data-vertical-align=\"-0.566\" style=\"width: 5.782ex; height: 2.262ex; vertical-align: -0.566ex\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/3\/35\/352\/3527bf5c4ba178c2f0a23161ca901d96.svg 780w,&#10;       https:\/\/habrastorage.org\/getpro\/habr\/formulas\/3\/35\/352\/3527bf5c4ba178c2f0a23161ca901d96.svg 781w\" loading=\"lazy\" decode=\"async\"\/>). \u041e\u0434\u043d\u0430\u043a\u043e \u043c\u0435\u0442\u0440\u0438\u043a\u0438 \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044f \u0441 \u044d\u0442\u0430\u043b\u043e\u043d\u043e\u043c \u043f\u043e\u043a\u0430\u0437\u0430\u043b\u0438 \u043e\u0431\u0440\u0430\u0442\u043d\u043e\u0435:<\/p>\n<div>\n<div class=\"table\">\n<table>\n<tbody>\n<tr>\n<th>\n<p align=\"left\">\u0421\u044d\u043c\u043f\u043b\u0435\u0440<\/p>\n<\/th>\n<th>\n<p align=\"left\">\u041f\u043e\u0440\u044f\u0434\u043e\u043a (<img decoding=\"async\" class=\"formula inline\" source=\"p\" alt=\"p\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/8\/83\/838\/83878c91171338902e0fe0fb97a8c47a.svg\" width=\"12\" height=\"12\" data-width=\"1.138\" data-height=\"1.439\" data-vertical-align=\"-0.439\" style=\"width: 1.138ex; height: 1.439ex; vertical-align: -0.439ex\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/8\/83\/838\/83878c91171338902e0fe0fb97a8c47a.svg 780w,&#10;       https:\/\/habrastorage.org\/getpro\/habr\/formulas\/8\/83\/838\/83878c91171338902e0fe0fb97a8c47a.svg 781w\" loading=\"lazy\" decode=\"async\"\/>)<\/p>\n<\/th>\n<th>\n<p align=\"left\">SSIM<\/p>\n<\/th>\n<th>\n<p align=\"left\">LPIPS (<img decoding=\"async\" class=\"formula inline\" source=\"\\downarrow\" alt=\"\\downarrow\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/4\/42\/42a\/42ae4615838c20bda1769756b7078922.svg\" width=\"12\" height=\"18\" data-width=\"1.131\" data-height=\"2.262\" data-vertical-align=\"-0.566\" style=\"width: 1.131ex; height: 2.262ex; vertical-align: -0.566ex\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/4\/42\/42a\/42ae4615838c20bda1769756b7078922.svg 780w,&#10;       https:\/\/habrastorage.org\/getpro\/habr\/formulas\/4\/42\/42a\/42ae4615838c20bda1769756b7078922.svg 781w\" loading=\"lazy\" decode=\"async\"\/>)<\/p>\n<\/th>\n<th>\n<p align=\"left\">\u041a\u0430\u0447\u0435\u0441\u0442\u0432\u043e \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u0438<\/p>\n<\/th>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\"><code>cab_2<\/code><\/p>\n<\/td>\n<td>\n<p align=\"left\">2<\/p>\n<\/td>\n<td>\n<p align=\"left\">0.7453<\/p>\n<\/td>\n<td>\n<p align=\"left\">0.4638<\/p>\n<\/td>\n<td>\n<p align=\"left\">\u0421\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u043e, \u0447\u0435\u0442\u043a\u0438\u0435 \u0444\u043e\u0440\u043c\u044b<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\"><code>cab_3<\/code><\/p>\n<\/td>\n<td>\n<p align=\"left\">3<\/p>\n<\/td>\n<td>\n<p align=\"left\">0.7461<\/p>\n<\/td>\n<td>\n<p align=\"left\">0.4639<\/p>\n<\/td>\n<td>\n<p align=\"left\">\u041e\u043f\u0442\u0438\u043c\u0443\u043c \u043a\u043b\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u0441\u0445\u0435\u043c\u044b<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\"><code>cab_4<\/code><\/p>\n<\/td>\n<td>\n<p align=\"left\">4<\/p>\n<\/td>\n<td>\n<p align=\"left\">0.7447<\/p>\n<\/td>\n<td>\n<p align=\"left\">0.4664<\/p>\n<\/td>\n<td>\n<p align=\"left\">\u0421\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u043e<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\"><code>cab_5<\/code><\/p>\n<\/td>\n<td>\n<p align=\"left\">5<\/p>\n<\/td>\n<td>\n<p align=\"left\">0.7264<\/p>\n<\/td>\n<td>\n<p align=\"left\">0.5256<\/p>\n<\/td>\n<td>\n<p align=\"left\">\u0417\u0430\u043c\u0435\u0442\u043d\u044b\u0435 \u0430\u0440\u0442\u0435\u0444\u0430\u043a\u0442\u044b \u0433\u0435\u043e\u043c\u0435\u0442\u0440\u0438\u0438<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\"><code>cab_6<\/code><\/p>\n<\/td>\n<td>\n<p align=\"left\">6<\/p>\n<\/td>\n<td>\n<p align=\"left\"><strong>0.1341<\/strong><\/p>\n<\/td>\n<td>\n<p align=\"left\"><strong>0.8043<\/strong><\/p>\n<\/td>\n<td>\n<p align=\"left\"><strong>\u041f\u043e\u043b\u043d\u044b\u0439 \u043a\u043e\u043b\u043b\u0430\u043f\u0441 \u0432 \u0448\u0443\u043c<\/strong><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<p>\u041d\u0430\u0447\u0438\u043d\u0430\u044f \u0441 5-\u0433\u043e \u043f\u043e\u0440\u044f\u0434\u043a\u0430 \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u044f \u0440\u0435\u0437\u043a\u043e \u0434\u0435\u0433\u0440\u0430\u0434\u0438\u0440\u043e\u0432\u0430\u043b\u0430, \u0430 6-\u0439 \u043f\u043e\u0440\u044f\u0434\u043e\u043a \u0440\u0430\u0437\u0440\u0443\u0448\u0438\u043b \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u0434\u043e \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u044f \u043d\u0435\u0441\u0432\u044f\u0437\u043d\u043e\u0433\u043e \u0448\u0443\u043c\u0430.<\/p>\n<h4>\u0412 \u0447\u0435\u043c \u043f\u0440\u0438\u0447\u0438\u043d\u0430 \u043a\u043e\u043b\u043b\u0430\u043f\u0441\u0430?<\/h4>\n<ol>\n<li>\n<p><strong>\u0414\u0435\u043b\u0435\u043d\u0438\u0435 \u043d\u0430 \u0441\u0442\u0435\u043f\u0435\u043d\u0438 \u0448\u0430\u0433\u0430<\/strong>: \u0420\u0430\u0437\u0434\u0435\u043b\u0435\u043d\u043d\u044b\u0435 \u0440\u0430\u0437\u043d\u043e\u0441\u0442\u0438 <img decoding=\"async\" class=\"formula inline\" source=\"k\" alt=\"k\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/8\/8c\/8ce\/8ce4b16b22b58894aa86c421e8759df3.svg\" width=\"12\" height=\"13\" data-width=\"1.179\" data-height=\"1.595\" data-vertical-align=\"-0.025\" style=\"width: 1.179ex; height: 1.595ex; vertical-align: -0.025ex\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/8\/8c\/8ce\/8ce4b16b22b58894aa86c421e8759df3.svg 780w,&#10;       https:\/\/habrastorage.org\/getpro\/habr\/formulas\/8\/8c\/8ce\/8ce4b16b22b58894aa86c421e8759df3.svg 781w\" loading=\"lazy\" decode=\"async\"\/>-\u0433\u043e \u043f\u043e\u0440\u044f\u0434\u043a\u0430 \u0434\u0435\u043b\u044f\u0442\u0441\u044f \u043d\u0430 \u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u0440\u0430\u0441\u0441\u0442\u043e\u044f\u043d\u0438\u0439 \u043c\u0435\u0436\u0434\u0443 \u0443\u0437\u043b\u0430\u043c\u0438 \u0441\u0435\u0442\u043a\u0438 <img decoding=\"async\" class=\"formula inline\" source=\"\\prod h_i \\sim h^k\" alt=\"\\prod h_i \\sim h^k\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/b\/bf\/bf9\/bf9d853203f83b8422de7f0ad7bd8cfe.svg\" width=\"85\" height=\"25\" data-width=\"10.653\" data-height=\"3.167\" data-vertical-align=\"-1.018\" style=\"width: 10.653ex; height: 3.167ex; vertical-align: -1.018ex\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/b\/bf\/bf9\/bf9d853203f83b8422de7f0ad7bd8cfe.svg 780w,&#10;       https:\/\/habrastorage.org\/getpro\/habr\/formulas\/b\/bf\/bf9\/bf9d853203f83b8422de7f0ad7bd8cfe.svg 781w\" loading=\"lazy\" decode=\"async\"\/>. \u041f\u0440\u0438 \u0448\u0430\u0433\u0435 <img decoding=\"async\" class=\"formula inline\" source=\"h \\approx 0.03\" alt=\"h \\approx 0.03\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/d\/d8\/d87\/d877f6d3159bb8c44216cbb3da0ff0ed.svg\" width=\"67\" height=\"18\" data-width=\"8.343\" data-height=\"2.262\" data-vertical-align=\"-0.566\" style=\"width: 8.343ex; height: 2.262ex; vertical-align: -0.566ex\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/d\/d8\/d87\/d877f6d3159bb8c44216cbb3da0ff0ed.svg 780w,&#10;       https:\/\/habrastorage.org\/getpro\/habr\/formulas\/d\/d8\/d87\/d877f6d3159bb8c44216cbb3da0ff0ed.svg 781w\" loading=\"lazy\" decode=\"async\"\/> \u0437\u043d\u0430\u043c\u0435\u043d\u0430\u0442\u0435\u043b\u044c \u0434\u043b\u044f \u043f\u043e\u0440\u044f\u0434\u043a\u0430 <img decoding=\"async\" class=\"formula inline\" source=\"p=6\" alt=\"p=6\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/4\/42\/42d\/42dc24c7ada713597216d2e21a561407.svg\" width=\"42\" height=\"16\" data-width=\"5.286\" data-height=\"1.946\" data-vertical-align=\"-0.439\" style=\"width: 5.286ex; height: 1.946ex; vertical-align: -0.439ex\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/4\/42\/42d\/42dc24c7ada713597216d2e21a561407.svg 780w,&#10;       https:\/\/habrastorage.org\/getpro\/habr\/formulas\/4\/42\/42d\/42dc24c7ada713597216d2e21a561407.svg 781w\" loading=\"lazy\" decode=\"async\"\/> \u0441\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u043f\u043e\u0440\u044f\u0434\u043a\u0430 <img decoding=\"async\" class=\"formula inline\" source=\"10^{-7}\" alt=\"10^{-7}\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/3\/39\/390\/3907c05eab507b9f90ead1144d524c7c.svg\" width=\"36\" height=\"17\" data-width=\"4.495\" data-height=\"2.066\" data-vertical-align=\"-0.05\" style=\"width: 4.495ex; height: 2.066ex; vertical-align: -0.05ex\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/3\/39\/390\/3907c05eab507b9f90ead1144d524c7c.svg 780w,&#10;       https:\/\/habrastorage.org\/getpro\/habr\/formulas\/3\/39\/390\/3907c05eab507b9f90ead1144d524c7c.svg 781w\" loading=\"lazy\" decode=\"async\"\/>. \u041c\u0430\u043b\u0435\u0439\u0448\u0430\u044f \u043d\u0435\u043b\u0438\u043d\u0435\u0439\u043d\u043e\u0441\u0442\u044c \u043e\u0442\u043a\u043b\u0438\u043a\u0430 \u043d\u0435\u0439\u0440\u043e\u0441\u0435\u0442\u0438 \u0443\u043c\u043d\u043e\u0436\u0430\u0435\u0442\u0441\u044f \u0432 \u043c\u0438\u043b\u043b\u0438\u043e\u043d\u044b \u0440\u0430\u0437.<\/p>\n<\/li>\n<li>\n<p><strong>\u0417\u043d\u0430\u043a\u043e\u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0441\u0442\u044c \u0432\u0435\u0441\u043e\u0432 \u041b\u0430\u0433\u0440\u0430\u043d\u0436\u0430<\/strong>: \u0412\u0435\u0441\u0430 \u043a\u0432\u0430\u0434\u0440\u0430\u0442\u0443\u0440\u043d\u043e\u0439 \u0444\u043e\u0440\u043c\u0443\u043b\u044b \u0434\u043b\u044f \u043d\u0435\u0440\u0430\u0432\u043d\u043e\u043c\u0435\u0440\u043d\u043e\u0439 \u0441\u0435\u0442\u043a\u0438 \u0432\u044b\u0447\u0438\u0441\u043b\u044f\u044e\u0442\u0441\u044f \u0447\u0435\u0440\u0435\u0437 \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u043b\u044b \u0431\u0430\u0437\u0438\u0441\u043d\u044b\u0445 \u043f\u043e\u043b\u0438\u043d\u043e\u043c\u043e\u0432:<\/p>\n<\/li>\n<\/ol>\n<p><img decoding=\"async\" class=\"formula\" source=\"w_k = \\int_0^{\\Delta t} \\prod_{j \\neq k} \\frac{s - s_j}{s_k - s_j} \\, ds\" alt=\"w_k = \\int_0^{\\Delta t} \\prod_{j \\neq k} \\frac{s - s_j}{s_k - s_j} \\, ds\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/3\/31\/31b\/31bca044e8f47d0a23589d87909cfaa1.svg\" width=\"192\" height=\"54\" data-width=\"24.061\" data-height=\"6.719\" data-vertical-align=\"-2.794\" style=\"width: 24.061ex; height: 6.719ex; vertical-align: -2.794ex\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/3\/31\/31b\/31bca044e8f47d0a23589d87909cfaa1.svg 780w,&#10;       https:\/\/habrastorage.org\/getpro\/habr\/formulas\/3\/31\/31b\/31bca044e8f47d0a23589d87909cfaa1.svg 781w\" loading=\"lazy\" decode=\"async\"\/><\/p>\n<p>\u041f\u0440\u0438 \u0448\u0430\u0433\u0435 <img decoding=\"async\" class=\"formula inline\" source=\"\\Delta t = -0.03\" alt=\"\\Delta t = -0.03\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/a\/af\/afc\/afca7840f0812746414dbfeae1fdaf1d.svg\" width=\"92\" height=\"18\" data-width=\"11.501\" data-height=\"2.262\" data-vertical-align=\"-0.566\" style=\"width: 11.501ex; height: 2.262ex; vertical-align: -0.566ex\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/a\/af\/afc\/afca7840f0812746414dbfeae1fdaf1d.svg 780w,&#10;       https:\/\/habrastorage.org\/getpro\/habr\/formulas\/a\/af\/afc\/afca7840f0812746414dbfeae1fdaf1d.svg 781w\" loading=\"lazy\" decode=\"async\"\/> \u0432\u0435\u0441\u0430 \u0434\u043b\u044f \u0440\u0430\u0437\u043d\u044b\u0445 \u043f\u043e\u0440\u044f\u0434\u043a\u043e\u0432 \u0432\u0435\u0434\u0443\u0442 \u0441\u0435\u0431\u044f \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c:<\/p>\n<ul>\n<li>\n<p><strong>\u041f\u043e\u0440\u044f\u0434\u043e\u043a 2<\/strong>: <img decoding=\"async\" class=\"formula inline\" source=\"[-0.045, 0.015]\" alt=\"[-0.045, 0.015]\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/3\/3d\/3df\/3df0857755bf09517480b2efdebd9610.svg\" width=\"115\" height=\"18\" data-width=\"14.332\" data-height=\"2.262\" data-vertical-align=\"-0.566\" style=\"width: 14.332ex; height: 2.262ex; vertical-align: -0.566ex\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/3\/3d\/3df\/3df0857755bf09517480b2efdebd9610.svg 780w,&#10;       https:\/\/habrastorage.org\/getpro\/habr\/formulas\/3\/3d\/3df\/3df0857755bf09517480b2efdebd9610.svg 781w\" loading=\"lazy\" decode=\"async\"\/> (\u0441\u0443\u043c\u043c\u0430 \u043c\u043e\u0434\u0443\u043b\u0435\u0439 <img decoding=\"async\" class=\"formula inline\" source=\"0.060\" alt=\"0.060\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/6\/68\/68f\/68f63060374405a670905fd85cd95552.svg\" width=\"41\" height=\"12\" data-width=\"5.154\" data-height=\"1.557\" data-vertical-align=\"-0.05\" style=\"width: 5.154ex; height: 1.557ex; vertical-align: -0.05ex\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/6\/68\/68f\/68f63060374405a670905fd85cd95552.svg 780w,&#10;       https:\/\/habrastorage.org\/getpro\/habr\/formulas\/6\/68\/68f\/68f63060374405a670905fd85cd95552.svg 781w\" loading=\"lazy\" decode=\"async\"\/>)<\/p>\n<\/li>\n<li>\n<p><strong>\u041f\u043e\u0440\u044f\u0434\u043e\u043a 3<\/strong>: <img decoding=\"async\" class=\"formula inline\" source=\"[-0.057, 0.040, -0.012]\" alt=\"[-0.057, 0.040, -0.012]\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/a\/a8\/a88\/a88abf31f224d55275634c0bd23283a7.svg\" width=\"178\" height=\"18\" data-width=\"22.252\" data-height=\"2.262\" data-vertical-align=\"-0.566\" style=\"width: 22.252ex; height: 2.262ex; vertical-align: -0.566ex\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/a\/a8\/a88\/a88abf31f224d55275634c0bd23283a7.svg 780w,&#10;       https:\/\/habrastorage.org\/getpro\/habr\/formulas\/a\/a8\/a88\/a88abf31f224d55275634c0bd23283a7.svg 781w\" loading=\"lazy\" decode=\"async\"\/> (\u0441\u0443\u043c\u043c\u0430 \u043c\u043e\u0434\u0443\u043b\u0435\u0439 <img decoding=\"async\" class=\"formula inline\" source=\"0.110\" alt=\"0.110\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/8\/8e\/8e5\/8e5d7ec85923acdd329627d50b9bc213.svg\" width=\"41\" height=\"12\" data-width=\"5.154\" data-height=\"1.557\" data-vertical-align=\"-0.05\" style=\"width: 5.154ex; height: 1.557ex; vertical-align: -0.05ex\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/8\/8e\/8e5\/8e5d7ec85923acdd329627d50b9bc213.svg 780w,&#10;       https:\/\/habrastorage.org\/getpro\/habr\/formulas\/8\/8e\/8e5\/8e5d7ec85923acdd329627d50b9bc213.svg 781w\" loading=\"lazy\" decode=\"async\"\/>)<\/p>\n<\/li>\n<li>\n<p><strong>\u041f\u043e\u0440\u044f\u0434\u043e\u043a 6<\/strong>: \u0432\u0435\u0441\u0430 \u043d\u0430\u0447\u0438\u043d\u0430\u044e\u0442 \u0445\u0430\u043e\u0442\u0438\u0447\u043d\u043e \u043e\u0441\u0446\u0438\u043b\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441\u043e \u0441\u043c\u0435\u043d\u043e\u0439 \u0437\u043d\u0430\u043a\u043e\u0432 (<img decoding=\"async\" class=\"formula inline\" source=\"\\pm 0.11, \\mp 0.15\" alt=\"\\pm 0.11, \\mp 0.15\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/9\/94\/94a\/94a329085c135e94a3a2be6fd51626b2.svg\" width=\"101\" height=\"18\" data-width=\"12.572\" data-height=\"2.262\" data-vertical-align=\"-0.566\" style=\"width: 12.572ex; height: 2.262ex; vertical-align: -0.566ex\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/9\/94\/94a\/94a329085c135e94a3a2be6fd51626b2.svg 780w,&#10;       https:\/\/habrastorage.org\/getpro\/habr\/formulas\/9\/94\/94a\/94a329085c135e94a3a2be6fd51626b2.svg 781w\" loading=\"lazy\" decode=\"async\"\/>), \u0430 \u0441\u0443\u043c\u043c\u0430 \u0438\u0445 \u043c\u043e\u0434\u0443\u043b\u0435\u0439 \u0432\u044b\u0440\u0430\u0441\u0442\u0430\u0435\u0442 \u0434\u043e <strong><img decoding=\"async\" class=\"formula inline\" source=\"0.540\" alt=\"0.540\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/a\/a7\/a72\/a727da37ba6f7bdb6d157ee85d19ba70.svg\" width=\"41\" height=\"13\" data-width=\"5.154\" data-height=\"1.581\" data-vertical-align=\"-0.05\" style=\"width: 5.154ex; height: 1.581ex; vertical-align: -0.05ex\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/a\/a7\/a72\/a727da37ba6f7bdb6d157ee85d19ba70.svg 780w,&#10;       https:\/\/habrastorage.org\/getpro\/habr\/formulas\/a\/a7\/a72\/a727da37ba6f7bdb6d157ee85d19ba70.svg 781w\" loading=\"lazy\" decode=\"async\"\/><\/strong>.<\/p>\n<\/li>\n<\/ul>\n<p>\u0418\u043d\u0442\u0435\u0433\u0440\u0430\u0442\u043e\u0440 \u043f\u0440\u0435\u0432\u0440\u0430\u0449\u0430\u0435\u0442\u0441\u044f \u0432 \u0440\u0435\u0437\u043e\u043d\u0430\u0442\u043e\u0440 \u0432\u044b\u0441\u043e\u043a\u043e\u0447\u0430\u0441\u0442\u043e\u0442\u043d\u043e\u0433\u043e \u0434\u0440\u0435\u0431\u0435\u0437\u0433\u0430 (\u043a\u043b\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u0444\u0435\u043d\u043e\u043c\u0435\u043d \u0420\u0443\u043d\u0433\u0435). \u0422\u043e\u0447\u043d\u0430\u044f \u043f\u043e\u043b\u0438\u043d\u043e\u043c\u0438\u0430\u043b\u044c\u043d\u0430\u044f \u0438\u043d\u0442\u0435\u0440\u043f\u043e\u043b\u044f\u0446\u0438\u044f \u043d\u0430 \u0434\u0438\u0444\u0444\u0443\u0437\u0438\u043e\u043d\u043d\u044b\u0445 \u0442\u0440\u0430\u0435\u043a\u0442\u043e\u0440\u0438\u044f\u0445 \u0438\u043c\u0435\u0435\u0442 \u0436\u0435\u0441\u0442\u043a\u043e\u0435 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u0435: <strong>\u043f\u043e\u0440\u044f\u0434\u043a\u0438 <img decoding=\"async\" class=\"formula inline\" source=\"p \\ge 5\" alt=\"p \\ge 5\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/3\/36\/36f\/36fc3fbf4e652754a2f00a008e5c0ea5.svg\" width=\"42\" height=\"18\" data-width=\"5.286\" data-height=\"2.262\" data-vertical-align=\"-0.566\" style=\"width: 5.286ex; height: 2.262ex; vertical-align: -0.566ex\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/3\/36\/36f\/36fc3fbf4e652754a2f00a008e5c0ea5.svg 780w,&#10;       https:\/\/habrastorage.org\/getpro\/habr\/formulas\/3\/36\/36f\/36fc3fbf4e652754a2f00a008e5c0ea5.svg 781w\" loading=\"lazy\" decode=\"async\"\/> \u043c\u0430\u0442\u0435\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043d\u0435\u0443\u0441\u0442\u043e\u0439\u0447\u0438\u0432\u044b<\/strong>.<\/p>\n<hr\/>\n<h3>3. \u041c\u0435\u0442\u043e\u0434 Flow-WLS: \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u0438\u0437\u0430\u0446\u0438\u044f \u0421\u0430\u0432\u0438\u0446\u043a\u043e\u0433\u043e-\u0413\u043e\u043b\u0435\u044f<\/h3>\n<p>\u041c\u044b \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u043b\u0438 \u0432\u043e\u043f\u0440\u043e\u0441: \u043a\u0430\u043a \u0437\u0430\u0434\u0435\u0439\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u0437\u0430 5\u20138 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0438\u0445 \u0448\u0430\u0433\u043e\u0432, \u043d\u0435 \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u044f \u043e\u0441\u0446\u0438\u043b\u043b\u0438\u0440\u0443\u044e\u0449\u0438\u0439 \u043f\u043e\u043b\u0438\u043d\u043e\u043c \u0432\u044b\u0441\u043e\u043a\u043e\u0439 \u0441\u0442\u0435\u043f\u0435\u043d\u0438?<\/p>\n<p>\u0420\u0435\u0448\u0435\u043d\u0438\u0435 \u043f\u0440\u0438\u0448\u043b\u043e \u0438\u0437 \u0441\u043f\u0435\u043a\u0442\u0440\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0430\u043d\u0430\u043b\u0438\u0437\u0430 \u0438 \u0446\u0438\u0444\u0440\u043e\u0432\u043e\u0439 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u0441\u0438\u0433\u043d\u0430\u043b\u043e\u0432 \u2014 <strong>\u0444\u0438\u043b\u044c\u0442\u0440 \u0421\u0430\u0432\u0438\u0446\u043a\u043e\u0433\u043e-\u0413\u043e\u043b\u0435\u044f (Savitzky-Golay)<\/strong>.<\/p>\n<p>\u0412\u043c\u0435\u0441\u0442\u043e \u0438\u043d\u0442\u0435\u0440\u043f\u043e\u043b\u044f\u0446\u0438\u043e\u043d\u043d\u043e\u0433\u043e \u043f\u043e\u043b\u0438\u043d\u043e\u043c\u0430 \u0441\u0442\u0435\u043f\u0435\u043d\u0438 <img decoding=\"async\" class=\"formula inline\" source=\"L-1\" alt=\"L-1\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/9\/9e\/9ec\/9ec3e65a53670d1e23fae033c83803bb.svg\" width=\"44\" height=\"14\" data-width=\"5.438\" data-height=\"1.731\" data-vertical-align=\"-0.186\" style=\"width: 5.438ex; height: 1.731ex; vertical-align: -0.186ex\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/9\/9e\/9ec\/9ec3e65a53670d1e23fae033c83803bb.svg 780w,&#10;       https:\/\/habrastorage.org\/getpro\/habr\/formulas\/9\/9e\/9ec\/9ec3e65a53670d1e23fae033c83803bb.svg 781w\" loading=\"lazy\" decode=\"async\"\/>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043e\u0431\u044f\u0437\u0430\u043d \u0441\u0442\u0440\u043e\u0433\u043e \u043f\u0440\u043e\u0439\u0442\u0438 \u0447\u0435\u0440\u0435\u0437 \u043a\u0430\u0436\u0434\u0443\u044e \u0442\u043e\u0447\u043a\u0443 \u0438\u0441\u0442\u043e\u0440\u0438\u0438, <strong>Flow-WLS<\/strong> \u0430\u043f\u043f\u0440\u043e\u043a\u0441\u0438\u043c\u0438\u0440\u0443\u0435\u0442 \u0442\u0440\u0430\u0435\u043a\u0442\u043e\u0440\u0438\u044e <strong>\u0436\u0435\u0441\u0442\u043a\u043e \u0441\u0442\u0430\u0431\u0438\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0439 \u043f\u0430\u0440\u0430\u0431\u043e\u043b\u043e\u0439 2-\u0439 \u0441\u0442\u0435\u043f\u0435\u043d\u0438<\/strong> \u043c\u0435\u0442\u043e\u0434\u043e\u043c \u0432\u0437\u0432\u0435\u0448\u0435\u043d\u043d\u044b\u0445 \u043d\u0430\u0438\u043c\u0435\u043d\u044c\u0448\u0438\u0445 \u043a\u0432\u0430\u0434\u0440\u0430\u0442\u043e\u0432 (WLS) \u043f\u043e <img decoding=\"async\" class=\"formula inline\" source=\"L\" alt=\"L\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/d\/d2\/d20\/d20caec3b48a1eef164cb4ca81ba2587.svg\" width=\"12\" height=\"12\" data-width=\"1.541\" data-height=\"1.545\" style=\"width: 1.541ex; height: 1.545ex\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/d\/d2\/d20\/d20caec3b48a1eef164cb4ca81ba2587.svg 780w,&#10;       https:\/\/habrastorage.org\/getpro\/habr\/formulas\/d\/d2\/d20\/d20caec3b48a1eef164cb4ca81ba2587.svg 781w\" loading=\"lazy\" decode=\"async\"\/> \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0438\u043c \u0442\u043e\u0447\u043a\u0430\u043c \u0441 \u043a\u043e\u044d\u0444\u0444\u0438\u0446\u0438\u0435\u043d\u0442\u043e\u043c \u0437\u0430\u0442\u0443\u0445\u0430\u043d\u0438\u044f \u043f\u0430\u043c\u044f\u0442\u0438 <img decoding=\"async\" class=\"formula inline\" source=\"\\gamma = 0.85\" alt=\"\\gamma = 0.85\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/4\/46\/46f\/46fbd5d4e0edf4884503b8866b7629c2.svg\" width=\"66\" height=\"18\" data-width=\"8.268\" data-height=\"2.262\" data-vertical-align=\"-0.566\" style=\"width: 8.268ex; height: 2.262ex; vertical-align: -0.566ex\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/4\/46\/46f\/46fbd5d4e0edf4884503b8866b7629c2.svg 780w,&#10;       https:\/\/habrastorage.org\/getpro\/habr\/formulas\/4\/46\/46f\/46fbd5d4e0edf4884503b8866b7629c2.svg 781w\" loading=\"lazy\" decode=\"async\"\/>:<\/p>\n<p><img decoding=\"async\" class=\"formula\" source=\"\\min_{c} \\sum_{k=0}^{L-1} \\gamma^k \\left( c_0 + c_1 s_k + c_2 s_k^2 - v_k \\right)^2\" alt=\"\\min_{c} \\sum_{k=0}^{L-1} \\gamma^k \\left( c_0 + c_1 s_k + c_2 s_k^2 - v_k \\right)^2\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/0\/0c\/0c0\/0c038452d4e030c24325adea804fa9de.svg\" width=\"270\" height=\"54\" data-width=\"33.701\" data-height=\"6.784\" data-vertical-align=\"-2.827\" style=\"width: 33.701ex; height: 6.784ex; vertical-align: -2.827ex\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/0\/0c\/0c0\/0c038452d4e030c24325adea804fa9de.svg 780w,&#10;       https:\/\/habrastorage.org\/getpro\/habr\/formulas\/0\/0c\/0c0\/0c038452d4e030c24325adea804fa9de.svg 781w\" loading=\"lazy\" decode=\"async\"\/><\/p>\n<h4>\u0427\u0442\u043e \u0434\u0430\u0435\u0442 \u044d\u0442\u043e\u0442 \u043f\u0435\u0440\u0435\u0445\u043e\u0434:<\/h4>\n<ol>\n<li>\n<p><strong>\u0424\u0438\u0437\u0438\u0447\u0435\u0441\u043a\u0430\u044f \u043d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u043e\u0441\u0446\u0438\u043b\u043b\u044f\u0446\u0438\u0439<\/strong>: \u041f\u0430\u0440\u0430\u0431\u043e\u043b\u0430 (<img decoding=\"async\" class=\"formula inline\" source=\"d=2\" alt=\"d=2\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/8\/87\/87d\/87dd9e833d58394690e907aed4c2e01c.svg\" width=\"43\" height=\"14\" data-width=\"5.325\" data-height=\"1.756\" data-vertical-align=\"-0.186\" style=\"width: 5.325ex; height: 1.756ex; vertical-align: -0.186ex\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/8\/87\/87d\/87dd9e833d58394690e907aed4c2e01c.svg 780w,&#10;       https:\/\/habrastorage.org\/getpro\/habr\/formulas\/8\/87\/87d\/87dd9e833d58394690e907aed4c2e01c.svg 781w\" loading=\"lazy\" decode=\"async\"\/>) \u043d\u0435 \u0438\u043c\u0435\u0435\u0442 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0441\u0442\u0435\u043f\u0435\u043d\u0435\u0439 \u0441\u0432\u043e\u0431\u043e\u0434\u044b \u0438 \u043d\u0435 \u0441\u043f\u043e\u0441\u043e\u0431\u043d\u0430 \u0438\u0437\u0433\u0438\u0431\u0430\u0442\u044c\u0441\u044f \u0432\u043e\u043b\u043d\u0430\u043c\u0438.<\/p>\n<\/li>\n<li>\n<p><strong>\u0421\u0436\u0430\u0442\u0438\u0435 \u043d\u043e\u0440\u043c\u044b \u0432\u0435\u0441\u043e\u0432<\/strong>: \u041f\u0440\u0438 \u0440\u043e\u0441\u0442\u0435 \u0438\u0441\u0442\u043e\u0440\u0438\u0438 \u0441 3 \u0434\u043e 6 \u0448\u0430\u0433\u043e\u0432 \u0441\u0443\u043c\u043c\u0430 \u043c\u043e\u0434\u0443\u043b\u0435\u0439 \u0432\u0435\u0441\u043e\u0432 \u0443 Flow-WLS <strong>\u043f\u0430\u0434\u0430\u0435\u0442<\/strong> \u0441 <img decoding=\"async\" class=\"formula inline\" source=\"0.110\" alt=\"0.110\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/8\/8e\/8e5\/8e5d7ec85923acdd329627d50b9bc213.svg\" width=\"41\" height=\"12\" data-width=\"5.154\" data-height=\"1.557\" data-vertical-align=\"-0.05\" style=\"width: 5.154ex; height: 1.557ex; vertical-align: -0.05ex\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/8\/8e\/8e5\/8e5d7ec85923acdd329627d50b9bc213.svg 780w,&#10;       https:\/\/habrastorage.org\/getpro\/habr\/formulas\/8\/8e\/8e5\/8e5d7ec85923acdd329627d50b9bc213.svg 781w\" loading=\"lazy\" decode=\"async\"\/> \u0434\u043e <strong><img decoding=\"async\" class=\"formula inline\" source=\"0.066\" alt=\"0.066\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/4\/40\/404\/4044382430890251b519a33c79b6b41d.svg\" width=\"41\" height=\"12\" data-width=\"5.154\" data-height=\"1.557\" data-vertical-align=\"-0.05\" style=\"width: 5.154ex; height: 1.557ex; vertical-align: -0.05ex\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/4\/40\/404\/4044382430890251b519a33c79b6b41d.svg 780w,&#10;       https:\/\/habrastorage.org\/getpro\/habr\/formulas\/4\/40\/404\/4044382430890251b519a33c79b6b41d.svg 781w\" loading=\"lazy\" decode=\"async\"\/><\/strong> (\u0443 \u043a\u043b\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u043f\u043e\u043b\u0438\u043d\u043e\u043c\u0430 \u043e\u043d\u0430 \u0432\u043e\u0437\u0440\u0430\u0441\u0442\u0430\u043b\u0430 \u0434\u043e <img decoding=\"async\" class=\"formula inline\" source=\"0.540\" alt=\"0.540\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/a\/a7\/a72\/a727da37ba6f7bdb6d157ee85d19ba70.svg\" width=\"41\" height=\"13\" data-width=\"5.154\" data-height=\"1.581\" data-vertical-align=\"-0.05\" style=\"width: 5.154ex; height: 1.581ex; vertical-align: -0.05ex\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/a\/a7\/a72\/a727da37ba6f7bdb6d157ee85d19ba70.svg 780w,&#10;       https:\/\/habrastorage.org\/getpro\/habr\/formulas\/a\/a7\/a72\/a727da37ba6f7bdb6d157ee85d19ba70.svg 781w\" loading=\"lazy\" decode=\"async\"\/>).<\/p>\n<\/li>\n<li>\n<p><strong>\u0424\u0438\u043b\u044c\u0442\u0440\u0430\u0446\u0438\u044f \u0448\u0443\u043c\u0430<\/strong>: \u0423\u0432\u0435\u043b\u0438\u0447\u0435\u043d\u0438\u0435 \u0433\u043b\u0443\u0431\u0438\u043d\u044b \u043f\u0430\u043c\u044f\u0442\u0438 <img decoding=\"async\" class=\"formula inline\" source=\"L\" alt=\"L\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/d\/d2\/d20\/d20caec3b48a1eef164cb4ca81ba2587.svg\" width=\"12\" height=\"12\" data-width=\"1.541\" data-height=\"1.545\" style=\"width: 1.541ex; height: 1.545ex\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/d\/d2\/d20\/d20caec3b48a1eef164cb4ca81ba2587.svg 780w,&#10;       https:\/\/habrastorage.org\/getpro\/habr\/formulas\/d\/d2\/d20\/d20caec3b48a1eef164cb4ca81ba2587.svg 781w\" loading=\"lazy\" decode=\"async\"\/> \u0442\u0435\u043f\u0435\u0440\u044c \u043d\u0435 \u043d\u0430\u043a\u0430\u043f\u043b\u0438\u0432\u0430\u0435\u0442 \u043e\u0448\u0438\u0431\u043a\u0438 \u044d\u043a\u0441\u0442\u0440\u0430\u043f\u043e\u043b\u044f\u0446\u0438\u0438, \u0430 \u0441\u0433\u043b\u0430\u0436\u0438\u0432\u0430\u0435\u0442 \u0441\u043a\u0430\u0447\u043a\u0438 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u0438 \u043d\u0435\u0439\u0440\u043e\u0441\u0435\u0442\u0438 \u043d\u0430 \u0436\u0435\u0441\u0442\u043a\u0438\u0445 \u0443\u0447\u0430\u0441\u0442\u043a\u0430\u0445 \u0442\u0440\u0430\u0435\u043a\u0442\u043e\u0440\u0438\u0438.<\/p>\n<\/li>\n<\/ol>\n<p>\u0420\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u0440\u0430\u0441\u0447\u0435\u0442\u0430 \u044d\u0444\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u044b\u0445 \u0432\u0435\u0441\u043e\u0432 \u043d\u0430 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u043b\u044c\u043d\u043e\u0439 \u0441\u0435\u0442\u043a\u0435:<\/p>\n<pre><code class=\"python\">def compute_wls_weights(    dt: float,    past_dts: list[float],    deg: int = 2,    gamma: float = 0.85,) -&gt; list[float]:    length: int = 1 + len(past_dts)    degree: int = min(deg, length - 1)        nodes: list[float] = [0.0]    accumulated_time: float = 0.0    for step_size in past_dts:        accumulated_time -= step_size        nodes.append(accumulated_time)            nodes_array: np.ndarray = np.array(nodes)    weights_diagonal: np.ndarray = np.array([gamma**idx for idx in range(length)])    weight_matrix: np.ndarray = np.diag(weights_diagonal)        design_matrix: np.ndarray = np.column_stack(        [nodes_array**power for power in range(degree + 1)]    )    normal_matrix: np.ndarray = design_matrix.T @ weight_matrix @ design_matrix    pseudoinverse_matrix: np.ndarray = np.linalg.pinv(normal_matrix)    projection_matrix: np.ndarray = pseudoinverse_matrix @ design_matrix.T @ weight_matrix        integral_vector: np.ndarray = np.array(        [(dt ** (power + 1)) \/ (power + 1) for power in range(degree + 1)]    )    effective_weights: np.ndarray = integral_vector @ projection_matrix    return [float(weight) for weight in effective_weights]<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><span class=\"sc-logo-wrapper icon-only\"><\/span><\/a><\/div><\/pre>\n<hr\/>\n<h3>4. \u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u043e\u0432<\/h3>\n<p>\u0422\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043f\u0440\u043e\u0432\u043e\u0434\u0438\u043b\u043e\u0441\u044c \u043d\u0430 \u043c\u043e\u0434\u0435\u043b\u0438 <strong>Anima DiT<\/strong> (<code>anima_aestheticV11<\/code>) \u0432 \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u0438\u0438 <img decoding=\"async\" class=\"formula inline\" source=\"720 \\times 1280\" alt=\"720 \\times 1280\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/3\/34\/34b\/34bffe841ae51e61e408c6ed44514ceb.svg\" width=\"85\" height=\"18\" data-width=\"10.684\" data-height=\"2.262\" data-vertical-align=\"-0.566\" style=\"width: 10.684ex; height: 2.262ex; vertical-align: -0.566ex\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/3\/34\/34b\/34bffe841ae51e61e408c6ed44514ceb.svg 780w,&#10;       https:\/\/habrastorage.org\/getpro\/habr\/formulas\/3\/34\/34b\/34bffe841ae51e61e408c6ed44514ceb.svg 781w\" loading=\"lazy\" decode=\"async\"\/> \u043d\u0430 \u0432\u0438\u0434\u0435\u043e\u043a\u0430\u0440\u0442\u0435 Nvidia RTX 5060 \u0431\u0435\u0437 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440\u043e\u0432 \u0438 \u0441\u0442\u043e\u0440\u043e\u043d\u043d\u0438\u0445 \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u0439.<\/p>\n<h4>4.1. \u0421\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0439 \u0431\u044e\u0434\u0436\u0435\u0442 (30 \u0448\u0430\u0433\u043e\u0432)<\/h4>\n<div>\n<div class=\"table\">\n<table>\n<tbody>\n<tr>\n<th>\n<p align=\"left\">\u0421\u044d\u043c\u043f\u043b\u0435\u0440<\/p>\n<\/th>\n<th>\n<p align=\"left\">\u041a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044f<\/p>\n<\/th>\n<th>\n<p align=\"left\">SSIM<\/p>\n<\/th>\n<th>\n<p align=\"left\">LPIPS (<img decoding=\"async\" class=\"formula inline\" source=\"\\downarrow\" alt=\"\\downarrow\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/4\/42\/42a\/42ae4615838c20bda1769756b7078922.svg\" width=\"12\" height=\"18\" data-width=\"1.131\" data-height=\"2.262\" data-vertical-align=\"-0.566\" style=\"width: 1.131ex; height: 2.262ex; vertical-align: -0.566ex\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/4\/42\/42a\/42ae4615838c20bda1769756b7078922.svg 780w,&#10;       https:\/\/habrastorage.org\/getpro\/habr\/formulas\/4\/42\/42a\/42ae4615838c20bda1769756b7078922.svg 781w\" loading=\"lazy\" decode=\"async\"\/>)<\/p>\n<\/th>\n<th>\n<p align=\"left\">CLIP Score<\/p>\n<\/th>\n<th>\n<p align=\"left\">\u041e\u0446\u0435\u043d\u043a\u0430<\/p>\n<\/th>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\"><code>uni_pc<\/code><\/p>\n<\/td>\n<td>\n<p align=\"left\">\u0412\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0439 ComfyUI<\/p>\n<\/td>\n<td>\n<p align=\"left\">0.7459<\/p>\n<\/td>\n<td>\n<p align=\"left\">0.4677<\/p>\n<\/td>\n<td>\n<p align=\"left\">27.35<\/p>\n<\/td>\n<td>\n<p align=\"left\">\u0421\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0439 baseline<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\"><code>cab_3<\/code><\/p>\n<\/td>\n<td>\n<p align=\"left\"><img decoding=\"async\" class=\"formula inline\" source=\"p=3\" alt=\"p=3\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/2\/22\/220\/220735b2831beee988dbf3e81cc873b3.svg\" width=\"42\" height=\"16\" data-width=\"5.286\" data-height=\"1.943\" data-vertical-align=\"-0.439\" style=\"width: 5.286ex; height: 1.943ex; vertical-align: -0.439ex\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/2\/22\/220\/220735b2831beee988dbf3e81cc873b3.svg 780w,&#10;       https:\/\/habrastorage.org\/getpro\/habr\/formulas\/2\/22\/220\/220735b2831beee988dbf3e81cc873b3.svg 781w\" loading=\"lazy\" decode=\"async\"\/> (CAB)<\/p>\n<\/td>\n<td>\n<p align=\"left\">0.7461<\/p>\n<\/td>\n<td>\n<p align=\"left\">0.4639<\/p>\n<\/td>\n<td>\n<p align=\"left\">26.47<\/p>\n<\/td>\n<td>\n<p align=\"left\">\u041e\u043f\u0442\u0438\u043c\u0443\u043c \u0438\u043d\u0442\u0435\u0440\u043f\u043e\u043b\u044f\u0446\u0438\u0438<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\"><code>flow_wls_3<\/code><\/p>\n<\/td>\n<td>\n<p align=\"left\"><img decoding=\"async\" class=\"formula inline\" source=\"L=3\" alt=\"L=3\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/b\/b6\/b65\/b652272bbee3e44de05ab2ae3fb52def.svg\" width=\"46\" height=\"14\" data-width=\"5.689\" data-height=\"1.731\" data-vertical-align=\"-0.186\" style=\"width: 5.689ex; height: 1.731ex; vertical-align: -0.186ex\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/b\/b6\/b65\/b652272bbee3e44de05ab2ae3fb52def.svg 780w,&#10;       https:\/\/habrastorage.org\/getpro\/habr\/formulas\/b\/b6\/b65\/b652272bbee3e44de05ab2ae3fb52def.svg 781w\" loading=\"lazy\" decode=\"async\"\/>, WLS<\/p>\n<\/td>\n<td>\n<p align=\"left\">0.7451<\/p>\n<\/td>\n<td>\n<p align=\"left\">0.4648<\/p>\n<\/td>\n<td>\n<p align=\"left\">26.65<\/p>\n<\/td>\n<td>\n<p align=\"left\">\u0411\u0430\u0437\u043e\u0432\u044b\u0439 \u0443\u0440\u043e\u0432\u0435\u043d\u044c<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\"><code>flow_wls_5<\/code><\/p>\n<\/td>\n<td>\n<p align=\"left\"><img decoding=\"async\" class=\"formula inline\" source=\"L=5\" alt=\"L=5\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/c\/c5\/c51\/c5160e74919f52eb6bd0c2726e8a1bd8.svg\" width=\"46\" height=\"14\" data-width=\"5.689\" data-height=\"1.731\" data-vertical-align=\"-0.186\" style=\"width: 5.689ex; height: 1.731ex; vertical-align: -0.186ex\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/c\/c5\/c51\/c5160e74919f52eb6bd0c2726e8a1bd8.svg 780w,&#10;       https:\/\/habrastorage.org\/getpro\/habr\/formulas\/c\/c5\/c51\/c5160e74919f52eb6bd0c2726e8a1bd8.svg 781w\" loading=\"lazy\" decode=\"async\"\/>, WLS<\/p>\n<\/td>\n<td>\n<p align=\"left\">0.7488<\/p>\n<\/td>\n<td>\n<p align=\"left\">0.4632<\/p>\n<\/td>\n<td>\n<p align=\"left\">26.78<\/p>\n<\/td>\n<td>\n<p align=\"left\">\u0423\u043b\u0443\u0447\u0448\u0435\u043d\u0438\u0435 \u0434\u0435\u0442\u0430\u043b\u0435\u0439<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\"><code><strong>flow_wls_8<\/strong><\/code><\/p>\n<\/td>\n<td>\n<p align=\"left\"><img decoding=\"async\" class=\"formula inline\" source=\"L=8\" alt=\"L=8\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/f\/f6\/f66\/f661851588aba905d648155818f07260.svg\" width=\"46\" height=\"14\" data-width=\"5.689\" data-height=\"1.731\" data-vertical-align=\"-0.186\" style=\"width: 5.689ex; height: 1.731ex; vertical-align: -0.186ex\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/f\/f6\/f66\/f661851588aba905d648155818f07260.svg 780w,&#10;       https:\/\/habrastorage.org\/getpro\/habr\/formulas\/f\/f6\/f66\/f661851588aba905d648155818f07260.svg 781w\" loading=\"lazy\" decode=\"async\"\/>, WLS<\/p>\n<\/td>\n<td>\n<p align=\"left\"><strong>0.7541<\/strong><\/p>\n<\/td>\n<td>\n<p align=\"left\"><strong>0.4594<\/strong><\/p>\n<\/td>\n<td>\n<p align=\"left\"><strong>26.91<\/strong><\/p>\n<\/td>\n<td>\n<p align=\"left\"><strong>\u041b\u0443\u0447\u0448\u0438\u0439 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0441\u0440\u0435\u0434\u0438 \u041e\u0414\u0423<\/strong><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<p>\u0422\u0430\u043c, \u0433\u0434\u0435 \u043a\u043b\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u043f\u043e\u043b\u0438\u043d\u043e\u043c <code>cab_6<\/code> \u0440\u0443\u0445\u043d\u0443\u043b \u0432 \u0448\u0443\u043c \u0441 SSIM 0.1341, \u0441\u044d\u043c\u043f\u043b\u0435\u0440 <code><strong>flow_wls_8<\/strong><\/code><strong> \u043f\u0440\u0435\u0432\u0437\u043e\u0448\u0435\u043b \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0439 <\/strong><code><strong>uni_pc<\/strong><\/code><strong> \u043f\u043e \u0432\u0441\u0435\u043c \u0442\u0440\u0435\u043c \u043c\u0435\u0442\u0440\u0438\u043a\u0430\u043c<\/strong>.<\/p>\n<h4>4.2. \u042d\u043a\u0441\u0442\u0440\u0435\u043c\u0430\u043b\u044c\u043d\u044b\u0439 \u0440\u0435\u0436\u0438\u043c: 10, 12 \u0438 15 \u0448\u0430\u0433\u043e\u0432<\/h4>\n<p>\u0413\u043b\u0430\u0432\u043d\u0430\u044f \u0446\u0435\u043d\u043d\u043e\u0441\u0442\u044c \u0447\u0438\u0441\u043b\u0435\u043d\u043d\u043e\u0433\u043e \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0442\u043e\u0440\u0430 \u0432 \u0433\u0435\u043d\u0435\u0440\u0430\u0442\u0438\u0432\u043d\u043e\u043c \u043f\u0430\u0439\u043f\u043b\u0430\u0439\u043d\u0435 \u2014 \u0441\u043f\u043e\u0441\u043e\u0431\u043d\u043e\u0441\u0442\u044c \u0443\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0442\u044c \u0433\u0435\u043e\u043c\u0435\u0442\u0440\u0438\u044e \u043f\u0440\u0438 \u043c\u0430\u043b\u043e\u043c \u0447\u0438\u0441\u043b\u0435 \u043e\u0431\u0440\u0430\u0449\u0435\u043d\u0438\u0439 \u043a \u043d\u0435\u0439\u0440\u043e\u0441\u0435\u0442\u0438 (Low-NFE):<\/p>\n<div>\n<div class=\"table\">\n<table>\n<tbody>\n<tr>\n<th>\n<p align=\"left\">\u0428\u0430\u0433\u043e\u0432<\/p>\n<\/th>\n<th>\n<p align=\"left\">\u0421\u044d\u043c\u043f\u043b\u0435\u0440<\/p>\n<\/th>\n<th>\n<p align=\"left\">SSIM<\/p>\n<\/th>\n<th>\n<p align=\"left\">LPIPS (<img decoding=\"async\" class=\"formula inline\" source=\"\\downarrow\" alt=\"\\downarrow\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/4\/42\/42a\/42ae4615838c20bda1769756b7078922.svg\" width=\"12\" height=\"18\" data-width=\"1.131\" data-height=\"2.262\" data-vertical-align=\"-0.566\" style=\"width: 1.131ex; height: 2.262ex; vertical-align: -0.566ex\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/getpro\/habr\/formulas\/4\/42\/42a\/42ae4615838c20bda1769756b7078922.svg 780w,&#10;       https:\/\/habrastorage.org\/getpro\/habr\/formulas\/4\/42\/42a\/42ae4615838c20bda1769756b7078922.svg 781w\" loading=\"lazy\" decode=\"async\"\/>)<\/p>\n<\/th>\n<th>\n<p align=\"left\">CLIP Score<\/p>\n<\/th>\n<th>\n<p align=\"left\">\u0412\u0438\u0437\u0443\u0430\u043b\u044c\u043d\u0430\u044f \u043e\u0446\u0435\u043d\u043a\u0430<\/p>\n<\/th>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\"><strong>10<\/strong><\/p>\n<\/td>\n<td>\n<p align=\"left\"><code>flow_wls_3<\/code><\/p>\n<\/td>\n<td>\n<p align=\"left\">0.7665<\/p>\n<\/td>\n<td>\n<p align=\"left\">0.4261<\/p>\n<\/td>\n<td>\n<p align=\"left\">27.31<\/p>\n<\/td>\n<td>\n<p align=\"left\">\u0411\u0430\u0437\u043e\u0432\u0430\u044f \u043a\u043e\u043c\u043f\u043e\u0437\u0438\u0446\u0438\u044f<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\"><strong>10<\/strong><\/p>\n<\/td>\n<td>\n<p align=\"left\"><code>flow_wls_5<\/code><\/p>\n<\/td>\n<td>\n<p align=\"left\">0.7850<\/p>\n<\/td>\n<td>\n<p align=\"left\">0.4214<\/p>\n<\/td>\n<td>\n<p align=\"left\">27.17<\/p>\n<\/td>\n<td>\n<p align=\"left\">\u0412\u044b\u0441\u043e\u043a\u0430\u044f \u0440\u0435\u0437\u043a\u043e\u0441\u0442\u044c<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\"><strong>10<\/strong><\/p>\n<\/td>\n<td>\n<p align=\"left\"><code><strong>flow_wls_8<\/strong><\/code><\/p>\n<\/td>\n<td>\n<p align=\"left\"><strong>0.8003<\/strong><\/p>\n<\/td>\n<td>\n<p align=\"left\"><strong>0.4299<\/strong><\/p>\n<\/td>\n<td>\n<p align=\"left\"><strong>27.27<\/strong><\/p>\n<\/td>\n<td>\n<p align=\"left\"><strong>\u041c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u0430\u044f \u0442\u043e\u0447\u043d\u043e\u0441\u0442\u044c (~11 \u0441\u0435\u043a)<\/strong><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">10<\/p>\n<\/td>\n<td>\n<p align=\"left\"><code>flow_unipc_2<\/code><\/p>\n<\/td>\n<td>\n<p align=\"left\">0.7517<\/p>\n<\/td>\n<td>\n<p align=\"left\">0.4367<\/p>\n<\/td>\n<td>\n<p align=\"left\">26.77<\/p>\n<\/td>\n<td>\n<p align=\"left\">\u0417\u0430\u043c\u0435\u0442\u043d\u044b \u043c\u0438\u043a\u0440\u043e\u0430\u0440\u0442\u0435\u0444\u0430\u043a\u0442\u044b<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\"><strong>12<\/strong><\/p>\n<\/td>\n<td>\n<p align=\"left\"><code>flow_wls_6<\/code><\/p>\n<\/td>\n<td>\n<p align=\"left\">0.7780<\/p>\n<\/td>\n<td>\n<p align=\"left\">0.4180<\/p>\n<\/td>\n<td>\n<p align=\"left\">27.40<\/p>\n<\/td>\n<td>\n<p align=\"left\">\u0412\u044b\u0441\u043e\u043a\u0438\u0439 \u043a\u043e\u043d\u0442\u0440\u0430\u0441\u0442<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\"><strong>15<\/strong><\/p>\n<\/td>\n<td>\n<p align=\"left\"><code><strong>flow_wls_8<\/strong><\/code><\/p>\n<\/td>\n<td>\n<p align=\"left\"><strong>0.7737<\/strong><\/p>\n<\/td>\n<td>\n<p align=\"left\"><strong>0.4486<\/strong><\/p>\n<\/td>\n<td>\n<p align=\"left\"><strong>27.08<\/strong><\/p>\n<\/td>\n<td>\n<p align=\"left\"><strong>\u041a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u0430\u044f \u0430\u043d\u0430\u0442\u043e\u043c\u0438\u044f \u043f\u0430\u043b\u044c\u0446\u0435\u0432<\/strong><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<p>\u041f\u0440\u0438 \u0441\u043e\u043a\u0440\u0430\u0449\u0435\u043d\u0438\u0438 \u0448\u0430\u0433\u043e\u0432 \u0434\u043e 10 \u043c\u0435\u0442\u0440\u0438\u043a\u0430 SSIM \u0432\u044b\u0440\u043e\u0441\u043b\u0430 \u0434\u043e <strong>0.8003<\/strong>, \u0430 \u0432\u0440\u0435\u043c\u044f \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u0438 \u0441\u043e\u0441\u0442\u0430\u0432\u0438\u043b\u043e <strong>11 \u0441\u0435\u043a\u0443\u043d\u0434<\/strong>.<\/p>\n<hr\/>\n<h3>5. \u0421\u0438\u043d\u0435\u0440\u0433\u0438\u044f \u0442\u0440\u0435\u0445 \u0443\u0440\u043e\u0432\u043d\u0435\u0439: \u043a\u0430\u043a \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c 8 \u0441\u0435\u043a\u0443\u043d\u0434 \u043d\u0430 \u043a\u0430\u0434\u0440<\/h3>\n<p>\u0421\u044d\u043c\u043f\u043b\u0435\u0440 Flow-WLS \u0443\u0441\u043a\u043e\u0440\u044f\u0435\u0442 \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u044e \u0432\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u043c \u0438\u0437\u043c\u0435\u0440\u0435\u043d\u0438\u0438 (\u0441\u043e\u043a\u0440\u0430\u0449\u0430\u044f \u0447\u0438\u0441\u043b\u043e \u0448\u0430\u0433\u043e\u0432 \u0441 30 \u0434\u043e 10). \u041e\u0434\u043d\u0430\u043a\u043e \u0435\u0433\u043e \u043c\u043e\u0436\u043d\u043e \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u0438\u0442\u044c \u0441 \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u044f\u043c\u0438 \u0432 \u0434\u0440\u0443\u0433\u0438\u0445 \u0438\u0437\u043c\u0435\u0440\u0435\u043d\u0438\u044f\u0445:<\/p>\n<ol>\n<li>\n<p><strong>\u0412\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f \u043e\u0441\u044c<\/strong>: <code>flow_wls_4<\/code> \u043d\u0430 10 \u0448\u0430\u0433\u0430\u0445.<\/p>\n<\/li>\n<li>\n<p><strong>\u041f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u043e-\u0441\u043f\u0435\u043a\u0442\u0440\u0430\u043b\u044c\u043d\u0430\u044f \u043e\u0441\u044c<\/strong>: \u043d\u043e\u0434\u0430 <strong>SPEED<\/strong> (Spectral Progressive Diffusion). \u041f\u0435\u0440\u0432\u044b\u0435 50% \u0448\u0430\u0433\u043e\u0432 DiT-\u0442\u0440\u0430\u043d\u0441\u0444\u043e\u0440\u043c\u0435\u0440 \u0432\u044b\u0447\u0438\u0441\u043b\u044f\u0435\u0442\u0441\u044f \u043d\u0430 \u043f\u043e\u043b\u043e\u0432\u0438\u043d\u043d\u043e\u043c \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u043c \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u0438\u0438 \u0441 \u043f\u043e\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c DCT-\u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435\u043c, \u0447\u0442\u043e \u0443\u0441\u043a\u043e\u0440\u044f\u0435\u0442 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 Attention \u0432 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0440\u0430\u0437.<\/p>\n<\/li>\n<li>\n<p><strong>\u0410\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u043d\u0430\u044f \u043e\u0441\u044c<\/strong>: <strong>TeaCache<\/strong>, \u043a\u044d\u0448\u0438\u0440\u0443\u044e\u0449\u0438\u0439 \u043c\u0435\u0434\u043b\u0435\u043d\u043d\u043e \u043c\u0435\u043d\u044f\u044e\u0449\u0438\u0435\u0441\u044f \u0441\u043b\u043e\u0438 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u044f \u043c\u0435\u0436\u0434\u0443 \u0441\u043e\u0441\u0435\u0434\u043d\u0438\u043c\u0438 \u0448\u0430\u0433\u0430\u043c\u0438.<\/p>\n<\/li>\n<\/ol>\n<h4>\u0418\u0442\u043e\u0433\u043e\u0432\u044b\u0439 \u0437\u0430\u043c\u0435\u0440:<\/h4>\n<ul>\n<li>\n<p><strong>\u0411\u0430\u0437\u043e\u0432\u044b\u0439 \u043f\u0430\u0439\u043f\u043b\u0430\u0439\u043d (30 \u0448\u0430\u0433\u043e\u0432, \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0439 \u0441\u044d\u043c\u043f\u043b\u0435\u0440)<\/strong>: ~34 \u0441\u0435\u043a\u0443\u043d\u0434\u044b.<\/p>\n<\/li>\n<li>\n<p><strong>\u0421\u0432\u044f\u0437\u043a\u0430 Flow-WLS (10 \u0448\u0430\u0433\u043e\u0432) + SPEED + TeaCache<\/strong>: <strong>8 \u0441\u0435\u043a\u0443\u043d\u0434 \u043d\u0430 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 720\u00d71280<\/strong> \u043d\u0430 RTX 5060 \u043f\u0440\u0438 \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0438 \u043f\u043e\u043b\u043d\u043e\u0446\u0435\u043d\u043d\u043e\u0433\u043e CFG 5.0 \u0438 \u0440\u0430\u0431\u043e\u0442\u0435 \u043b\u044e\u0431\u044b\u0445 \u0441\u0442\u043e\u0440\u043e\u043d\u043d\u0438\u0445 LoRA.<\/p>\n<\/li>\n<\/ul>\n<hr\/>\n<h3>\u0417\u0430\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435<\/h3>\n<p>\u042d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u044b \u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u043b\u0438 \u0434\u0432\u0430 \u0432\u0430\u0436\u043d\u044b\u0445 \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0430:<\/p>\n<ol>\n<li>\n<p>\u0414\u043b\u044f \u0433\u0435\u043d\u0435\u0440\u0430\u0442\u0438\u0432\u043d\u044b\u0445 \u043c\u043e\u0434\u0435\u043b\u0435\u0439 \u043f\u0440\u044f\u043c\u043e\u0433\u043e \u043f\u043e\u0442\u043e\u043a\u0430 (Flow Matching) \u043e\u043f\u0430\u0441\u043d\u0430 \u0432\u044b\u0441\u043e\u043a\u0430\u044f \u0441\u0442\u0435\u043f\u0435\u043d\u044c \u0438\u043d\u0442\u0435\u0440\u043f\u043e\u043b\u044f\u0446\u0438\u043e\u043d\u043d\u043e\u0433\u043e \u043f\u043e\u043b\u0438\u043d\u043e\u043c\u0430, \u043d\u043e \u043f\u043e\u043b\u0435\u0437\u043d\u0430 <strong>\u0433\u043b\u0443\u0431\u043e\u043a\u0430\u044f \u0440\u0435\u0442\u0440\u043e\u0441\u043f\u0435\u043a\u0442\u0438\u0432\u043d\u0430\u044f \u0432\u044b\u0431\u043e\u0440\u043a\u0430 \u043f\u0440\u0438 \u043d\u0438\u0437\u043a\u043e\u0439 \u0441\u0442\u0435\u043f\u0435\u043d\u0438 \u0430\u043f\u043f\u0440\u043e\u043a\u0441\u0438\u043c\u0430\u0446\u0438\u0438<\/strong>.<\/p>\n<\/li>\n<li>\n<p>\u0412\u0437\u0432\u0435\u0448\u0435\u043d\u043d\u044b\u0435 \u043d\u0430\u0438\u043c\u0435\u043d\u044c\u0448\u0438\u0435 \u043a\u0432\u0430\u0434\u0440\u0430\u0442\u044b \u043e\u0431\u0440\u0430\u0449\u0430\u044e\u0442 \u043a\u043b\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u043f\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u043c\u043d\u043e\u0433\u043e\u0448\u0430\u0433\u043e\u0432\u044b\u0445 \u043c\u0435\u0442\u043e\u0434\u043e\u0432: \u0443\u0432\u0435\u043b\u0438\u0447\u0435\u043d\u0438\u0435 \u0433\u043b\u0443\u0431\u0438\u043d\u044b \u0438\u0441\u0442\u043e\u0440\u0438\u0438 \u043f\u043e\u0434\u0430\u0432\u043b\u044f\u0435\u0442 \u0448\u0443\u043c \u0438 \u043c\u043e\u043d\u043e\u0442\u043e\u043d\u043d\u043e \u043f\u043e\u0432\u044b\u0448\u0430\u0435\u0442 \u043c\u0435\u0442\u0440\u0438\u043a\u0438 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0430 \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u0438.<\/p>\n<\/li>\n<\/ol>\n<p>\u041a\u043e\u0434 \u043a\u0430\u0441\u0442\u043e\u043c\u043d\u043e\u0439 \u043d\u043e\u0434\u044b \u043e\u0442\u043a\u0440\u044b\u0442 \u0438 \u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d \u043d\u0430 GitHub, \u0430 \u043f\u0440\u0435\u043f\u0440\u0438\u043d\u0442 \u0437\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u043d \u0432 \u043c\u0435\u0436\u0434\u0443\u043d\u0430\u0440\u043e\u0434\u043d\u043e\u0439 \u043d\u0430\u0443\u0447\u043d\u043e\u0439 \u0431\u0430\u0437\u0435 Zenodo:<\/p>\n<ul>\n<li>\n<p>\u0420\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439: <a href=\"https:\/\/github.com\/YakovSava\/research-unipc-dpmpp\" rel=\"noopener nofollow\">github.com\/YakovSava\/research-unipc-dpmpp<\/a><\/p>\n<\/li>\n<li>\n<p>DOI: <a href=\"https:\/\/doi.org\/10.5281\/zenodo.23337579\" rel=\"noopener nofollow\">10.5281\/zenodo.23337579<\/a><\/p>\n<\/li>\n<\/ul>\n<\/div>\n<p>\u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/1096762\/\">https:\/\/habr.com\/ru\/articles\/1096762\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u041b\u044e\u0431\u043e\u0439, \u043a\u0442\u043e \u043a\u043e\u0433\u0434\u0430-\u043b\u0438\u0431\u043e \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u043b \u0441\u043f\u0438\u0441\u043e\u043a \u0441\u044d\u043c\u043f\u043b\u0435\u0440\u043e\u0432 \u0432 ComfyUI \u0438\u043b\u0438 WebUI, \u043d\u0430\u0432\u0435\u0440\u043d\u044f\u043a\u0430 \u0437\u0430\u043c\u0435\u0447\u0430\u043b \u0441\u0442\u0440\u0430\u043d\u043d\u043e\u0435 \u0435\u0434\u0438\u043d\u043e\u043e\u0431\u0440\u0430\u0437\u0438\u0435. \u0412 \u0432\u044b\u043f\u0430\u0434\u0430\u044e\u0449\u0435\u043c \u043c\u0435\u043d\u044e \u043f\u0440\u0438\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u044e\u0442 Euler, Heun, DPM++ 2M, \u0438\u0437\u0440\u0435\u0434\u043a\u0430 DPM++ 3M \u2014 \u0438 \u043d\u0430 \u044d\u0442\u043e\u043c \u0441\u043f\u0438\u0441\u043e\u043a \u043f\u043e\u0440\u044f\u0434\u043a\u043e\u0432 \u0437\u0430\u043a\u0430\u043d\u0447\u0438\u0432\u0430\u0435\u0442\u0441\u044f.\u0412\u043e\u0437\u043d\u0438\u043a\u0430\u0435\u0442 \u0437\u0430\u043a\u043e\u043d\u043e\u043c\u0435\u0440\u043d\u044b\u0439 \u0432\u043e\u043f\u0440\u043e\u0441: \u043f\u043e\u0447\u0435\u043c\u0443 \u0447\u0438\u0441\u043b\u0435\u043d\u043d\u044b\u0435 \u043c\u0435\u0442\u043e\u0434\u044b \u0434\u0438\u0444\u0444\u0435\u0440\u0435\u043d\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0445 \u0443\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0439, \u0440\u0430\u0437\u0432\u0438\u0432\u0430\u0432\u0448\u0438\u0435\u0441\u044f \u0432 \u043f\u0440\u0438\u043a\u043b\u0430\u0434\u043d\u043e\u0439 \u043c\u0430\u0442\u0435\u043c\u0430\u0442\u0438\u043a\u0435 \u0441\u0442\u043e\u043b\u0435\u0442\u0438\u044f\u043c\u0438, \u0432 \u0433\u0435\u043d\u0435\u0440\u0430\u0442\u0438\u0432\u043d\u044b\u0445 \u043d\u0435\u0439\u0440\u043e\u0441\u0435\u0442\u044f\u0445 \u0437\u0430\u0441\u0442\u0440\u044f\u043b\u0438 \u043d\u0430 \u0432\u0442\u043e\u0440\u043e\u043c \u0438 \u0442\u0440\u0435\u0442\u044c\u0435\u043c \u043f\u043e\u0440\u044f\u0434\u043a\u0435? \u041d\u0435\u0443\u0436\u0435\u043b\u0438 \u043d\u0435\u043b\u044c\u0437\u044f \u0432\u0437\u044f\u0442\u044c \u043c\u0435\u0442\u043e\u0434 \u0410\u0434\u0430\u043c\u0441\u0430-\u0411\u0430\u0448\u0444\u043e\u0440\u0442\u0430 5-\u0433\u043e, 6-\u0433\u043e \u0438\u043b\u0438 8-\u0433\u043e \u043f\u043e\u0440\u044f\u0434\u043a\u0430 \u0438 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0441\u0432\u0435\u0440\u0445\u0442\u043e\u0447\u043d\u0443\u044e \u0442\u0440\u0430\u0435\u043a\u0442\u043e\u0440\u0438\u044e \u0437\u0430 \u043c\u0435\u043d\u044c\u0448\u0435\u0435 \u0447\u0438\u0441\u043b\u043e \u0448\u0430\u0433\u043e\u0432?\u041a\u043e\u0433\u0434\u0430 \u043c\u044b \u043f\u043e\u043f\u044b\u0442\u0430\u043b\u0438\u0441\u044c \u043d\u0430\u043f\u0440\u044f\u043c\u0443\u044e \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u043c\u043d\u043e\u0433\u043e\u0448\u0430\u0433\u043e\u0432\u044b\u0435 \u0441\u044d\u043c\u043f\u043b\u0435\u0440\u044b \u0432\u044b\u0441\u0448\u0438\u0445 \u043f\u043e\u0440\u044f\u0434\u043a\u043e\u0432 \u0434\u043b\u044f \u0441\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445 \u043c\u043e\u0434\u0435\u043b\u0435\u0439 Flow Matching (\u0432 \u0447\u0430\u0441\u0442\u043d\u043e\u0441\u0442\u0438, Anima DiT), \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u044f \u0441\u0440\u0430\u0437\u0443 \u0436\u0435 \u0441\u043b\u043e\u043c\u0430\u043b\u0430\u0441\u044c \u0434\u0432\u0443\u043c\u044f \u0440\u0430\u0437\u043d\u044b\u043c\u0438 \u0441\u043f\u043e\u0441\u043e\u0431\u0430\u043c\u0438: \u0445\u043e\u043b\u0441\u0442 \u0441\u043d\u0430\u0447\u0430\u043b\u0430 \u0432\u044b\u0436\u0438\u0433\u0430\u043b\u0441\u044f \u0432 90% \u0431\u0435\u043b\u043e\u0433\u043e \u0446\u0432\u0435\u0442\u0430, \u0430 \u0437\u0430\u0442\u0435\u043c \u0440\u0430\u0441\u043f\u0430\u0434\u0430\u043b\u0441\u044f \u043d\u0430 \u043d\u0435\u0441\u0432\u044f\u0437\u043d\u044b\u0439 \u0446\u0438\u0444\u0440\u043e\u0432\u043e\u0439 \u0448\u0443\u043c.\u0412 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e \u0440\u0430\u0437\u0431\u0435\u0440\u0435\u043c:\u041a\u0430\u043a\u0430\u044f \u0441\u043a\u0440\u044b\u0442\u0430\u044f \u043b\u043e\u0432\u0443\u0448\u043a\u0430 \u0436\u0434\u0435\u0442 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u0432 \u043f\u0440\u0438 \u043f\u0435\u0440\u0435\u043d\u043e\u0441\u0435 \u043a\u043b\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u0444\u043e\u0440\u043c\u0443\u043b \u0434\u0438\u0444\u0444\u0443\u0437\u0438\u0438 (EDM) \u043d\u0430 \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u044b Flow Matching.\u041f\u043e\u0447\u0435\u043c\u0443 \u0442\u043e\u0447\u043d\u0430\u044f \u043f\u043e\u043b\u0438\u043d\u043e\u043c\u0438\u0430\u043b\u044c\u043d\u0430\u044f \u0438\u043d\u0442\u0435\u0440\u043f\u043e\u043b\u044f\u0446\u0438\u044f \u041b\u0430\u0433\u0440\u0430\u043d\u0436\u0430 \u043f\u043e\u0440\u044f\u0434\u043a\u0430 5+ \u043d\u0435\u0438\u0437\u0431\u0435\u0436\u043d\u043e \u0440\u0430\u0437\u0440\u0443\u0448\u0430\u0435\u0442 \u043b\u0430\u0442\u0435\u043d\u0442.\u041a\u0430\u043a \u043c\u044b \u043f\u0440\u0438\u043c\u0435\u043d\u0438\u043b\u0438 \u0438\u0434\u0435\u0438 \u0444\u0438\u043b\u044c\u0442\u0440\u0430\u0446\u0438\u0438 \u0421\u0430\u0432\u0438\u0446\u043a\u043e\u0433\u043e-\u0413\u043e\u043b\u0435\u044f \u0438 \u0432\u0437\u0432\u0435\u0448\u0435\u043d\u043d\u044b\u0445 \u043d\u0430\u0438\u043c\u0435\u043d\u044c\u0448\u0438\u0445 \u043a\u0432\u0430\u0434\u0440\u0430\u0442\u043e\u0432, \u0441\u043e\u0437\u0434\u0430\u0432 \u043c\u0435\u0442\u043e\u0434 Flow-WLS, \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u0443\u044e\u0449\u0438\u0439 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u0437\u0430 10 \u0448\u0430\u0433\u043e\u0432 \u0438 11 \u0441\u0435\u043a\u0443\u043d\u0434 \u043d\u0430 \u043f\u043e\u0442\u0440\u0435\u0431\u0438\u0442\u0435\u043b\u044c\u0441\u043a\u043e\u0439 \u0432\u0438\u0434\u0435\u043e\u043a\u0430\u0440\u0442\u0435.1. \u041b\u043e\u0432\u0443\u0448\u043a\u0430 \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442: \u043f\u043e\u0447\u0435\u043c\u0443 \u044d\u043a\u0440\u0430\u043d \u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043b\u0441\u044f \u0431\u0435\u043b\u044b\u043c\u041f\u0435\u0440\u0432\u0430\u044f \u0436\u0435 \u043f\u043e\u043f\u044b\u0442\u043a\u0430 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u043a\u0430\u0441\u0442\u043e\u043c\u043d\u044b\u0439 \u043c\u043d\u043e\u0433\u043e\u0448\u0430\u0433\u043e\u0432\u044b\u0439 \u0441\u044d\u043c\u043f\u043b\u0435\u0440 \u043d\u0430 \u043c\u043e\u0434\u0435\u043b\u0438 Anima DiT \u043f\u0440\u0438\u0432\u0435\u043b\u0430 \u043a \u0430\u043d\u043e\u043c\u0430\u043b\u0438\u0438: VAE \u0434\u0435\u043a\u043e\u0434\u0438\u0440\u043e\u0432\u0430\u043b \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u043a\u0430\u043a \u0440\u0430\u0432\u043d\u043e\u043c\u0435\u0440\u043d\u044b\u0439 \u0431\u0435\u043b\u044b\u0439 \u043f\u0440\u044f\u043c\u043e\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a \u0441 \u0435\u0434\u0432\u0430 \u0440\u0430\u0437\u043b\u0438\u0447\u0438\u043c\u044b\u043c \u0441\u0438\u043b\u0443\u044d\u0442\u043e\u043c \u0432\u0432\u0435\u0440\u0445\u0443.\u041f\u0440\u0438\u0447\u0438\u043d\u0430 \u043a\u0440\u044b\u043b\u0430\u0441\u044c \u0432 \u0440\u0430\u0437\u043b\u0438\u0447\u0438\u0438 \u043c\u0430\u0442\u0435\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u043e\u0441\u043d\u043e\u0432\u0430\u043d\u0438\u0439 \u043c\u0435\u0436\u0434\u0443 \u043a\u043b\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043a\u0438\u043c\u0438 \u043c\u043e\u0434\u0435\u043b\u044f\u043c\u0438 \u0434\u0438\u0444\u0444\u0443\u0437\u0438\u0438 (Stable Diffusion 1.5, SDXL, EDM) \u0438 \u0441\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u043c\u0438 \u0433\u0435\u043d\u0435\u0440\u0430\u0442\u043e\u0440\u0430\u043c\u0438 \u043d\u0435\u043f\u0440\u0435\u0440\u044b\u0432\u043d\u043e\u0433\u043e \u043f\u043e\u0442\u043e\u043a\u0430 (Flow Matching \/ DiT).\u041a\u043b\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043a\u0438\u0439 EDM:\u0412 \u043c\u043e\u0434\u0435\u043b\u044f\u0445 \u0442\u0438\u043f\u0430 Karras EDM \u043c\u0430\u0441\u0448\u0442\u0430\u0431 \u0434\u0438\u0441\u043f\u0435\u0440\u0441\u0438\u0438 \u0434\u0430\u043d\u043d\u044b\u0445 , \u0430 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u0432\u044b\u0440\u0430\u0436\u0430\u0435\u0442\u0441\u044f \u0447\u0435\u0440\u0435\u0437 \u043b\u043e\u0433\u0430\u0440\u0438\u0444\u043c\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u043e\u0442\u043d\u043e\u0448\u0435\u043d\u0438\u0435 \u0441\u0438\u0433\u043d\u0430\u043b\/\u0448\u0443\u043c:Flow Matching (comfy.model_sampling.CONST):\u0412 \u043c\u043e\u0434\u0435\u043b\u044f\u0445 \u0432\u044b\u043f\u0440\u044f\u043c\u043b\u0435\u043d\u043d\u043e\u0433\u043e \u043f\u043e\u0442\u043e\u043a\u0430 \u0434\u0438\u0441\u043f\u0435\u0440\u0441\u0438\u044f \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0430 \u043b\u0438\u043d\u0435\u0439\u043d\u043e:\u0421\u043f\u0440\u044f\u043c\u043b\u0435\u043d\u043d\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u0432\u044b\u0440\u0430\u0436\u0430\u0435\u0442\u0441\u044f \u0447\u0435\u0440\u0435\u0437 \u043b\u043e\u0433\u0438\u0442:\u0412\u043e \u043c\u043d\u043e\u0433\u0438\u0445 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430\u0445 \u0434\u043b\u044f \u0432\u044b\u043f\u0440\u044f\u043c\u043b\u0435\u043d\u0438\u044f \u0442\u0440\u0430\u0435\u043a\u0442\u043e\u0440\u0438\u0438 \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u0435\u0442\u0441\u044f \u0437\u0430\u043c\u0435\u043d\u0430 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439:\u041d\u0430 \u0441\u0442\u0430\u0440\u0442\u0435 \u0434\u0438\u0444\u0444\u0443\u0437\u0438\u0438 () \u043a\u043e\u044d\u0444\u0444\u0438\u0446\u0438\u0435\u043d\u0442 . \u041f\u0440\u0438 \u0434\u0435\u043b\u0435\u043d\u0438\u0438 \u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0442\u0435\u043d\u0437\u043e\u0440\u0430 \u0433\u0430\u0443\u0441\u0441\u043e\u0432\u0430 \u0448\u0443\u043c\u0430 \u043d\u0430  \u0430\u043c\u043f\u043b\u0438\u0442\u0443\u0434\u0430 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439 \u0432 \u043b\u0430\u0442\u0435\u043d\u0442\u0435 \u043c\u0433\u043d\u043e\u0432\u0435\u043d\u043d\u043e \u0443\u043c\u043d\u043e\u0436\u0430\u043b\u0430\u0441\u044c \u0432 10 000 \u0440\u0430\u0437. \u041a 30-\u043c\u0443 \u0448\u0430\u0433\u0443 \u043b\u0430\u0442\u0435\u043d\u0442\u044b \u0443\u0445\u043e\u0434\u0438\u043b\u0438 \u0432 \u0433\u043b\u0443\u0431\u043e\u043a\u043e\u0435 \u043d\u0430\u0441\u044b\u0449\u0435\u043d\u0438\u0435, \u043a\u043b\u0430\u0441\u0441\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 CFG \u0443\u0441\u0438\u043b\u0438\u0432\u0430\u043b \u0434\u0438\u0441\u0431\u0430\u043b\u0430\u043d\u0441, \u0430 VAE \u0447\u0435\u0441\u0442\u043d\u043e \u0442\u0440\u0430\u043d\u0441\u043b\u0438\u0440\u043e\u0432\u0430\u043b \u044d\u043a\u0441\u0442\u0440\u0435\u043c\u0430\u043b\u044c\u043d\u044b\u0439 \u043a\u043b\u0438\u043f\u043f\u0438\u043d\u0433 \u0432 \u0431\u0435\u043b\u044b\u0439 \u0446\u0432\u0435\u0442 (255, 255, 255).\u0420\u0435\u0448\u0435\u043d\u0438\u0435:\u0423\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0435 \u0442\u0440\u0430\u0435\u043a\u0442\u043e\u0440\u0438\u0438 Flow Matching \u0443\u0436\u0435 \u0438\u0437\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043f\u0440\u044f\u043c\u043e\u043b\u0438\u043d\u0435\u0439\u043d\u044b\u043c \u0432 \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u0435 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u0435\u0439:\u041e\u043d\u043e \u043d\u0435 \u0442\u0440\u0435\u0431\u0443\u0435\u0442 \u0432\u0441\u043f\u043e\u043c\u043e\u0433\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u043d\u043e\u0440\u043c\u0438\u0440\u043e\u0432\u043e\u043a \u0447\u0435\u0440\u0435\u0437 . \u0414\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0438\u043d\u0442\u0435\u0433\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432\u0435\u043a\u0442\u043e\u0440\u043d\u043e\u0435 \u043f\u043e\u043b\u0435 \u043d\u0430\u043f\u0440\u044f\u043c\u0443\u044e:def compute_velocity(x: torch.Tensor, denoised: torch.Tensor, sigma: float) -&gt; torch.Tensor:    safe_sigma: float = max(sigma, 1e-4)    return (x &#8212; denoised) \/ safe_sigma\u041f\u043e\u0441\u043b\u0435 \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0430 \u043d\u0430 \u043f\u0440\u044f\u043c\u043e\u0435 \u0438\u043d\u0442\u0435\u0433\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043f\u043e\u043b\u044f \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u0435\u0439 \u043f\u0435\u0440\u0435\u0441\u0432\u0435\u0442 \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u0438\u0441\u0447\u0435\u0437.2. \u0420\u0430\u0437\u0432\u0430\u043b \u0432\u044b\u0441\u043e\u043a\u0438\u0445 \u043f\u043e\u0440\u044f\u0434\u043a\u043e\u0432: \u043f\u043e\u0447\u0435\u043c\u0443 \u0410\u0434\u0430\u043c\u0441-\u0411\u0430\u0448\u0444\u043e\u0440\u0442 6-\u0433\u043e \u043f\u043e\u0440\u044f\u0434\u043a\u0430 \u0440\u0443\u0445\u043d\u0443\u043b \u0432 \u0448\u0443\u043c\u0423\u0441\u0442\u0440\u0430\u043d\u0438\u0432 \u043a\u043b\u0438\u043f\u043f\u0438\u043d\u0433, \u043c\u044b \u043f\u043e\u0441\u0442\u0440\u043e\u0438\u043b\u0438 \u043f\u0440\u044f\u043c\u043e\u0435 \u043c\u043d\u043e\u0433\u043e\u0448\u0430\u0433\u043e\u0432\u043e\u0435 \u0438\u043d\u0442\u0435\u0433\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0410\u0434\u0430\u043c\u0441\u0430-\u0411\u0430\u0448\u0444\u043e\u0440\u0442\u0430 \u043d\u0430 \u043d\u0435\u0440\u0430\u0432\u043d\u043e\u043c\u0435\u0440\u043d\u043e\u0439 \u0441\u0435\u0442\u043a\u0435 \u0448\u0430\u0433\u043e\u0432 \u0434\u043b\u044f \u043f\u043e\u0440\u044f\u0434\u043a\u043e\u0432 \u043e\u0442 2 \u0434\u043e 6.\u041a\u0430\u0437\u0430\u043b\u043e\u0441\u044c \u0431\u044b, \u0447\u0435\u043c \u0432\u044b\u0448\u0435 \u043f\u043e\u0440\u044f\u0434\u043e\u043a \u0438\u043d\u0442\u0435\u0440\u043f\u043e\u043b\u044f\u0446\u0438\u043e\u043d\u043d\u043e\u0433\u043e \u043f\u043e\u043b\u0438\u043d\u043e\u043c\u0430, \u0442\u0435\u043c \u043c\u0435\u043d\u044c\u0448\u0435 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u0430\u044f \u043e\u0448\u0438\u0431\u043a\u0430 \u0443\u0441\u0435\u0447\u0435\u043d\u0438\u044f (). \u041e\u0434\u043d\u0430\u043a\u043e \u043c\u0435\u0442\u0440\u0438\u043a\u0438 \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044f \u0441 \u044d\u0442\u0430\u043b\u043e\u043d\u043e\u043c \u043f\u043e\u043a\u0430\u0437\u0430\u043b\u0438 \u043e\u0431\u0440\u0430\u0442\u043d\u043e\u0435:\u0421\u044d\u043c\u043f\u043b\u0435\u0440\u041f\u043e\u0440\u044f\u0434\u043e\u043a ()SSIMLPIPS ()\u041a\u0430\u0447\u0435\u0441\u0442\u0432\u043e \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u0438cab_220.74530.4638\u0421\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u043e, \u0447\u0435\u0442\u043a\u0438\u0435 \u0444\u043e\u0440\u043c\u044bcab_330.74610.4639\u041e\u043f\u0442\u0438\u043c\u0443\u043c \u043a\u043b\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u0441\u0445\u0435\u043c\u044bcab_440.74470.4664\u0421\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u043ecab_550.72640.5256\u0417\u0430\u043c\u0435\u0442\u043d\u044b\u0435 \u0430\u0440\u0442\u0435\u0444\u0430\u043a\u0442\u044b \u0433\u0435\u043e\u043c\u0435\u0442\u0440\u0438\u0438cab_660.13410.8043\u041f\u043e\u043b\u043d\u044b\u0439 \u043a\u043e\u043b\u043b\u0430\u043f\u0441 \u0432 \u0448\u0443\u043c\u041d\u0430\u0447\u0438\u043d\u0430\u044f \u0441 5-\u0433\u043e \u043f\u043e\u0440\u044f\u0434\u043a\u0430 \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u044f \u0440\u0435\u0437\u043a\u043e \u0434\u0435\u0433\u0440\u0430\u0434\u0438\u0440\u043e\u0432\u0430\u043b\u0430, \u0430 6-\u0439 \u043f\u043e\u0440\u044f\u0434\u043e\u043a \u0440\u0430\u0437\u0440\u0443\u0448\u0438\u043b \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u0434\u043e \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u044f \u043d\u0435\u0441\u0432\u044f\u0437\u043d\u043e\u0433\u043e \u0448\u0443\u043c\u0430.\u0412 \u0447\u0435\u043c \u043f\u0440\u0438\u0447\u0438\u043d\u0430 \u043a\u043e\u043b\u043b\u0430\u043f\u0441\u0430?\u0414\u0435\u043b\u0435\u043d\u0438\u0435 \u043d\u0430 \u0441\u0442\u0435\u043f\u0435\u043d\u0438 \u0448\u0430\u0433\u0430: \u0420\u0430\u0437\u0434\u0435\u043b\u0435\u043d\u043d\u044b\u0435 \u0440\u0430\u0437\u043d\u043e\u0441\u0442\u0438 -\u0433\u043e \u043f\u043e\u0440\u044f\u0434\u043a\u0430 \u0434\u0435\u043b\u044f\u0442\u0441\u044f \u043d\u0430 \u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u0440\u0430\u0441\u0441\u0442\u043e\u044f\u043d\u0438\u0439 \u043c\u0435\u0436\u0434\u0443 \u0443\u0437\u043b\u0430\u043c\u0438 \u0441\u0435\u0442\u043a\u0438 . \u041f\u0440\u0438 \u0448\u0430\u0433\u0435  \u0437\u043d\u0430\u043c\u0435\u043d\u0430\u0442\u0435\u043b\u044c \u0434\u043b\u044f \u043f\u043e\u0440\u044f\u0434\u043a\u0430  \u0441\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u043f\u043e\u0440\u044f\u0434\u043a\u0430 . \u041c\u0430\u043b\u0435\u0439\u0448\u0430\u044f \u043d\u0435\u043b\u0438\u043d\u0435\u0439\u043d\u043e\u0441\u0442\u044c \u043e\u0442\u043a\u043b\u0438\u043a\u0430 \u043d\u0435\u0439\u0440\u043e\u0441\u0435\u0442\u0438 \u0443\u043c\u043d\u043e\u0436\u0430\u0435\u0442\u0441\u044f \u0432 \u043c\u0438\u043b\u043b\u0438\u043e\u043d\u044b \u0440\u0430\u0437.\u0417\u043d\u0430\u043a\u043e\u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0441\u0442\u044c \u0432\u0435\u0441\u043e\u0432 \u041b\u0430\u0433\u0440\u0430\u043d\u0436\u0430: \u0412\u0435\u0441\u0430 \u043a\u0432\u0430\u0434\u0440\u0430\u0442\u0443\u0440\u043d\u043e\u0439 \u0444\u043e\u0440\u043c\u0443\u043b\u044b \u0434\u043b\u044f \u043d\u0435\u0440\u0430\u0432\u043d\u043e\u043c\u0435\u0440\u043d\u043e\u0439 \u0441\u0435\u0442\u043a\u0438 \u0432\u044b\u0447\u0438\u0441\u043b\u044f\u044e\u0442\u0441\u044f \u0447\u0435\u0440\u0435\u0437 \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u043b\u044b \u0431\u0430\u0437\u0438\u0441\u043d\u044b\u0445 \u043f\u043e\u043b\u0438\u043d\u043e\u043c\u043e\u0432:\u041f\u0440\u0438 \u0448\u0430\u0433\u0435  \u0432\u0435\u0441\u0430 \u0434\u043b\u044f \u0440\u0430\u0437\u043d\u044b\u0445 \u043f\u043e\u0440\u044f\u0434\u043a\u043e\u0432 \u0432\u0435\u0434\u0443\u0442 \u0441\u0435\u0431\u044f \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c:\u041f\u043e\u0440\u044f\u0434\u043e\u043a 2:  (\u0441\u0443\u043c\u043c\u0430 \u043c\u043e\u0434\u0443\u043b\u0435\u0439 )\u041f\u043e\u0440\u044f\u0434\u043e\u043a 3:  (\u0441\u0443\u043c\u043c\u0430 \u043c\u043e\u0434\u0443\u043b\u0435\u0439 )\u041f\u043e\u0440\u044f\u0434\u043e\u043a 6: \u0432\u0435\u0441\u0430 \u043d\u0430\u0447\u0438\u043d\u0430\u044e\u0442 \u0445\u0430\u043e\u0442\u0438\u0447\u043d\u043e \u043e\u0441\u0446\u0438\u043b\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441\u043e \u0441\u043c\u0435\u043d\u043e\u0439 \u0437\u043d\u0430\u043a\u043e\u0432 (), \u0430 \u0441\u0443\u043c\u043c\u0430 \u0438\u0445 \u043c\u043e\u0434\u0443\u043b\u0435\u0439 \u0432\u044b\u0440\u0430\u0441\u0442\u0430\u0435\u0442 \u0434\u043e .\u0418\u043d\u0442\u0435\u0433\u0440\u0430\u0442\u043e\u0440 \u043f\u0440\u0435\u0432\u0440\u0430\u0449\u0430\u0435\u0442\u0441\u044f \u0432 \u0440\u0435\u0437\u043e\u043d\u0430\u0442\u043e\u0440 \u0432\u044b\u0441\u043e\u043a\u043e\u0447\u0430\u0441\u0442\u043e\u0442\u043d\u043e\u0433\u043e \u0434\u0440\u0435\u0431\u0435\u0437\u0433\u0430 (\u043a\u043b\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u0444\u0435\u043d\u043e\u043c\u0435\u043d \u0420\u0443\u043d\u0433\u0435). \u0422\u043e\u0447\u043d\u0430\u044f \u043f\u043e\u043b\u0438\u043d\u043e\u043c\u0438\u0430\u043b\u044c\u043d\u0430\u044f \u0438\u043d\u0442\u0435\u0440\u043f\u043e\u043b\u044f\u0446\u0438\u044f \u043d\u0430 \u0434\u0438\u0444\u0444\u0443\u0437\u0438\u043e\u043d\u043d\u044b\u0445 \u0442\u0440\u0430\u0435\u043a\u0442\u043e\u0440\u0438\u044f\u0445 \u0438\u043c\u0435\u0435\u0442 \u0436\u0435\u0441\u0442\u043a\u043e\u0435 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u0435: \u043f\u043e\u0440\u044f\u0434\u043a\u0438  \u043c\u0430\u0442\u0435\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043d\u0435\u0443\u0441\u0442\u043e\u0439\u0447\u0438\u0432\u044b.3. \u041c\u0435\u0442\u043e\u0434 Flow-WLS: \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u0438\u0437\u0430\u0446\u0438\u044f \u0421\u0430\u0432\u0438\u0446\u043a\u043e\u0433\u043e-\u0413\u043e\u043b\u0435\u044f\u041c\u044b \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u043b\u0438 \u0432\u043e\u043f\u0440\u043e\u0441: \u043a\u0430\u043a \u0437\u0430\u0434\u0435\u0439\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u0437\u0430 5\u20138 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0438\u0445 \u0448\u0430\u0433\u043e\u0432, \u043d\u0435 \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u044f \u043e\u0441\u0446\u0438\u043b\u043b\u0438\u0440\u0443\u044e\u0449\u0438\u0439 \u043f\u043e\u043b\u0438\u043d\u043e\u043c \u0432\u044b\u0441\u043e\u043a\u043e\u0439 \u0441\u0442\u0435\u043f\u0435\u043d\u0438?\u0420\u0435\u0448\u0435\u043d\u0438\u0435 \u043f\u0440\u0438\u0448\u043b\u043e \u0438\u0437 \u0441\u043f\u0435\u043a\u0442\u0440\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0430\u043d\u0430\u043b\u0438\u0437\u0430 \u0438 \u0446\u0438\u0444\u0440\u043e\u0432\u043e\u0439 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u0441\u0438\u0433\u043d\u0430\u043b\u043e\u0432 \u2014 \u0444\u0438\u043b\u044c\u0442\u0440 \u0421\u0430\u0432\u0438\u0446\u043a\u043e\u0433\u043e-\u0413\u043e\u043b\u0435\u044f (Savitzky-Golay).\u0412\u043c\u0435\u0441\u0442\u043e \u0438\u043d\u0442\u0435\u0440\u043f\u043e\u043b\u044f\u0446\u0438\u043e\u043d\u043d\u043e\u0433\u043e \u043f\u043e\u043b\u0438\u043d\u043e\u043c\u0430 \u0441\u0442\u0435\u043f\u0435\u043d\u0438 , \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043e\u0431\u044f\u0437\u0430\u043d \u0441\u0442\u0440\u043e\u0433\u043e \u043f\u0440\u043e\u0439\u0442\u0438 \u0447\u0435\u0440\u0435\u0437 \u043a\u0430\u0436\u0434\u0443\u044e \u0442\u043e\u0447\u043a\u0443 \u0438\u0441\u0442\u043e\u0440\u0438\u0438, Flow-WLS \u0430\u043f\u043f\u0440\u043e\u043a\u0441\u0438\u043c\u0438\u0440\u0443\u0435\u0442 \u0442\u0440\u0430\u0435\u043a\u0442\u043e\u0440\u0438\u044e \u0436\u0435\u0441\u0442\u043a\u043e \u0441\u0442\u0430\u0431\u0438\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0439 \u043f\u0430\u0440\u0430\u0431\u043e\u043b\u043e\u0439 2-\u0439 \u0441\u0442\u0435\u043f\u0435\u043d\u0438 \u043c\u0435\u0442\u043e\u0434\u043e\u043c \u0432\u0437\u0432\u0435\u0448\u0435\u043d\u043d\u044b\u0445 \u043d\u0430\u0438\u043c\u0435\u043d\u044c\u0448\u0438\u0445 \u043a\u0432\u0430\u0434\u0440\u0430\u0442\u043e\u0432 (WLS) \u043f\u043e  \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0438\u043c \u0442\u043e\u0447\u043a\u0430\u043c \u0441 \u043a\u043e\u044d\u0444\u0444\u0438\u0446\u0438\u0435\u043d\u0442\u043e\u043c \u0437\u0430\u0442\u0443\u0445\u0430\u043d\u0438\u044f \u043f\u0430\u043c\u044f\u0442\u0438 :\u0427\u0442\u043e \u0434\u0430\u0435\u0442 \u044d\u0442\u043e\u0442 \u043f\u0435\u0440\u0435\u0445\u043e\u0434:\u0424\u0438\u0437\u0438\u0447\u0435\u0441\u043a\u0430\u044f \u043d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u043e\u0441\u0446\u0438\u043b\u043b\u044f\u0446\u0438\u0439: \u041f\u0430\u0440\u0430\u0431\u043e\u043b\u0430 () \u043d\u0435 \u0438\u043c\u0435\u0435\u0442 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0441\u0442\u0435\u043f\u0435\u043d\u0435\u0439 \u0441\u0432\u043e\u0431\u043e\u0434\u044b \u0438 \u043d\u0435 \u0441\u043f\u043e\u0441\u043e\u0431\u043d\u0430 \u0438\u0437\u0433\u0438\u0431\u0430\u0442\u044c\u0441\u044f \u0432\u043e\u043b\u043d\u0430\u043c\u0438.\u0421\u0436\u0430\u0442\u0438\u0435 \u043d\u043e\u0440\u043c\u044b \u0432\u0435\u0441\u043e\u0432: \u041f\u0440\u0438 \u0440\u043e\u0441\u0442\u0435 \u0438\u0441\u0442\u043e\u0440\u0438\u0438 \u0441 3 \u0434\u043e 6 \u0448\u0430\u0433\u043e\u0432 \u0441\u0443\u043c\u043c\u0430 \u043c\u043e\u0434\u0443\u043b\u0435\u0439 \u0432\u0435\u0441\u043e\u0432 \u0443 Flow-WLS \u043f\u0430\u0434\u0430\u0435\u0442 \u0441  \u0434\u043e  (\u0443 \u043a\u043b\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u043f\u043e\u043b\u0438\u043d\u043e\u043c\u0430 \u043e\u043d\u0430 \u0432\u043e\u0437\u0440\u0430\u0441\u0442\u0430\u043b\u0430 \u0434\u043e ).\u0424\u0438\u043b\u044c\u0442\u0440\u0430\u0446\u0438\u044f \u0448\u0443\u043c\u0430: \u0423\u0432\u0435\u043b\u0438\u0447\u0435\u043d\u0438\u0435 \u0433\u043b\u0443\u0431\u0438\u043d\u044b \u043f\u0430\u043c\u044f\u0442\u0438  \u0442\u0435\u043f\u0435\u0440\u044c \u043d\u0435 \u043d\u0430\u043a\u0430\u043f\u043b\u0438\u0432\u0430\u0435\u0442 \u043e\u0448\u0438\u0431\u043a\u0438 \u044d\u043a\u0441\u0442\u0440\u0430\u043f\u043e\u043b\u044f\u0446\u0438\u0438, \u0430 \u0441\u0433\u043b\u0430\u0436\u0438\u0432\u0430\u0435\u0442 \u0441\u043a\u0430\u0447\u043a\u0438 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u0438 \u043d\u0435\u0439\u0440\u043e\u0441\u0435\u0442\u0438 \u043d\u0430 \u0436\u0435\u0441\u0442\u043a\u0438\u0445 \u0443\u0447\u0430\u0441\u0442\u043a\u0430\u0445 \u0442\u0440\u0430\u0435\u043a\u0442\u043e\u0440\u0438\u0438.\u0420\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u0440\u0430\u0441\u0447\u0435\u0442\u0430 \u044d\u0444\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u044b\u0445 \u0432\u0435\u0441\u043e\u0432 \u043d\u0430 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u043b\u044c\u043d\u043e\u0439 \u0441\u0435\u0442\u043a\u0435:def compute_wls_weights(    dt: float,    past_dts: list[float],    deg: int = 2,    gamma: float = 0.85,) -&gt; list[float]:    length: int = 1 + len(past_dts)    degree: int = min(deg, length &#8212; 1)        nodes: list[float] = [0.0]    accumulated_time: float = 0.0    for step_size in past_dts:        accumulated_time -= step_size        nodes.append(accumulated_time)            nodes_array: np.ndarray = np.array(nodes)    weights_diagonal: np.ndarray = np.array([gamma**idx for idx in range(length)])    weight_matrix: np.ndarray = np.diag(weights_diagonal)        design_matrix: np.ndarray = np.column_stack(        [nodes_array**power for power in range(degree + 1)]    )    normal_matrix: np.ndarray = design_matrix.T @ weight_matrix @ design_matrix    pseudoinverse_matrix: np.ndarray = np.linalg.pinv(normal_matrix)    projection_matrix: np.ndarray = pseudoinverse_matrix @ design_matrix.T @ weight_matrix        integral_vector: np.ndarray = np.array(        [(dt ** (power + 1)) \/ (power + 1) for power in range(degree + 1)]    )    effective_weights: np.ndarray = integral_vector @ projection_matrix    return [float(weight) for weight in effective_weights]4. \u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u043e\u0432\u0422\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043f\u0440\u043e\u0432\u043e\u0434\u0438\u043b\u043e\u0441\u044c \u043d\u0430 \u043c\u043e\u0434\u0435\u043b\u0438 Anima DiT (anima_aestheticV11) \u0432 \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u0438\u0438  \u043d\u0430 \u0432\u0438\u0434\u0435\u043e\u043a\u0430\u0440\u0442\u0435 Nvidia RTX 5060 \u0431\u0435\u0437 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440\u043e\u0432 \u0438 \u0441\u0442\u043e\u0440\u043e\u043d\u043d\u0438\u0445 \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u0439.4.1. \u0421\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0439 \u0431\u044e\u0434\u0436\u0435\u0442 (30 \u0448\u0430\u0433\u043e\u0432)\u0421\u044d\u043c\u043f\u043b\u0435\u0440\u041a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044fSSIMLPIPS ()CLIP Score\u041e\u0446\u0435\u043d\u043a\u0430uni_pc\u0412\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0439 ComfyUI0.74590.467727.35\u0421\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0439 baselinecab_3 (CAB)0.74610.463926.47\u041e\u043f\u0442\u0438\u043c\u0443\u043c \u0438\u043d\u0442\u0435\u0440\u043f\u043e\u043b\u044f\u0446\u0438\u0438flow_wls_3, WLS0.74510.464826.65\u0411\u0430\u0437\u043e\u0432\u044b\u0439 \u0443\u0440\u043e\u0432\u0435\u043d\u044cflow_wls_5, WLS0.74880.463226.78\u0423\u043b\u0443\u0447\u0448\u0435\u043d\u0438\u0435 \u0434\u0435\u0442\u0430\u043b\u0435\u0439flow_wls_8, WLS0.75410.459426.91\u041b\u0443\u0447\u0448\u0438\u0439 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0441\u0440\u0435\u0434\u0438 \u041e\u0414\u0423\u0422\u0430\u043c, \u0433\u0434\u0435 \u043a\u043b\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u043f\u043e\u043b\u0438\u043d\u043e\u043c cab_6 \u0440\u0443\u0445\u043d\u0443\u043b \u0432 \u0448\u0443\u043c \u0441 SSIM 0.1341, \u0441\u044d\u043c\u043f\u043b\u0435\u0440 flow_wls_8 \u043f\u0440\u0435\u0432\u0437\u043e\u0448\u0435\u043b \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0439 uni_pc \u043f\u043e \u0432\u0441\u0435\u043c \u0442\u0440\u0435\u043c \u043c\u0435\u0442\u0440\u0438\u043a\u0430\u043c.4.2. \u042d\u043a\u0441\u0442\u0440\u0435\u043c\u0430\u043b\u044c\u043d\u044b\u0439 \u0440\u0435\u0436\u0438\u043c: 10, 12 \u0438 15 \u0448\u0430\u0433\u043e\u0432\u0413\u043b\u0430\u0432\u043d\u0430\u044f \u0446\u0435\u043d\u043d\u043e\u0441\u0442\u044c \u0447\u0438\u0441\u043b\u0435\u043d\u043d\u043e\u0433\u043e \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0442\u043e\u0440\u0430 \u0432 \u0433\u0435\u043d\u0435\u0440\u0430\u0442\u0438\u0432\u043d\u043e\u043c \u043f\u0430\u0439\u043f\u043b\u0430\u0439\u043d\u0435 \u2014 \u0441\u043f\u043e\u0441\u043e\u0431\u043d\u043e\u0441\u0442\u044c \u0443\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0442\u044c \u0433\u0435\u043e\u043c\u0435\u0442\u0440\u0438\u044e \u043f\u0440\u0438 \u043c\u0430\u043b\u043e\u043c \u0447\u0438\u0441\u043b\u0435 \u043e\u0431\u0440\u0430\u0449\u0435\u043d\u0438\u0439 \u043a \u043d\u0435\u0439\u0440\u043e\u0441\u0435\u0442\u0438 (Low-NFE):\u0428\u0430\u0433\u043e\u0432\u0421\u044d\u043c\u043f\u043b\u0435\u0440SSIMLPIPS ()CLIP Score\u0412\u0438\u0437\u0443\u0430\u043b\u044c\u043d\u0430\u044f \u043e\u0446\u0435\u043d\u043a\u043010flow_wls_30.76650.426127.31\u0411\u0430\u0437\u043e\u0432\u0430\u044f \u043a\u043e\u043c\u043f\u043e\u0437\u0438\u0446\u0438\u044f10flow_wls_50.78500.421427.17\u0412\u044b\u0441\u043e\u043a\u0430\u044f \u0440\u0435\u0437\u043a\u043e\u0441\u0442\u044c10flow_wls_80.80030.429927.27\u041c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u0430\u044f \u0442\u043e\u0447\u043d\u043e\u0441\u0442\u044c (~11 \u0441\u0435\u043a)10flow_unipc_20.75170.436726.77\u0417\u0430\u043c\u0435\u0442\u043d\u044b \u043c\u0438\u043a\u0440\u043e\u0430\u0440\u0442\u0435\u0444\u0430\u043a\u0442\u044b12flow_wls_60.77800.418027.40\u0412\u044b\u0441\u043e\u043a\u0438\u0439 \u043a\u043e\u043d\u0442\u0440\u0430\u0441\u044215flow_wls_80.77370.448627.08\u041a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u0430\u044f \u0430\u043d\u0430\u0442\u043e\u043c\u0438\u044f \u043f\u0430\u043b\u044c\u0446\u0435\u0432\u041f\u0440\u0438 \u0441\u043e\u043a\u0440\u0430\u0449\u0435\u043d\u0438\u0438 \u0448\u0430\u0433\u043e\u0432 \u0434\u043e 10 \u043c\u0435\u0442\u0440\u0438\u043a\u0430 SSIM \u0432\u044b\u0440\u043e\u0441\u043b\u0430 \u0434\u043e 0.8003, \u0430 \u0432\u0440\u0435\u043c\u044f \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u0438 \u0441\u043e\u0441\u0442\u0430\u0432\u0438\u043b\u043e 11 \u0441\u0435\u043a\u0443\u043d\u0434.5. \u0421\u0438\u043d\u0435\u0440\u0433\u0438\u044f \u0442\u0440\u0435\u0445 \u0443\u0440\u043e\u0432\u043d\u0435\u0439: \u043a\u0430\u043a \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c 8 \u0441\u0435\u043a\u0443\u043d\u0434 \u043d\u0430 \u043a\u0430\u0434\u0440\u0421\u044d\u043c\u043f\u043b\u0435\u0440 Flow-WLS \u0443\u0441\u043a\u043e\u0440\u044f\u0435\u0442 \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u044e \u0432\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u043c \u0438\u0437\u043c\u0435\u0440\u0435\u043d\u0438\u0438 (\u0441\u043e\u043a\u0440\u0430\u0449\u0430\u044f \u0447\u0438\u0441\u043b\u043e \u0448\u0430\u0433\u043e\u0432 \u0441 30 \u0434\u043e 10). \u041e\u0434\u043d\u0430\u043a\u043e \u0435\u0433\u043e \u043c\u043e\u0436\u043d\u043e \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u0438\u0442\u044c \u0441 \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u044f\u043c\u0438 \u0432 \u0434\u0440\u0443\u0433\u0438\u0445 \u0438\u0437\u043c\u0435\u0440\u0435\u043d\u0438\u044f\u0445:\u0412\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f \u043e\u0441\u044c: flow_wls_4 \u043d\u0430 10 \u0448\u0430\u0433\u0430\u0445.\u041f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u043e-\u0441\u043f\u0435\u043a\u0442\u0440\u0430\u043b\u044c\u043d\u0430\u044f \u043e\u0441\u044c: \u043d\u043e\u0434\u0430 SPEED (Spectral Progressive Diffusion). \u041f\u0435\u0440\u0432\u044b\u0435 50% \u0448\u0430\u0433\u043e\u0432 DiT-\u0442\u0440\u0430\u043d\u0441\u0444\u043e\u0440\u043c\u0435\u0440 \u0432\u044b\u0447\u0438\u0441\u043b\u044f\u0435\u0442\u0441\u044f \u043d\u0430 \u043f\u043e\u043b\u043e\u0432\u0438\u043d\u043d\u043e\u043c \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u043c \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u0438\u0438 \u0441 \u043f\u043e\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c DCT-\u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435\u043c, \u0447\u0442\u043e \u0443\u0441\u043a\u043e\u0440\u044f\u0435\u0442 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 Attention \u0432 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0440\u0430\u0437.\u0410\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u043d\u0430\u044f \u043e\u0441\u044c: TeaCache, \u043a\u044d\u0448\u0438\u0440\u0443\u044e\u0449\u0438\u0439 \u043c\u0435\u0434\u043b\u0435\u043d\u043d\u043e \u043c\u0435\u043d\u044f\u044e\u0449\u0438\u0435\u0441\u044f \u0441\u043b\u043e\u0438 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u044f \u043c\u0435\u0436\u0434\u0443 \u0441\u043e\u0441\u0435\u0434\u043d\u0438\u043c\u0438 \u0448\u0430\u0433\u0430\u043c\u0438.\u0418\u0442\u043e\u0433\u043e\u0432\u044b\u0439 \u0437\u0430\u043c\u0435\u0440:\u0411\u0430\u0437\u043e\u0432\u044b\u0439 \u043f\u0430\u0439\u043f\u043b\u0430\u0439\u043d (30 \u0448\u0430\u0433\u043e\u0432, \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0439 \u0441\u044d\u043c\u043f\u043b\u0435\u0440): ~34 \u0441\u0435\u043a\u0443\u043d\u0434\u044b.\u0421\u0432\u044f\u0437\u043a\u0430 Flow-WLS (10 \u0448\u0430\u0433\u043e\u0432) + SPEED + TeaCache: 8 \u0441\u0435\u043a\u0443\u043d\u0434 \u043d\u0430 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 720\u00d71280 \u043d\u0430 RTX 5060 \u043f\u0440\u0438 \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0438 \u043f\u043e\u043b\u043d\u043e\u0446\u0435\u043d\u043d\u043e\u0433\u043e CFG 5.0 \u0438 \u0440\u0430\u0431\u043e\u0442\u0435 \u043b\u044e\u0431\u044b\u0445 \u0441\u0442\u043e\u0440\u043e\u043d\u043d\u0438\u0445 LoRA.\u0417\u0430\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435\u042d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u044b \u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u043b\u0438 \u0434\u0432\u0430 \u0432\u0430\u0436\u043d\u044b\u0445 \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0430:\u0414\u043b\u044f \u0433\u0435\u043d\u0435\u0440\u0430\u0442\u0438\u0432\u043d\u044b\u0445 \u043c\u043e\u0434\u0435\u043b\u0435\u0439 \u043f\u0440\u044f\u043c\u043e\u0433\u043e \u043f\u043e\u0442\u043e\u043a\u0430 (Flow Matching) \u043e\u043f\u0430\u0441\u043d\u0430 \u0432\u044b\u0441\u043e\u043a\u0430\u044f \u0441\u0442\u0435\u043f\u0435\u043d\u044c \u0438\u043d\u0442\u0435\u0440\u043f\u043e\u043b\u044f\u0446\u0438\u043e\u043d\u043d\u043e\u0433\u043e \u043f\u043e\u043b\u0438\u043d\u043e\u043c\u0430, \u043d\u043e \u043f\u043e\u043b\u0435\u0437\u043d\u0430 \u0433\u043b\u0443\u0431\u043e\u043a\u0430\u044f \u0440\u0435\u0442\u0440\u043e\u0441\u043f\u0435\u043a\u0442\u0438\u0432\u043d\u0430\u044f \u0432\u044b\u0431\u043e\u0440\u043a\u0430 \u043f\u0440\u0438 \u043d\u0438\u0437\u043a\u043e\u0439 \u0441\u0442\u0435\u043f\u0435\u043d\u0438 \u0430\u043f\u043f\u0440\u043e\u043a\u0441\u0438\u043c\u0430\u0446\u0438\u0438.\u0412\u0437\u0432\u0435\u0448\u0435\u043d\u043d\u044b\u0435 \u043d\u0430\u0438\u043c\u0435\u043d\u044c\u0448\u0438\u0435 \u043a\u0432\u0430\u0434\u0440\u0430\u0442\u044b \u043e\u0431\u0440\u0430\u0449\u0430\u044e\u0442 \u043a\u043b\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u043f\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u043c\u043d\u043e\u0433\u043e\u0448\u0430\u0433\u043e\u0432\u044b\u0445 \u043c\u0435\u0442\u043e\u0434\u043e\u0432: \u0443\u0432\u0435\u043b\u0438\u0447\u0435\u043d\u0438\u0435 \u0433\u043b\u0443\u0431\u0438\u043d\u044b \u0438\u0441\u0442\u043e\u0440\u0438\u0438 \u043f\u043e\u0434\u0430\u0432\u043b\u044f\u0435\u0442 \u0448\u0443\u043c \u0438 \u043c\u043e\u043d\u043e\u0442\u043e\u043d\u043d\u043e \u043f\u043e\u0432\u044b\u0448\u0430\u0435\u0442 \u043c\u0435\u0442\u0440\u0438\u043a\u0438 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0430 \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u0438.\u041a\u043e\u0434 \u043a\u0430\u0441\u0442\u043e\u043c\u043d\u043e\u0439 \u043d\u043e\u0434\u044b \u043e\u0442\u043a\u0440\u044b\u0442 \u0438 \u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d \u043d\u0430 GitHub, \u0430 \u043f\u0440\u0435\u043f\u0440\u0438\u043d\u0442 \u0437\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u043d \u0432 \u043c\u0435\u0436\u0434\u0443\u043d\u0430\u0440\u043e\u0434\u043d\u043e\u0439 \u043d\u0430\u0443\u0447\u043d\u043e\u0439 \u0431\u0430\u0437\u0435 Zenodo:\u0420\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439: github.com\/YakovSava\/research-unipc-dpmppDOI: 10.5281\/zenodo.23337579\u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 https:\/\/habr.com\/ru\/articles\/1096762\/<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-499431","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/499431","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=499431"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/499431\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=499431"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=499431"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=499431"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}