mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-15 09:06:16 -08:00
Remove debugging border from the websr plugin's styling Enhance canvas sizing logic in artplayer-plugin-websr - Updated canvas positioning to center it within the player. - Introduced a new function to calculate canvas size based on the video aspect ratio. - Adjusted canvas dimensions during initialization and on resize events to maintain aspect ratio. - Ensured canvas styles are updated to reflect the calculated dimensions. feat: add comparison mode to artplayer-plugin-websr - Updated README.md to reflect new comparison feature and simplified content. - Modified package.json to remove unnecessary keywords. - Enhanced index.js to implement comparison functionality, allowing users to compare original and upscaled video. - Added new methods for enabling, disabling, and toggling comparison mode, as well as setting and getting the comparison position. - Updated TypeScript definitions to include new comparison options and methods.
1 line
13 KiB
JSON
1 line
13 KiB
JSON
{"name": "anime4k/cnn-2x-s", "layers": {"conv2d_tf": {"name": "conv2d_tf", "type": "conv", "inputs": ["input_image"], "output": "conv2d_tf", "weights": [-0.25782192, 0.15356855, -0.07591801, 0.025576258, 0.15639038, -0.003467518, 0.12388964, -0.074463956, 0.1363419, 0.10602972, -0.08083917, -0.0098574, 0.0, 0.0, 0.0, 0.0, 0.23684815, -0.06991441, -0.26512906, 0.04322338, 0.13556279, -0.35494795, -0.13624676, 0.020295974, -0.0999787, -0.04245641, -0.1272923, 0.10147985, 0.0, 0.0, 0.0, 0.0, 0.12914264, 0.09177784, 0.3579164, -0.11445263, -0.16305687, 0.052706085, 0.36622983, -0.0011837523, 0.033064514, 0.096229866, 0.0552606, -0.034237757, 0.0, 0.0, 0.0, 0.0, 0.27514997, -0.1300823, 0.027395383, 0.12283199, 0.5383546, 0.09842804, -0.12462158, -0.17170155, -0.01863094, -0.10540424, 0.18628319, 0.12033461, 0.0, 0.0, 0.0, 0.0, -0.43199503, -0.41099274, -0.3517322, -0.44664156, -0.4758843, -0.24648757, -0.3566836, -0.017266102, -0.20802185, -0.3654689, -0.19757888, -0.29120144, 0.0, 0.0, 0.0, 0.0, -0.15593381, -0.18778, 0.2499271, -0.037658677, 0.14603312, 0.015572719, 0.10806066, -0.4077356, -0.1000264, -0.12753147, 0.18192403, -0.24150863, 0.0, 0.0, 0.0, 0.0, 0.07505814, 0.015251832, 0.09499054, 0.044957004, -0.18697514, 0.02458684, -0.02497988, -0.029909676, -0.05428892, 0.106657036, -0.06808904, -0.041664355, 0.0, 0.0, 0.0, 0.0, -0.20078097, 0.03437222, 0.038230244, 0.10970939, -0.43864843, -0.13626677, 0.17990443, 0.41581368, 0.024597576, 0.11880136, -0.10763169, 0.19922386, 0.0, 0.0, 0.0, 0.0, 0.3384449, 0.14787383, -0.08111384, 0.32002708, 0.33851552, 0.0048022484, -0.1369224, 0.37011376, 0.25997162, 0.06434332, 0.15082477, 0.2148611, 0.0, 0.0, 0.0, 0.0], "bias": [-0.09206034, 0.14355598, 0.10932139, 0.0016021392]}, "conv2d_1_tf": {"name": "conv2d_1_tf", "type": "conv", "inputs": ["conv2d_tf"], "output": "conv2d_1_tf", "weights": [-0.095783316, 0.16888501, 0.05321395, -0.030030794, -0.08823816, -0.045243666, -0.06268558, 0.21276858, -0.0624856, -0.01006017, 0.0030589101, -0.058050346, -0.10185547, 0.013074036, -0.060340375, -0.059404477, -0.082710035, -0.3164221, -0.14149888, -0.0500287, 0.1165336, -0.24514209, -0.22980696, -0.08769986, -0.12874982, 0.026991324, -0.051623344, -0.09652709, -0.13059464, -0.1155648, -0.15023601, -0.2606064, 0.13881665, 0.06292556, -0.073230885, 0.030548356, -0.1894414, 0.20438747, -0.1020142, 0.038716204, 0.047450725, -0.042745817, -0.009961303, 0.0043113427, -0.103798516, 0.0057283384, 0.025602754, 0.06838202, -0.084471785, 0.1186411, -0.023158437, -0.019586418, 0.14019564, -0.20072576, -0.09657145, -0.03009908, -0.13227277, -0.08167413, -0.036809705, 0.15459986, -0.1175294, -0.0159718, -0.07684084, 0.0029121442, 0.38679013, -0.086696684, 0.040943615, -0.10347326, -0.113701634, -0.16794261, 0.46800423, -0.4380119, -0.063318215, -0.07943689, 0.014833392, 0.09416196, 0.088914625, 0.021966234, -0.0046327873, -0.2657651, -0.22693971, 0.1888593, 0.14114356, -0.052431874, 0.019335985, 0.15687473, 0.14059441, -0.049555086, -0.032860175, 0.03814611, 0.19610809, -0.07544432, 0.19492854, -0.0364603, -0.0852338, 0.0940062, 0.01977914, 0.07460088, 0.00649084, -0.0076678796, -0.042637978, 0.13390307, -0.12892081, 0.1885971, -0.26436746, -0.054088645, -0.05617448, -0.11635425, 0.10515732, 0.070723996, -0.011394824, -0.058781527, 0.036073864, 0.20427327, -0.05082124, -0.07998257, -0.11126785, -0.32909214, 0.16723558, -0.06990673, 0.068846, 0.07962057, -0.09518244, 0.1964481, -0.18227482, 0.0012983003, -0.010337137, 0.059369925, -0.017423645, -0.015004898, -0.12347797, 0.03555082, 0.16950843, 0.3905411, 0.31619287, 0.07669911, 0.06830832, -0.15560928, 0.011061299, -0.0471216, -0.019609185, -0.10293927, -0.0074584717, 0.025274256, 0.0401996, 0.04994626, 0.04033721, -0.031158779, -0.020250803, -0.04343525, 0.008512854, -0.025068643, 0.024087055, 0.14313996, -0.017925745, 0.14695233, 0.17547527, -0.12131518, 0.08256627, 0.024314117, 0.073618114, 0.11204843, 0.029775916, -0.06307828, -0.048083175, 0.17052896, -0.016592458, 0.04766689, 0.264522, -0.07116043, -0.027477346, 0.11058124, 0.26533633, -0.009387501, 0.19483726, 0.059977174, -0.12358764, -0.025961788, 0.04777405, -0.08508629, 0.18727924, -0.02720344, -0.07284181, 0.08025612, -0.012793925, -0.02129287, -0.014057591, -0.10034754, 0.057004917, 0.0037808765, -0.03774303, -0.003233076, -0.017357104, -0.0037230153, -0.006728777, -0.037507925, -0.009744604, 0.07082, -0.03264124, -0.14104879, 0.37448314, 0.12911771, 0.02214634, -0.43490615, 0.12378615, 0.094145015, -0.07473948, 0.0048840935, -0.099796765, 0.05870187, -0.11705587, 0.05676388, 0.023533033, -0.032874126, -0.06726595, 0.012210867, -0.09490625, 0.09094358, -0.10220125, 0.064988695, -0.097893566, -0.023668293, -0.27130198, 0.18235227, 0.07178437, -0.07974578, -0.21608166, 0.13351338, 0.07526229, -0.013628629, 0.20969899, 0.019102097, 0.061184246, -0.077816315, -0.058578897, 0.08472013, -0.09029159, -0.01493887, -0.042308304, 0.03848113, -0.027789878, -0.0044137137, -0.0030754514, -0.006060567, -0.01770495, -0.051728148, -0.032258607, 0.064617366, 0.23122711, 0.040738184, 0.15502764, 0.21253884, -0.12689447, -0.08567449, -0.006541312, -0.014126494, -0.08846451, -0.17581989, -0.047366638, 0.056032777, 0.0049541816, 0.103834994, 0.011160568, -0.20149869, -0.03680919, 0.11885247, -0.046462476, 0.009605025, 0.14940645, -0.044990983, -0.037811413, -0.08661162, 0.023013419, -0.052682307, -0.03203398, -0.043496504, -0.1349578, -0.17172538, -0.17879523, 0.21643111, -0.0155471265, -0.008405172, 0.019038785, -0.05223506, 0.023275878, 0.086747654, -0.00067952886, -0.0013614862], "bias": [0.13366194, 0.022167688, 0.11364382, -0.045134373]}, "conv2d_2_tf": {"name": "conv2d_2_tf", "type": "conv", "inputs": ["conv2d_1_tf"], "output": "conv2d_2_tf", "weights": [0.018081615, -0.031769957, 0.05144124, -0.025816452, -0.039106533, -0.050274406, -0.065614015, -0.088266864, -0.040171333, 0.1106379, -0.0021244187, 0.11543723, -0.026104383, 0.03029067, 0.08974213, -0.0069493195, 0.06433004, -0.026995622, 0.033668466, -0.08997319, -0.05384461, -0.026176913, 0.07331034, -0.058712658, 0.012216638, 0.030077064, -0.025484731, 0.0018738217, 0.08482327, -0.17558886, -0.17459233, -0.09984253, 0.054582573, -0.042619534, 0.055247027, 0.06356166, 0.012152095, 0.006808657, 0.027511848, 0.073387064, -0.08751413, -0.022223407, 0.008103992, -0.069629885, -0.079628915, -0.021626571, -0.021268845, -0.030826148, -0.14635786, 0.08361176, 0.066524506, -0.07377028, -0.15053652, -0.13100408, 0.09675235, 0.00027864674, 0.19956341, -0.007999431, 0.073624924, -0.001895251, 0.19572824, 0.03638301, -0.10610642, 0.04292223, 0.15438163, 0.08407602, 0.056655943, -0.33321005, 0.33041573, 0.2548884, -0.17800403, 0.30633608, -0.22003457, 0.05061705, -0.03651565, 0.0065600933, 0.017606616, 0.06768895, 0.5691907, -0.17214595, -0.05458103, 0.16453339, -0.04111917, 0.20812407, 0.013891808, 0.09410433, 0.1522046, 0.08840278, -0.018491337, -0.076047175, -0.0005723384, -0.08426212, -0.021960663, 0.023532113, -0.12043091, 0.0032672407, 0.023001617, -0.034299374, 0.03986703, 0.03071231, -0.21734677, 0.021190403, 0.005215461, 0.058005486, 0.04081261, 0.02569102, -0.04355934, -0.060548868, 0.008341788, 0.026760796, 0.04458609, -0.01115665, 0.11233273, -0.01906864, 0.09398081, 0.06819409, 0.019238537, -0.05764515, 0.043324605, -0.21080177, 0.27889618, -0.07814272, -0.068084374, -0.06037449, -0.17266804, -0.09697104, -0.1170827, 0.12653, -0.0036601466, 0.08717545, -0.0024659461, 0.16102274, 0.08488012, 0.043442234, -0.04122472, -0.050218143, -0.07279206, -0.02560889, 0.036580704, 0.104572326, 0.027072486, 0.016370235, 0.18123996, 0.11025829, -0.1149299, -0.017900668, 0.015534425, -0.095895536, 0.07048569, -0.062331, 0.04553862, -0.032343406, 0.088176094, -0.048079737, 0.12617311, -0.04132005, 0.0062068882, 0.01708988, -0.02381668, -0.030413443, -0.013116309, 0.157335, 0.06723322, 0.10667058, 0.11172739, -0.10998553, 0.013814527, -0.013849574, 0.112702034, -0.0853054, 0.058502346, -0.043469913, -0.011657744, 0.015098544, -0.039531693, -0.0035229698, 0.07779144, -0.055555973, -0.026495637, -0.15291798, -0.00049165805, -0.0033505608, 0.08782142, 0.07859329, 0.09714689, -0.03181169, -0.019750256, 0.0046689645, 0.0033582263, -0.010986004, -0.026285233, 0.020578338, 0.19152828, -0.03829832, -0.014844683, 0.04572372, -0.11676504, 0.056663405, 0.039130587, -0.06873469, -0.019175392, 0.11949952, -0.16221642, -0.013848131, 0.045552727, -0.01829211, -0.074232034, 0.097643614, 0.0753252, -0.219453, 0.023489105, 0.045214765, -0.030867143, -0.0014863429, 0.15984835, -0.20806198, -0.4584214, -0.23549774, -0.070944555, -0.009731023, 0.022488693, -0.0325928, -0.22915451, 0.05783311, 0.4040287, -0.3118451, 0.22767776, -0.33548522, -0.048629083, 0.05879754, 0.013987306, -0.029643238, 0.05192528, 0.15724757, -0.04822283, 0.14274885, 0.17047863, 0.046393782, -0.023621213, 0.042642027, 0.0023853392, 0.049386635, 0.04677393, -0.124370515, 0.10894599, -0.07490734, -0.035044543, 0.05695772, 0.20198797, -0.015100173, 0.109232314, 0.005309688, -0.03179252, 0.025696728, -0.060645018, -0.0733947, 0.13513088, 0.016257457, -0.044195246, -0.1490124, 0.02926755, 0.08068265, -0.09878639, 0.16509725, -0.16751625, 0.13661104, 0.0457461, 0.05761465, -0.06855517, 0.036832098, 0.048906684, -0.09588021, 0.29585376, 0.04046166, 0.023989853, -0.25414857, -0.11650252, -0.012470665, 0.12085607, -0.069395676, 0.11406071, -0.04554574, -0.027153894, -0.09211985, -0.022301102, -0.0059714606, -0.09186783, -0.040806565], "bias": [-0.056549765, -0.0053346683, 0.019626498, -0.012940037]}, "conv2d_last_tf": {"name": "conv2d_last_tf", "type": "conv", "inputs": ["conv2d_2_tf"], "output": "conv2d_last_tf", "weights": [-0.09362407, 0.045048997, 0.09252767, 0.080966026, -0.16283144, 0.09403403, -0.032130003, 0.09952803, 0.054498773, -0.0041744793, -0.03767589, -0.05087093, 0.06481625, -0.04098635, -0.06372801, -0.08584238, 0.008185351, 0.103927135, -0.1804778, 0.04795084, -0.04855831, 0.038795277, -0.25485697, -0.010558377, -0.07520853, -0.051489826, 0.034435336, -0.005912859, -0.015145009, -0.0258694, 0.18752252, 0.04076107, -0.04216908, 0.0075422656, -0.02473321, 0.015238207, 9.0934e-05, 0.0023638105, 0.073520586, 0.042121936, -0.01200849, -0.03706034, -0.044135068, -0.041447222, -0.013637472, -0.019342473, -0.07747536, -0.036268447, 0.036391072, -0.18927266, 0.13587691, 0.08096209, 0.06439177, -0.2908896, -0.06973464, -0.23225115, 0.13841452, 0.12849136, 0.08581614, 0.06025845, 0.097867645, 0.16927785, -0.03452574, -0.013464359, 0.24477667, 0.059683662, -0.0025752734, -0.3073235, 0.16182162, 0.0022546072, 0.21766037, -0.14283347, -0.1321918, -0.19941518, 0.036677722, -0.029048327, 0.03489051, 0.088669844, 0.21060215, 0.3554047, 0.049834397, -0.029553086, 0.20620745, 0.09379281, -0.054436304, -0.02097732, -0.01627259, 0.025568074, -0.047271255, 0.007645887, -0.13007429, -0.07569466, 0.019185433, 0.057641905, -0.008841205, -0.003354539, -0.023258183, 0.07722945, -0.030804327, 0.0408924, -0.057619967, 0.03368266, -0.038357995, -0.029495537, 0.010476963, 0.055117104, -0.011140922, 0.012352922, 0.02009993, 0.049572486, 0.0036506809, 0.0020128677, -0.013000835, 0.09444343, 0.01647098, 0.10176735, -0.014701012, 0.07943037, -0.11909997, 0.034825593, 0.029748242, 0.035332583, 0.042481225, 0.09497471, 0.01014985, -0.006225312, 0.03728534, 0.056773733, -0.033387236, -0.008005432, -0.06574406, 0.015142725, 0.043867856, -0.033512697, 0.081776984, 0.03133687, 0.012288687, 0.01581362, 0.014276593, -0.0009263756, 0.013118152, 0.0079352185, 0.011505377, 0.001254793, 0.01239975, -0.05470689, -0.00797266, -0.047456637, 0.12261839, -0.042948633, -0.11118943, -0.10735508, 0.07783824, 0.0024855367, 0.02082297, -0.009631133, -0.045850966, 0.0068659848, 0.027352441, 0.04494572, -0.012744962, -0.053986877, -0.017385004, -0.07804561, 0.0049650315, -0.03623705, 0.27425712, 0.07154156, 0.10045924, -0.044778407, 0.15781008, 0.0039459267, 0.054236885, -0.034448825, -0.059281576, -0.08069212, 0.022572113, -0.013545801, 0.038023613, -0.0019694387, 0.023034055, 0.008799326, -0.04872249, -0.031919606, -0.052767444, 0.05394788, -0.046899736, -0.013010691, 0.029814035, 0.017518083, 0.0662321, 0.0215406, -0.011713052, 0.065085575, -0.052023057, -0.005666435, 0.34917894, 0.32539153, 0.10203473, 0.0128748035, -0.4283522, -0.10256199, -0.09660082, -0.055379707, -0.052143507, -0.05580267, -0.0377891, -0.012782267, -0.057250477, 0.0026475552, 0.03364903, 0.095551684, -0.196663, -0.08477187, 0.094992556, 0.26069313, 0.20734991, 0.42528167, -0.31397697, 0.21473847, -0.2633356, -0.056702074, -0.1608836, -0.06556487, -0.064558335, -0.0074351113, -0.10084129, -0.025016544, 0.055379853, 0.02109734, 0.017266473, -0.035040837, 0.087944604, -0.06419977, 0.27585572, 0.11039916, 0.0027713268, -0.01987368, -0.12509765, -0.048652213, -0.021216474, -0.039353807, -0.00016417191, -0.015282616, -0.03383242, 0.18852775, -0.054262143, 0.060590442, 0.07434088, -0.18329303, 0.08882645, 0.10172523, 0.011587715, -0.036059815, 0.010161462, -0.026263025, -0.034913294, -0.028530115, -0.050323308, -0.03485921, -0.059130218, -0.1052172, 0.034727484, 0.09636715, -0.009355378, -0.08328378, -0.018469354, -0.3793854, 0.0123696355, -0.11376425, 0.023209028, -0.04596226, 0.019992355, 0.0005862636, 0.022716032, -0.0073214257, -0.08092167, 0.029061595, -0.12437811, -0.025695901, -0.056365624, -0.015389642, -0.03804987, 0.045304283, 0.0009684118, -0.0012951726, 0.011638488, -0.06881104], "bias": [0.01088573, 0.012155733, 0.011036726, 0.012341176]}, "pixel_shuffle": {"name": "pixel_shuffle", "type": "pixel_shuffle", "inputs": ["conv2d_last_tf"], "output": "canvas"}}} |