mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-25 16:11: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.010050178, 0.07514247, 0.113477625, -0.0050521293, 0.01478879, 0.09144898, -0.16916063, -0.0062370496, 0.006512118, -0.03930433, 0.021983238, -0.0565407, 0.0, 0.0, 0.0, 0.0, -0.04244692, 0.11679907, 0.16609213, -0.16842541, 0.07169264, 0.21394816, 0.08092494, -0.03002658, 0.035952974, 0.10141175, -0.32607806, 0.22579904, 0.0, 0.0, 0.0, 0.0, -0.11428862, 0.0039621624, 0.3454322, 0.056171715, 0.15070564, 0.06177961, -0.1525414, 0.060822755, 0.021606993, -0.018011494, -0.009556803, -0.02916302, 0.0, 0.0, 0.0, 0.0, 0.137314, 0.03353004, -0.12564452, -0.2032319, -0.18812643, 0.07161205, 0.0111773005, -0.048790902, 0.01887958, -0.14259052, 0.13026474, 0.15626068, 0.0, 0.0, 0.0, 0.0, 0.02319849, -0.39226383, -0.123694085, 0.22229607, -0.1712679, -0.26796553, -0.019221596, -0.006919385, -0.18473144, 0.006488457, 0.13326825, -0.08870392, 0.0, 0.0, 0.0, 0.0, -0.1269655, 0.08355754, 0.21463887, 0.097125545, 0.3017963, -0.08782909, 0.0050339396, 0.092567906, 0.01710076, 0.025207734, -0.2060725, 0.06790692, 0.0, 0.0, 0.0, 0.0, -0.00019268194, -0.030228717, -0.055018324, -0.082947895, -0.019216659, 0.046126038, 0.07169476, 0.052046675, 0.01451337, -0.026233962, 0.0025339196, 0.0070074038, 0.0, 0.0, 0.0, 0.0, 0.072528444, 0.19924125, -0.20110317, 0.07143661, -0.121316634, -0.15084448, -0.02568811, 0.06514408, 0.008883467, 0.033884615, 0.23646776, -0.22766043, 0.0, 0.0, 0.0, 0.0, -0.02415469, -0.042166796, -0.049360428, -0.12688674, -0.00039535295, 0.042400748, 0.067389965, 0.08709409, 0.027728926, 0.0324439, -0.046094008, -0.07646781, 0.0, 0.0, 0.0, 0.0], "bias": [-0.021017402, 0.023869233, -0.03446273, -0.017457444]}, "conv2d_tf1": {"name": "conv2d_tf1", "type": "conv", "inputs": ["input_image"], "output": "conv2d_tf1", "weights": [0.13039374, -0.20881647, 0.085535765, -0.04549321, -0.05602446, 0.05206936, -0.049312644, 0.058318272, -0.07205178, 0.12506376, -0.055328257, -0.040317576, 0.0, 0.0, 0.0, 0.0, 0.027084742, -0.046953436, 0.114328414, 0.019273244, -0.18612593, -0.042662013, -0.10632912, 0.46282503, 0.15413262, -0.11449919, 0.022248508, 0.14106302, 0.0, 0.0, 0.0, 0.0, 0.061211597, -0.09251022, -0.022290474, -0.026557192, -0.06401915, 0.04884669, -0.01012558, 0.0868072, 0.0051997304, 0.0016399457, 0.029869322, -0.06611751, 0.0, 0.0, 0.0, 0.0, 0.032391887, 0.1376006, -0.07514978, -0.011408214, -0.22705236, -0.060529344, -0.029770914, -0.016893994, -0.29513285, -0.15767653, 0.11569193, 0.0060723783, 0.0, 0.0, 0.0, 0.0, 0.23049706, -0.10150541, 0.3651725, 0.19905666, 0.2135744, 0.36350945, 0.25375202, -0.21457075, 0.054750398, -0.2203764, -0.10303004, 0.031399418, 0.0, 0.0, 0.0, 0.0, -0.20473221, 0.1794404, 0.14544463, -0.10519902, 0.13948862, -0.12484333, -0.057456728, 0.090331204, 0.06509677, 0.008269811, -0.058718067, -0.014385275, 0.0, 0.0, 0.0, 0.0, -0.09778942, -0.18738163, 0.102832824, -0.073642634, 0.0953312, 0.141663, -0.09108712, 0.072541974, -0.021894168, 0.06338371, -0.033460297, -0.003208068, 0.0, 0.0, 0.0, 0.0, -0.17743309, 0.22523694, 0.07015525, -0.04835906, 0.17053458, -0.18887468, -0.12807837, 0.052100822, 0.03275106, 0.18682368, 0.04089403, -0.012919293, 0.0, 0.0, 0.0, 0.0, 0.0072392495, 0.02001162, -0.030496176, -0.012241176, -0.079015754, -0.044929776, 0.0017619107, -0.018924208, 0.06333498, 0.101240695, 0.0061696167, 0.015617578, 0.0, 0.0, 0.0, 0.0], "bias": [0.003307056, 0.004167855, -0.04743373, -0.04461488]}, "conv2d_1_tf": {"name": "conv2d_1_tf", "type": "conv", "inputs": ["conv2d_tf", "conv2d_tf1"], "output": "conv2d_1_tf", "weights": [-0.08246607, -0.06993787, 0.21518068, 0.09349072, 0.098292604, 0.0031368467, -0.06322315, 0.008967563, 0.014805354, -0.06916433, 0.08671435, 0.06909203, -0.084386684, 0.057038587, 0.059080295, 0.09245788, 0.12281746, -0.033948243, -0.099717066, -0.36737415, 0.013275642, -0.10866348, -0.08168493, -0.22546785, -0.093949944, -0.004218151, 0.13359737, 0.025002811, 0.016627438, 0.009715738, 0.065090775, -0.08140275, -0.16906688, -0.14757878, -0.033162065, -0.12727965, 0.19325337, -0.031597618, -0.085281275, -0.100973025, -0.030999115, -0.017681807, -0.013036884, -0.022147438, 0.09220687, 0.028913654, 0.10349628, 0.1713921, -0.107005164, 0.12082677, 0.043716736, -0.0060760453, 0.055586, -0.056089986, -0.23198368, 0.12206357, 0.10441252, 0.0066681965, -0.08183869, 0.021837998, 0.006353985, -0.065043665, -0.09902116, 0.007791685, -0.011813115, -0.30264404, -0.017419564, 0.29318118, 0.32588926, 0.15907557, -0.005746378, 0.5083059, -0.009286822, 0.02270092, 0.083120786, -0.12527227, -0.05032595, -0.044868883, 0.06349155, 0.019234573, -0.008378586, -0.12289949, 0.2454629, 0.06867388, 0.21918839, 0.10011607, -0.08913173, 0.2419772, -0.030028814, 0.015717681, 0.06962608, -0.08822798, -0.14691831, 0.03270783, -0.14878273, -0.07302588, 0.2680654, 0.08090772, -0.19636732, 0.29980376, -0.00057029625, -0.049441554, -0.0736Line truncated
|
||||
Reference in new issue
Block a user