mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-26 00:31:20 -08:00
Refactor code structure for improved readability and maintainability
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.
This commit is contained in:
1 parent
07a5b0c0f0
commit
7dffd99cfd
308 files changed
+3175
-852
No files matched your search
@@ -0,0 +1 @@
|
||||
{"name": "anime4k/cnn-2x-l", "layers": {"conv2d_tf": {"name": "conv2d_tf", "type": "conv", "inputs": ["input_image"], "output": "conv2d_tf", "weights": [-0.012105739, -0.21161914, 0.08665858, -0.043757234, -0.004621963, 0.13140167, -0.020498553, 0.068226635, 0.0481979, 0.10644568, -0.073821716, -0.024450194, 0.0, 0.0, 0.0, 0.0, -0.03460033, -0.27414283, 0.1292829, 0.09952454, 0.08638587, 0.35136247, 0.002014225, -0.08911337, -0.04992038, -0.110431015, -0.27252296, -0.003830214, 0.0, 0.0, 0.0, 0.0, -0.0021824536, 0.021102726, -0.08147097, 0.044740677, -0.1426685, -0.08999886, 0.15422547, 0.033670772, 0.20571499, 0.09728407, -0.111735016, -0.06466725, 0.0, 0.0, 0.0, 0.0, 0.07400734, 0.085574634, -0.04571311, 0.2248693, 0.10583874, 0.086663984, 0.024795951, -0.35407907, -0.26252225, -0.18206589, -0.24463207, 0.04226849, 0.0, 0.0, 0.0, 0.0, 0.17383823, 0.2746202, -0.032821946, 0.103890546, -0.06658831, 0.05487442, 0.16287333, 0.49353996, -0.16454698, -0.35587335, 0.16858181, -0.08336467, 0.0, 0.0, 0.0, 0.0, 0.040836602, -0.38409352, 0.15976837, -0.43389916, -0.12867598, 0.08438891, -0.23420188, 0.14995688, 0.30413496, 0.35525417, 0.07781118, 0.13279356, 0.0, 0.0, 0.0, 0.0, 0.15095623, -0.024260975, -0.202878, 0.075513266, -0.09152621, 0.022201281, 0.08690367, -0.1823229, -0.08408583, 0.018264614, 0.11019093, -0.023587493, 0.0, 0.0, 0.0, 0.0, -0.4175719, 0.33386105, 0.125944, -0.22175133, 0.24887371, -0.49503592, -0.2636298, -0.059413243, -0.055216774, 0.17881532, 0.21107183, 0.04566585, 0.0, 0.0, 0.0, 0.0, 0.026185002, 0.19325988, -0.12736501, 0.088774204, -0.06482355, -0.14696772, 0.09635952, -0.10223607, 0.11916547, -0.118482724, 0.07763682, -0.002604218, 0.0, 0.0, 0.0, 0.0], "bias": [-0.011822983, 0.014293483, -0.012769984, -0.006732855]}, "conv2d_tf1": {"name": "conv2d_tf1", "type": "conv", "inputs": ["input_image"], "output": "conv2d_tf1", "weights": [0.28916284, -0.15040879, -0.0192073, -0.02884963, -0.21905234, 0.10878694, 0.011726894, -0.0068682986, -0.036941536, 0.044427305, 0.01452491, 0.071234636, 0.0, 0.0, 0.0, 0.0, -0.06996328, 0.20391136, 0.003351214, 0.059514046, -0.1084377, -0.028712979, -0.020189134, -0.026048189, 0.2243152, -0.11857627, 0.01867051, 0.011538576, 0.0, 0.0, 0.0, 0.0, -0.06152791, 0.48313802, -0.027256152, 0.040346023, -0.059589285, -0.45092732, 0.031973995, 0.0014718119, 0.0718745, 0.1250955, -0.009234695, -0.02332268, 0.0, 0.0, 0.0, 0.0, -0.0079591675, -0.043386262, -0.00452483, 0.08524179, 0.2201916, 0.042028118, 0.04982621, 0.021659052, -0.2251324, -0.046369746, -0.037215274, -0.09933687, 0.0, 0.0, 0.0, 0.0, -0.019172274, -0.43990272, -0.014577412, -0.13917908, -0.174285, 0.11088744, -0.047036733, -0.6268773, 0.16506457, 0.1510162, 0.03264733, -0.13022646, 0.0, 0.0, 0.0, 0.0, -0.19903474, -0.015057147, -0.3485079, -0.037082385, 0.19506766, 0.30837542, 0.051440038, 0.0045731016, -0.040234413, -0.27285996, -0.03142853, 0.078196004, 0.0, 0.0, 0.0, 0.0, -0.06812288, -0.01902635, -0.028367367, -0.015901025, 0.25828847, 0.08126227, -0.015662927, -0.029707028, -0.12541315, -0.07381142, 0.054435838, 0.08023881, 0.0, 0.0, 0.0, 0.0, 0.2385132, -0.16228026, 0.025715888, 0.012847345, 0.016879985, 0.06565064, 0.028275423, 0.010252947, -0.23852967, 0.09502917, -0.04704847, -0.005720649, 0.0, 0.0, 0.0, 0.0, -0.06551658, 0.14412688, -0.0531433, 0.04537602, -0.0037525722, -0.22331794, 0.02733627, -0.0102778, 0.014737596, 0.06094958, 0.026655352, -0.023332475, 0.0, 0.0, 0.0, 0.0], "bias": [-0.020497546, -0.007860721, 0.030287042, 0.028565682]}, "conv2d_1_tf": {"name": "conv2d_1_tf", "type": "conv", "inputs": ["conv2d_tf", "conv2d_tf1"], "output": "conv2d_1_tf", "weights": [-0.010358707, 0.0490416, -0.10518602, 0.06427084, -0.0034192111, 0.013586318, 0.06833705, -0.0557498, 0.035131715, 0.03363387, -0.038138706, 0.07597535, -0.025302604, 0.0047035823, 0.10352301, -0.056792695, -0.116226494, -0.012450746, 0.28944185, -0.03426505, 0.012647472, -0.0021045296, -0.028492844, 0.19581257, -0.1482818, -0.018367179, 0.120634414, 0.11839382, 0.01900549, -0.045902513, 0.42492622, 0.04239026, 0.2232401, 0.03416393, 0.060350582, -0.109450236, -0.15116562, 0.01000294, 0.005642412, 0.13348213, -0.022755088, 0.11170208, -0.038675003, 0.1340381, 0.1046923, 0.027725171, 0.2022053, 0.024041511, 0.05565773, -0.0020359703, -0.083414115, 0.098895594, 0.02194162, -0.01768254, 0.08173551, 0.09919405, 0.15445028, -0.03146529, -0.081083044, 0.10636767, -0.042560574, 0.07268869, 0.22148202, 0.19362788, -0.12083246, 0.10130491, -0.081338964, 0.27768773, 0.15600735, 0.053578418, 0.0073994165, -0.30713353, -0.18364441, -0.11660445, -0.2128906, 0.321189, 0.04764897, -0.027210085, -0.22743653, 0.07671181, 0.09754845, -0.056604456, 0.024920316, -0.09915068, -0.16163763, 0.033750433, -0.05144461, -0.06408046, 0.09309471, 0.11419357, 0.30810606, -0.25331327, 0.13132183, 0.21047948, 0.28078455, 0.17718777, -0.009033929, 0.010669166, -0.10706134, 0.21554418, 0.009046256, -0.0014486881, 0.041525267, 0.17218027, -0.04988403, 0.00452Line truncated
|
||||
Reference in new issue
Block a user