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-m", "layers": {"conv2d_tf": {"name": "conv2d_tf", "type": "conv", "inputs": ["input_image"], "output": "conv2d_tf", "weights": [-0.072145514, 0.00028308097, -0.02246936, 0.024812723, -0.07055249, -0.026193684, 0.06250765, 0.10273287, 0.023989726, 0.059850752, 0.12388443, -0.05610249, 0.0, 0.0, 0.0, 0.0, 0.09287214, -0.28751278, 0.16856873, -0.15185986, 0.16519044, 0.4119165, 0.07745975, -0.39149612, 0.13748379, 0.19694383, -0.0066408464, 0.035648603, 0.0, 0.0, 0.0, 0.0, 0.046672463, -8.82265e-05, 0.15009816, 0.102355726, -0.032501314, -0.14876123, -0.1941357, 0.11521068, -0.032267876, 0.14113747, -0.07084842, -0.08086943, 0.0, 0.0, 0.0, 0.0, -0.03968421, -0.19019222, -0.07080888, -0.12406084, 0.122626044, 0.15815943, 0.1530841, 0.06688442, 0.1656277, 0.09434839, 0.026673744, 0.030796751, 0.0, 0.0, 0.0, 0.0, 0.6921126, 0.095474385, -0.0056551266, 0.05798976, 0.7254942, -0.2543809, -1.0393281, -1.035846, -0.08110214, -0.6830166, -0.15731563, 0.39509445, 0.0, 0.0, 0.0, 0.0, -0.13021441, 0.1503607, 0.20657627, -0.0663681, 0.033763044, -0.066993274, 0.6008725, -0.1464296, -0.06528626, 0.09392874, 0.061711833, -0.069615036, 0.0, 0.0, 0.0, 0.0, -0.30076998, -0.14036414, -0.16433552, -0.08016163, 0.10318603, -0.03843068, -0.09866994, 0.14631474, 0.05388223, 0.034318227, 0.052106798, -0.057668205, 0.0, 0.0, 0.0, 0.0, -0.23786129, 0.3727822, -0.36011657, 0.047483545, 0.055704113, -0.20353787, 0.08237646, 0.17585282, -0.02251169, -0.10484316, 0.027232561, -0.13464582, 0.0, 0.0, 0.0, 0.0, 0.108914025, 0.02642652, 0.107908495, 0.118661806, -0.051034376, 0.0048822667, 0.10991195, 0.08074561, -0.067566656, 0.070840575, -0.04906773, -0.116966926, 0.0, 0.0, 0.0, 0.0], "bias": [-0.2894205, -0.030624738, 0.3073097, 0.16633725]}, "conv2d_1_tf": {"name": "conv2d_1_tf", "type": "conv", "inputs": ["conv2d_tf"], "output": "conv2d_1_tf", "weights": [0.06147661, 0.08833126, 0.046938453, -0.06018922, 0.018930146, 0.17391251, 0.0968089, 0.16006882, 0.046476644, -0.120067514, 0.00928321, -0.1123082, 0.09198358, -0.113103606, 0.09203268, 0.10243458, 0.03423173, 0.2505715, 0.031599615, -0.09511331, 0.1426214, -0.15313806, 0.12848975, 0.023286961, 0.11289028, -0.08757947, -0.43745708, 0.06928223, 0.3181391, 0.057651803, 0.026929406, 0.03803578, -0.1292945, 0.042583257, -0.2004356, 0.32660207, 0.1276197, -0.056887686, -0.24774489, -0.13177316, -0.081318446, -0.06493321, -0.07007088, -0.055146568, -0.023784764, 0.11433824, -0.3040935, -0.027778838, -0.044498716, 0.42280948, 0.062070623, 0.2148611, -0.123194054, -0.25048327, 0.19733655, -0.13551375, -0.009461302, -0.5631941, -0.08607164, 0.13850448, -0.08990211, -0.14915596, -0.066133216, -0.19829673, 0.21967943, -0.25121883, 0.37952, -0.45724368, -0.2076556, -0.28931007, 0.3471786, 0.122488834, -0.012703499, 0.31451723, 0.21664213, 0.21074998, 0.3702994, 0.15678592, -0.21367137, 0.8268485, -0.22125253, -0.110753976, 0.047768846, -0.27023393, 0.13471258, 0.14345424, -0.13693272, 0.038446166, -0.06620079, -0.05445717, 0.039801225, -0.046015315, 0.11203161, 0.26460502, -0.023194747, -0.039629303, 0.069432564, -0.09272574, 0.12253827, 0.1291694, -0.11224104, 0.16809909, -0.06915314, -0.17369248, 0.05969406, -0.14640228, -0.0057935934, -0.08471993, -0.02034365, 0.29337114, 0.14110939, 0.0361152, -0.27787417, 0.009200061, -0.08835913, -0.056134365, -0.21587728, 0.21017273, -0.31632778, -0.25002062, 0.29224077, 0.40650958, 0.1681141, -0.23782323, -0.16064619, -0.19453338, -0.34186718, -0.053081196, -0.24282049, -0.11873012, -0.11440592, -0.008417438, -0.034035943, -0.18256468, -0.16165936, 0.03052503, -0.08246184, 0.06311742, 0.04626973, 0.040066913, -0.10866987, -0.04512457, 0.09514122, 0.038252804, -0.03537035, -0.13365282, 0.0019187316, 0.039242424, -0.06117977, -0.092283174, -0.13210632, -0.17939499, -0.066161625, 0.13690484, -0.005225468, 0.2245015, -0.13621947, -0.026488775, -0.050598588, -0.14804119, -0.107831135, -0.22277409, -0.02657944, -0.038208194, -0.24297678, -0.018400285, -0.26537237, 0.022952996, -0.10555939, 0.261099, 0.43923762, -0.013036105, -0.28890732, -0.0063598123, 0.025646267, -0.013443436, 0.054750264, -0.016597766, 0.32688782, -0.2769158, -0.09020083, 0.04267472, 0.2602852, 0.08283018, 0.043695193, 0.0037251178, 0.006281472, 0.05668816, -0.030066907, 0.055234175, 0.2986416, 0.16619839, 0.018525071, -0.4757674, 0.04003113, -0.41883922, 0.107983075, 0.1751906, -0.17759812, 0.08198361, -0.10118877, 0.56437653, -0.010495897, -0.0020253563, 0.08937133, 0.17738473, -0.02704055, -0.24398229, 0.080102555, 0.47490886, -0.8159124, 0.7260771, 0.37928665, 0.037219018, -0.15212315, -0.2146389, -0.2708812, -0.45721346, 0.01860179, -0.1548227, 0.107198894, -0.03666022, -0.46162957, -0.20030443, 0.11108713, 0.063587174, -0.20645106, 0.35211852, -0.024195202, -0.13010001, 0.14576577, -0.11711316, 0.030958494, 0.065396935, 0.0071226587, 0.016234476, -0.18657097, -0.24682587, 0.20031837, 0.061695997, -0.10664103, 0.21913692, -0.01698097, -0.096373215, 0.07363686, -Line truncated
|
||||
Reference in new issue
Block a user