Closed MaxPayne86 closed 1 year ago
Hi there! Thanks for reporting the issue. Would it be possible to share a json file containing a model that crashes the plugin in this way?
Looking ahead, I wonder if it might be a cool idea to have a batch of "broken" json files to make sure that RTNeural throws exceptions properly if someone tries to load a file like that.
Note: hidden_size=16 is the only error in the file. Since this file has indeed hidden_size=20. I think that this error can be easily injected by python or bash and jq, without the need to provide specific model files to trigger the error.
{
"in_shape": [
null,
null,
1
],
"layers": [
{
"type": "lstm",
"activation": "",
"shape": [
null,
null,
16
],
"weights": [
[
[
-0.009368492290377617,
0.009663677774369717,
-0.01856256276369095,
0.0028777909465134144,
-0.04603882506489754,
0.013663644902408123,
0.030944624915719032,
-0.024898711591959,
-0.03466816991567612,
-0.012008837424218655,
-0.028144139796495438,
-0.007802227512001991,
-0.007985473610460758,
-0.0012888496275991201,
-0.021352088078856468,
0.0902477502822876,
0.013771136291325092,
-0.032247934490442276,
0.0633869543671608,
0.02365664765238762,
0.029273327440023422,
-0.012063146568834782,
-0.0390600860118866,
-0.03629286587238312,
-0.019604679197072983,
-0.0019872011616826057,
0.02588062174618244,
-0.04524197056889534,
-0.0612955167889595,
0.03822692483663559,
-0.07466236501932144,
0.007997874170541763,
-0.014981742016971111,
0.0485495887696743,
-0.031927235424518585,
0.0274602510035038,
0.027606306597590446,
-0.04066549614071846,
-0.02265709452331066,
0.0515868216753006,
-0.08962932229042053,
-1.143807291984558,
-0.1369686871767044,
1.2358921766281128,
-0.0018119997112080455,
-0.08050926774740219,
0.005641408264636993,
-0.02360883727669716,
-0.5499166250228882,
0.2026437371969223,
1.0288480520248413,
0.17302560806274414,
-0.5057501792907715,
0.019354911521077156,
0.013803376816213131,
-0.018593845888972282,
0.14090853929519653,
0.1497197151184082,
-0.5682258605957031,
0.06346213072538376,
-0.033586688339710236,
0.011134154163300991,
-0.030675988644361496,
-0.03092646785080433,
-0.015251080505549908,
-0.03008042648434639,
0.02145891822874546,
-0.01705010235309601,
-0.023802734911441803,
0.04890568181872368,
-0.018859056755900383,
0.0060202921740710735,
-0.012015985324978828,
0.0029128913301974535,
-0.019749416038393974,
-0.061118897050619125,
0.015372824855148792,
-0.01448103692382574,
0.0245966799557209,
-0.0003344035940244794
]
],
[
[
-0.09075101464986801,
0.06155014410614967,
-0.01955220103263855,
0.016582932323217392,
-0.0270636435598135,
0.014273343607783318,
-0.19464223086833954,
0.030031733214855194,
0.10999161005020142,
0.061528611928224564,
0.12645414471626282,
-0.06249155104160309,
-0.040002256631851196,
-0.12176930159330368,
0.008377907797694206,
0.07354259490966797,
0.0683656632900238,
0.07330060750246048,
0.14615240693092346,
0.12397025525569916,
0.02593662589788437,
0.03869449719786644,
-0.10387376695871353,
0.014912581071257591,
0.047824736684560776,
0.005786014720797539,
-0.5326765179634094,
0.11962120980024338,
0.04376408830285072,
-0.12581691145896912,
0.03416207805275917,
0.057703468948602676,
-0.04468461871147156,
0.10558472573757172,
0.0924966111779213,
0.02955635078251362,
0.030778631567955017,
0.031672898679971695,
0.038721952587366104,
-0.004043810069561005,
0.6893784403800964,
0.27820253372192383,
-0.043063536286354065,
0.048071715980768204,
-0.1358649730682373,
-0.03879455476999283,
-0.8498787879943848,
-0.33167126774787903,
0.1806337684392929,
-0.040490541607141495,
0.06752539426088333,
-0.19152486324310303,
0.08514315634965897,
0.09064488857984543,
0.01586184836924076,
-0.0006680273218080401,
0.1426946371793747,
0.013413871638476849,
0.1335781067609787,
-0.19475996494293213,
0.22448387742042542,
0.05829738825559616,
-0.0427098348736763,
-0.04042719304561615,
-0.02338183857500553,
0.18232141435146332,
-0.2098458856344223,
-0.09976651519536972,
0.06619549542665482,
-0.06213454157114029,
-0.016791703179478645,
-0.0816156193614006,
0.08703690022230148,
-0.029028156772255898,
0.18716119229793549,
-0.11568674445152283,
0.027154037728905678,
-0.0007821213803254068,
0.05137857422232628,
0.08172626048326492
],
[
-0.10503682494163513,
-0.0020729878451675177,
-0.04182375222444534,
0.06259516626596451,
-0.08348764479160309,
0.00819617509841919,
-0.12979471683502197,
-0.028392892330884933,
-0.07470234483480453,
-0.047851283103227615,
-0.04304884001612663,
0.10490376502275467,
-0.026012983173131943,
0.028013154864311218,
0.036086417734622955,
0.0642736628651619,
0.008650517091155052,
-0.030308034271001816,
0.051238764077425,
-0.07711435854434967,
-0.08846541494131088,
0.015466851182281971,
-0.04865888133645058,
0.08070893585681915,
-0.02514273300766945,
-0.05520746856927872,
0.17325663566589355,
-0.053054846823215485,
-0.017803072929382324,
-0.11668619513511658,
-0.03757227957248688,
0.046464454382658005,
-0.010881341062486172,
0.05891188606619835,
0.17463645339012146,
0.07140126079320908,
-0.07379161566495895,
-0.03233383968472481,
0.11768865585327148,
-0.07816735655069351,
-1.028256893157959,
0.2179681360721588,
-0.34098726511001587,
0.08870276808738708,
0.14612257480621338,
0.03198857232928276,
-0.21450015902519226,
0.0037603015080094337,
-0.40829434990882874,
0.2250669300556183,
0.10345590114593506,
1.2009286880493164,
0.39376533031463623,
-0.1284635066986084,
-0.19813843071460724,
0.2681325674057007,
0.42307862639427185,
-0.02565751038491726,
-0.28781557083129883,
-0.015173847787082195,
0.2019423097372055,
-0.006905036978423595,
-0.11238366365432739,
-0.005501573905348778,
-0.007548390422016382,
-0.010298870503902435,
-0.09202717244625092,
-0.07614713162183762,
0.015778597444295883,
-0.11208273470401764,
-0.02005656808614731,
-0.038592446595430374,
-0.06297121196985245,
0.1861710548400879,
0.06233387812972069,
0.10547687113285065,
0.05978671833872795,
0.04416074603796005,
0.0775875672698021,
-0.06720008701086044
],
[
0.113619863986969,
0.15831200778484344,
0.04830749332904816,
0.10863571614027023,
-0.07771793752908707,
-0.05209225043654442,
-0.0484931655228138,
0.12873274087905884,
0.05839480832219124,
-0.015451407060027122,
0.1497226506471634,
0.10528193414211273,
0.07685916125774384,
-0.08170530945062637,
0.03896494209766388,
0.05494815856218338,
0.11322344094514847,
0.09286635369062424,
-0.025996500626206398,
0.0769382193684578,
0.08264190703630447,
0.013386569917201996,
0.02752620540559292,
-0.006194863934069872,
0.13944651186466217,
0.04632894694805145,
-0.26742684841156006,
0.10682745277881622,
-0.07025308161973953,
-0.02076617442071438,
0.02584748901426792,
-0.0451221689581871,
-0.12194524705410004,
-0.057494983077049255,
0.03445414826273918,
-0.021894099190831184,
0.03930311277508736,
0.12092792987823486,
0.20911481976509094,
0.00763727817684412,
-0.61195307970047,
0.3036791980266571,
0.1951143443584442,
-0.038555845618247986,
-0.2608790695667267,
0.038802504539489746,
-0.1137516051530838,
0.08481056243181229,
0.08839209377765656,
-0.022462476044893265,
0.0971209928393364,
-0.29577821493148804,
-0.0036050602793693542,
0.08668884634971619,
0.06714930385351181,
-0.1458088606595993,
0.07570209354162216,
-0.05226684734225273,
-0.027085080742836,
0.08650632202625275,
0.0127452677115798,
0.17286284267902374,
0.07797668874263763,
0.21531744301319122,
0.02188132517039776,
0.05362938717007637,
-0.2961076498031616,
0.18975384533405304,
0.057535529136657715,
-0.01207418367266655,
0.054120924323797226,
0.09508618712425232,
0.09612108021974564,
0.03228890523314476,
0.06023230403661728,
-0.1038375049829483,
0.10497301816940308,
0.05467670038342476,
0.08815403282642365,
0.0783025249838829
],
[
0.05769624561071396,
0.027530061081051826,
-0.0195549838244915,
0.0008162280428223312,
-0.007202084641903639,
0.01745716668665409,
0.06357180327177048,
-0.016696898266673088,
-0.07674203813076019,
-0.06389917433261871,
0.0711333155632019,
-0.004628660157322884,
0.03963843733072281,
-0.028977666050195694,
-0.04273684322834015,
0.044558439403772354,
-0.028330160304903984,
0.04610002413392067,
0.052260514348745346,
0.14780360460281372,
0.0865793451666832,
-0.0060145738534629345,
-0.0453801266849041,
0.022245364263653755,
-0.004604456014931202,
0.03512762859463692,
0.037795767188072205,
-0.022802677005529404,
-0.15846207737922668,
0.07712220400571823,
-0.008968689478933811,
-0.004268012009561062,
0.14997237920761108,
0.07066211104393005,
-0.14129813015460968,
0.04502395540475845,
0.06924689561128616,
0.09697075933218002,
-0.08620567619800568,
0.22827191650867462,
-0.06258627772331238,
-0.40242522954940796,
0.0599159300327301,
0.12623687088489532,
-0.0953969731926918,
-0.04630366340279579,
-0.03211251273751259,
-0.10343506187200546,
-0.1510954052209854,
0.14524680376052856,
-0.4288488030433655,
-0.39050784707069397,
-0.5526549220085144,
0.20584815740585327,
0.013433138839900494,
-0.22602242231369019,
0.39738893508911133,
0.22251813113689423,
-0.18858806788921356,
0.10179855674505234,
0.004747886210680008,
0.02178487367928028,
-0.020140858367085457,
0.05876599997282028,
-0.01433542836457491,
-0.05600334703922272,
0.052845969796180725,
0.058832038193941116,
-0.09078841656446457,
0.09213221818208694,
-0.016857566311955452,
0.06137798726558685,
0.09942813217639923,
0.01775330677628517,
-0.06535720080137253,
-0.10687199980020523,
-0.008167923428118229,
0.004995979834347963,
0.024941183626651764,
0.14784030616283417
],
[
0.028318095952272415,
-0.021140558645129204,
-0.017156226560473442,
0.03102586604654789,
-0.04261566326022148,
0.17159904539585114,
0.07774775475263596,
0.05263291671872139,
0.08317350596189499,
0.09280124306678772,
0.041718073189258575,
-0.029358170926570892,
-0.016516296193003654,
0.012627067044377327,
0.05694372206926346,
0.2090274542570114,
-0.0005501151317730546,
-0.05360443517565727,
-0.16598887741565704,
0.039108552038669586,
0.022170787677168846,
0.06044773384928703,
0.011906906962394714,
0.14332404732704163,
-0.02332071028649807,
0.2332574725151062,
0.030524633824825287,
0.04604702442884445,
0.11748205870389938,
0.04030069708824158,
0.029641391709446907,
0.1441567987203598,
0.05760454386472702,
0.006222542375326157,
0.13576112687587738,
-0.042724791914224625,
0.08832968026399612,
-0.12200051546096802,
-0.0655422955751419,
0.07605286687612534,
-0.014410332776606083,
-0.04475998878479004,
-0.23144300282001495,
0.30210110545158386,
0.3092963397502899,
-0.037467099726200104,
-0.3402477502822876,
0.07906842976808548,
-0.001220172387547791,
0.17686618864536285,
-0.02468828670680523,
0.07723324745893478,
0.053076110780239105,
0.12686698138713837,
-0.22674433887004852,
0.21514509618282318,
-0.09111973643302917,
-0.058467160910367966,
0.025813261047005653,
0.1062580794095993,
-0.03799661993980408,
-0.02266884595155716,
-0.015224488452076912,
0.0803835391998291,
-0.02521531470119953,
-0.0598980188369751,
0.1970016211271286,
0.0360746867954731,
0.05448056012392044,
0.018075643107295036,
0.014083770103752613,
0.012372056022286415,
-0.036943696439266205,
0.011249834671616554,
0.021967478096485138,
0.09401074796915054,
-0.025524502620100975,
-0.059870488941669464,
-0.07143457233905792,
0.03521374985575676
],
[
0.31289294362068176,
0.2921876311302185,
0.08848308026790619,
0.25657227635383606,
-0.5507507920265198,
-0.07440007477998734,
0.19750235974788666,
0.08976810425519943,
-0.02292274683713913,
-0.14112000167369843,
0.21848531067371368,
0.3785178065299988,
0.22442829608917236,
-0.005273580085486174,
0.1058073490858078,
-0.6276265382766724,
0.1273755431175232,
0.0784851610660553,
-0.2339780628681183,
0.12397769093513489,
0.2290162891149521,
0.10767599940299988,
0.07672815024852753,
0.10256273299455643,
0.4923897683620453,
0.0652671754360199,
-0.10081448405981064,
0.14656731486320496,
-0.04962935298681259,
0.18441107869148254,
0.07074760645627975,
0.21194607019424438,
0.169134721159935,
0.10699070245027542,
0.22479525208473206,
0.47229230403900146,
0.06964225322008133,
0.4167011082172394,
0.29740604758262634,
0.03355371206998825,
0.08090559393167496,
0.1218949630856514,
0.07079179584980011,
-0.21355217695236206,
-0.08710940182209015,
0.21842384338378906,
-0.014266414567828178,
0.14786575734615326,
0.2031158208847046,
0.21223275363445282,
0.06284956634044647,
-0.1477718949317932,
-0.11471964418888092,
-0.03897577524185181,
-0.10217367857694626,
-0.20993535220623016,
-0.039517562836408615,
-0.2818833887577057,
-0.3297758102416992,
-0.14223188161849976,
0.08982821553945541,
0.31390830874443054,
0.12317412346601486,
0.2086113691329956,
0.08141018450260162,
0.27225959300994873,
0.0735638439655304,
0.10807257145643234,
0.07180842757225037,
0.22581781446933746,
0.2286359816789627,
0.4188160300254822,
0.23474003374576569,
0.25200584530830383,
0.27025020122528076,
0.11894983053207397,
0.17442290484905243,
0.2456139773130417,
0.15508964657783508,
0.15735313296318054
],
[
0.12621887028217316,
0.027774831280112267,
0.048732906579971313,
0.06879881024360657,
-0.13399341702461243,
-0.1327613741159439,
0.27818411588668823,
-0.10499576479196548,
-0.06164996698498726,
-0.08813051134347916,
0.02128935046494007,
0.09327305108308792,
0.09956755489110947,
0.09923767298460007,
0.045627202838659286,
0.012609032914042473,
0.04626363143324852,
-0.03284071385860443,
0.05335177853703499,
0.004887099377810955,
0.029218316078186035,
0.029682433232665062,
0.07445970922708511,
-0.007592794951051474,
0.14686976373195648,
0.03691168129444122,
0.28668472170829773,
-0.15001769363880157,
-0.06217986345291138,
0.19003425538539886,
0.026836475357413292,
-0.0106507558375597,
-0.04109437018632889,
0.08222800493240356,
0.1218404695391655,
0.34598666429519653,
0.06973617523908615,
0.09832695126533508,
0.20525796711444855,
0.045085977762937546,
0.398948073387146,
0.18112270534038544,
-0.16561010479927063,
0.08366787433624268,
-0.07865894585847855,
-0.039609868079423904,
0.09120616316795349,
-0.30381059646606445,
0.17748665809631348,
0.05336395278573036,
0.018063290044665337,
0.002391987945884466,
0.07913706451654434,
0.11081825941801071,
-0.20416148006916046,
0.041737888008356094,
0.05433264374732971,
0.008931219577789307,
0.10090624541044235,
-0.17298291623592377,
0.24161100387573242,
0.07330363988876343,
0.10674532502889633,
0.07851564139127731,
0.018620280548930168,
0.14769667387008667,
0.22798438370227814,
-0.14390045404434204,
-0.058960702270269394,
0.03455965220928192,
0.06247382611036301,
0.14241471886634827,
0.022778715938329697,
0.037556007504463196,
0.16791671514511108,
0.18735873699188232,
0.045243311673402786,
0.01756433956325054,
0.08597356826066971,
0.05576390400528908
],
[
-0.036968719214200974,
-0.012696031481027603,
0.027839282527565956,
0.005744718015193939,
0.026058364659547806,
0.0350014865398407,
-0.05437527596950531,
0.05977834388613701,
-0.023677686229348183,
0.05688429996371269,
0.03666485473513603,
-0.05320533737540245,
-0.026142356917262077,
0.04442759230732918,
0.026601478457450867,
-0.03554768115282059,
-0.020933926105499268,
-0.0155184930190444,
-0.08906946331262589,
0.021984750404953957,
-0.07575672119855881,
-0.03925344720482826,
-0.0011789619456976652,
0.023657623678445816,
0.10743596404790878,
-0.033257436007261276,
-0.2102685123682022,
0.1966928094625473,
0.019408613443374634,
0.0021461565047502518,
-0.025485094636678696,
-0.13909058272838593,
-0.07374701648950577,
0.07118985801935196,
0.07416342198848724,
-0.10561323910951614,
-0.006324498914182186,
-0.007953690364956856,
-0.04399846866726875,
-0.050520241260528564,
0.162003755569458,
-0.2975643575191498,
-0.05913253501057625,
-8.194645488401875e-05,
0.10657311975955963,
-0.014602084644138813,
0.03060161881148815,
0.2059214562177658,
-0.2416815608739853,
0.035598885267972946,
-0.05924748256802559,
0.6592914462089539,
0.045934028923511505,
-0.1996164172887802,
-0.10354886949062347,
0.07895148545503616,
0.1691286563873291,
0.10258825868368149,
-0.19286073744297028,
-0.1610683798789978,
-0.4730498194694519,
-0.021667663007974625,
0.024751530960202217,
-0.05668836459517479,
0.04512415826320648,
-0.05591234937310219,
-0.19479110836982727,
0.05119389668107033,
0.0034303474240005016,
0.09375995397567749,
0.0722540095448494,
0.03968746215105057,
-0.043488018214702606,
0.0168168805539608,
0.023578178137540817,
-0.11024060845375061,
-0.02545131929218769,
0.01058865338563919,
-0.03251131623983383,
0.029518920928239822
],
[
0.1809694468975067,
0.03599775955080986,
-0.028306184336543083,
0.05576787516474724,
-0.2336803525686264,
0.01554103847593069,
0.08663727343082428,
0.0780060887336731,
0.04300329089164734,
0.04631054028868675,
0.003471073228865862,
0.08171749114990234,
0.05745944008231163,
0.19546760618686676,
-0.0074025415815413,
-0.1131526529788971,
0.053682971745729446,
-0.005258673802018166,
-0.004204240627586842,
-0.018385648727416992,
0.24396608769893646,
-0.010781618766486645,
-0.04728233814239502,
-0.09830614924430847,
0.03534471243619919,
0.011477080173790455,
0.04561173915863037,
0.0972331166267395,
0.17497198283672333,
0.10601374506950378,
0.057075921446084976,
-0.09047947078943253,
0.15572631359100342,
0.06078696250915527,
0.02175474911928177,
0.015800168737769127,
0.08614431321620941,
0.021513059735298157,
-0.08758030086755753,
-0.08404415845870972,
-0.00866458099335432,
-0.054424308240413666,
-0.2687811553478241,
-0.12388784438371658,
0.20130179822444916,
-0.02274641953408718,
-0.24038062989711761,
0.422278493642807,
0.17960186302661896,
-0.20762945711612701,
0.12696006894111633,
0.5873010158538818,
0.10990054905414581,
-0.05992903187870979,
0.14513492584228516,
0.028518609702587128,
0.41388729214668274,
0.15046489238739014,
-0.25348126888275146,
0.216058611869812,
0.258756160736084,
0.04080474004149437,
-0.021484745666384697,
0.08886788040399551,
-0.011760865338146687,
0.0048111723735928535,
0.06897621601819992,
0.06812779605388641,
0.09354505687952042,
0.03480105847120285,
-0.0224817655980587,
0.12817151844501495,
0.05662453919649124,
0.16069528460502625,
0.020398065447807312,
0.04447706788778305,
0.043446023017168045,
0.04953635111451149,
0.045325737446546555,
-0.009364617057144642
],
[
-0.1030435711145401,
-0.04518275335431099,
-0.02869207039475441,
-0.04577157646417618,
-0.007547490298748016,
0.1918967366218567,
0.06397386640310287,
-0.11582920700311661,
0.03521889075636864,
-0.0014955520164221525,
0.0036907352041453123,
-0.1481298953294754,
-0.07687448710203171,
-0.17011858522891998,
0.04009728506207466,
0.17428186535835266,
-0.037160273641347885,
0.05869489163160324,
0.25657960772514343,
0.013324735686182976,
-0.03472869098186493,
0.0027416774537414312,
-0.07425770908594131,
-0.19914308190345764,
-0.02905169129371643,
0.043146610260009766,
0.35848793387413025,
-0.01538173295557499,
-0.06586751341819763,
0.0338602215051651,
0.0391811765730381,
-0.18063177168369293,
-0.10198061168193817,
-0.13002420961856842,
0.0960569754242897,
-0.18347182869911194,
-0.03516196087002754,
0.07573045045137405,
0.03391372412443161,
0.022740812972187996,
0.0033015527296811342,
-0.05512455850839615,
-0.028013434261083603,
-0.06457093358039856,
0.07303913682699203,
0.3015027344226837,
-0.398773193359375,
-0.0652228444814682,
-0.25913915038108826,
0.1215902715921402,
-0.09051631391048431,
-0.006253969855606556,
-0.1213282123208046,
-0.1988597959280014,
-0.25316107273101807,
-0.12743932008743286,
-0.22935320436954498,
0.014077514410018921,
-0.009079862385988235,
0.14396926760673523,
-0.29918619990348816,
-0.06401776522397995,
-0.0412604920566082,
-0.10860942304134369,
-0.017967039719223976,
-0.01061766967177391,
0.2441202700138092,
-0.07760102301836014,
-0.02955213002860546,
0.029173051938414574,
-0.022049907594919205,
-0.0863945260643959,
-0.08457068353891373,
-0.07106614112854004,
0.0002089619665639475,
-0.030303318053483963,
-0.020527414977550507,
0.025554640218615532,
0.00043249112786725163,
0.02057577855885029
],
[
-0.09406165778636932,
-0.04098161309957504,
-0.006119858473539352,
-0.04109176620841026,
-0.10334477573633194,
0.004199878312647343,
-0.021365782245993614,
-0.0003479470033198595,
0.07414109259843826,
0.08135692775249481,
-0.09177020192146301,
-0.006472828797996044,
-0.02182958275079727,
0.08019553869962692,
0.017292924225330353,
-0.10888403654098511,
0.015519759617745876,
-0.07017214596271515,
0.055149633437395096,
-0.08576828986406326,
-0.13664183020591736,
-0.08298685401678085,
0.005903500597923994,
-0.1683455854654312,
-0.02458305098116398,
-0.06378474831581116,
0.057572342455387115,
-0.050565220415592194,
0.17899346351623535,
0.0029404363594949245,
-0.059585049748420715,
0.01640324667096138,
-0.03838643059134483,
0.023708170279860497,
0.09138023108243942,
-0.004731465596705675,
-0.03702912479639053,
-0.10130584239959717,
0.024504076689481735,
-0.08859875053167343,
0.06961767375469208,
-0.020119760185480118,
-0.0454811155796051,
-0.22346636652946472,
0.17205633223056793,
-0.09899377822875977,
0.11202196776866913,
-0.23605699837207794,
0.08095505833625793,
-0.05868897587060928,
0.06189310550689697,
0.34241989254951477,
-1.0332635641098022,
-0.20080293715000153,
-0.04605400934815407,
-0.010188940912485123,
0.11251956224441528,
0.1557430475950241,
-0.1512976586818695,
-0.20428892970085144,
0.030061643570661545,
-0.03884917125105858,
-0.024667980149388313,
-0.05812834948301315,
-0.0030680459458380938,
0.03760440647602081,
0.06067728251218796,
-0.0715688019990921,
0.0786425843834877,
-0.0701441615819931,
-0.05596455931663513,
-0.07497833669185638,
-0.06646312773227692,
0.012864870019257069,
0.03650108724832535,
0.06251800060272217,
0.02138642407953739,
-0.03516480326652527,
0.02218635380268097,
-0.06310440599918365
],
[
-0.1269587129354477,
-0.0693243145942688,
-0.06397130340337753,
0.017350809648633003,
-0.009465833194553852,
0.004659578204154968,
-0.011801725253462791,
-0.04974982142448425,
-0.0663125142455101,
0.112476646900177,
-0.1689976304769516,
-0.12655529379844666,
-0.03170248866081238,
-0.02915113978087902,
-0.01130688562989235,
0.039074815809726715,
-0.019126497209072113,
0.031139513477683067,
0.07011185586452484,
-0.09590877592563629,
0.13075289130210876,
-0.056853730231523514,
-0.1614677459001541,
0.02432856336236,
-0.03811943531036377,
-0.22095315158367157,
-0.2408963143825531,
0.1369967758655548,
0.029377859085798264,
-0.22935760021209717,
0.018275046721100807,
-0.00600595073774457,
-0.02783680148422718,
0.12224892526865005,
0.11879170686006546,
0.07135703414678574,
-0.017694879323244095,
-0.1065647304058075,
0.05444091930985451,
-0.15671265125274658,
1.0823097229003906,
-0.2739105522632599,
-0.07391360402107239,
0.011184023693203926,
-0.009592023678123951,
-0.06687036156654358,
0.05171895772218704,
0.1220216155052185,
-0.21612295508384705,
0.025665195658802986,
-0.0885416641831398,
1.0065875053405762,
-0.02351611852645874,
-0.08312022686004639,
-0.08804898709058762,
0.27866342663764954,
-0.06829362362623215,
-0.036892350763082504,
-0.13251368701457977,
0.12808319926261902,
0.362411230802536,
-0.07224762439727783,
-0.11907265335321426,
-0.07488349080085754,
0.020281275734305382,
-0.19738204777240753,
0.02056378871202469,
-0.29131802916526794,
0.0014398928033187985,
-0.012632993049919605,
-0.02497674524784088,
-0.11308544874191284,
0.10771913826465607,
0.052178625017404556,
0.12159978598356247,
-0.13711267709732056,
-0.02032608725130558,
-0.007172687910497189,
0.004147992469370365,
-0.14113472402095795
],
[
0.0253929290920496,
-0.007448363583534956,
-0.003099082736298442,
-0.007935605011880398,
0.08147122710943222,
-0.0019185856217518449,
-0.014854369685053825,
0.009922990575432777,
0.05815993994474411,
-0.005939339753240347,
0.03138810023665428,
0.004266166128218174,
-0.041009172797203064,
-0.030840210616588593,
0.013948057778179646,
0.03584204241633415,
-0.003066972829401493,
0.05883565917611122,
0.06419504433870316,
-0.0205832589417696,
-0.01285363920032978,
0.06525883823633194,
0.05600975826382637,
-0.008530767634510994,
-0.025569092482328415,
0.005831614136695862,
0.04255104437470436,
-0.004572649952024221,
0.04587431624531746,
-0.07152163982391357,
0.14624100923538208,
0.1592664122581482,
-0.07387938350439072,
-0.1844530701637268,
-0.012063833884894848,
-0.08512049913406372,
-0.05254159867763519,
0.03800593316555023,
0.012151491828262806,
-0.07937873899936676,
-0.277836412191391,
-1.1509532928466797,
-0.04150836169719696,
-0.24078166484832764,
-0.31394314765930176,
0.011842502281069756,
-0.10054463893175125,
-0.33644476532936096,
-0.30465832352638245,
-0.16003979742527008,
0.34102174639701843,
-0.40533509850502014,
0.32223576307296753,
-0.24887606501579285,
0.07895088940858841,
-0.12854328751564026,
-0.35467907786369324,
-0.04947836324572563,
0.06020848825573921,
-0.6357113718986511,
0.11862131953239441,
-0.0022456625010818243,
-0.019473860040307045,
0.06273167580366135,
-0.018690956756472588,
0.02251986414194107,
0.05780721455812454,
0.02466442622244358,
-0.015045720152556896,
-0.13330326974391937,
0.005456689745187759,
0.004401397425681353,
-0.0961633026599884,
-0.031104840338230133,
-0.0031216477509588003,
0.09750406444072723,
-0.020951110869646072,
0.014307583682239056,
-0.016262969002127647,
-0.02160799503326416
],
[
0.25875377655029297,
0.26432904601097107,
0.046893343329429626,
0.19293950498104095,
-0.35590434074401855,
-0.15373495221138,
0.2476760596036911,
0.08238659799098969,
0.0035192198120057583,
-0.09634135663509369,
0.11009715497493744,
0.34381532669067383,
0.20342324674129486,
0.030471017584204674,
0.0723053589463234,
-0.6125720143318176,
-0.011328292079269886,
-0.0773700699210167,
-0.47663047909736633,
0.08936803042888641,
0.08990300446748734,
0.07585695385932922,
0.07264328747987747,
0.30500513315200806,
0.3845973312854767,
0.4652656614780426,
0.0897534117102623,
-0.02457079105079174,
-0.03805161640048027,
0.29889577627182007,
0.052414774894714355,
0.0765809491276741,
0.16299176216125488,
0.04831560701131821,
0.18337133526802063,
0.49103108048439026,
0.060421235859394073,
0.2057764083147049,
0.08030954003334045,
0.10368228703737259,
-0.23685044050216675,
-0.14381153881549835,
-0.3340919613838196,
0.0905119776725769,
-0.11181710660457611,
0.17022226750850677,
0.1789989173412323,
-0.0878048688173294,
-0.0542403869330883,
-0.051218558102846146,
-0.1788940280675888,
0.14923779666423798,
0.0886806771159172,
0.19131892919540405,
-0.08399393409490585,
0.18695756793022156,
-0.04461383447051048,
-0.02375607378780842,
0.22847004234790802,
-0.10680599510669708,
0.2356165498495102,
0.30416950583457947,
0.07667020708322525,
0.21828335523605347,
0.02967693842947483,
0.31954875588417053,
0.17918673157691956,
0.09883374720811844,
0.05262460932135582,
0.16449445486068726,
0.15695758163928986,
0.2143554538488388,
0.22937332093715668,
0.24067284166812897,
0.2789289653301239,
0.05465036258101463,
0.11258389055728912,
0.1168496385216713,
0.09229592233896255,
0.1350281983613968
],
[
-0.2940489649772644,
-0.3723999261856079,
-0.1646951586008072,
-0.16539958119392395,
0.4933312237262726,
0.15379579365253448,
-0.23856009542942047,
-0.1472795307636261,
-0.06635568290948868,
0.15203435719013214,
-0.18843981623649597,
-0.3559208810329437,
-0.2952830493450165,
-0.04209449142217636,
-0.12682919204235077,
0.574329137802124,
-0.13191534578800201,
0.054981984198093414,
0.2766891419887543,
-0.13366788625717163,
0.23985059559345245,
-0.105873703956604,
-0.20622026920318604,
-0.08246943354606628,
-0.767531156539917,
-0.5780031681060791,
0.09274148941040039,
-0.16948863863945007,
-0.1723359078168869,
-0.364975243806839,
0.027839256450533867,
0.046692561358213425,
-0.011705047450959682,
-0.37071681022644043,
-0.3003585636615753,
-0.9924717545509338,
-0.07931499183177948,
-0.3238391876220703,
-0.3665999472141266,
-0.09295138716697693,
-0.140091672539711,
-0.07988110184669495,
-0.22587475180625916,
0.023884886875748634,
-0.37027707695961,
-0.157705619931221,
0.08567409962415695,
0.010794409550726414,
0.2870849072933197,
-0.03093922697007656,
-0.028350068256258965,
-0.053884778171777725,
0.03032819740474224,
-0.04931750148534775,
0.19021326303482056,
-0.0006867687916383147,
0.2381945103406906,
-0.035903893411159515,
-0.02635316550731659,
0.0449158251285553,
0.030134283006191254,
-0.40402987599372864,
-0.1931004673242569,
-0.18889261782169342,
-0.14668342471122742,
-0.31214556097984314,
-0.13253703713417053,
-0.14084745943546295,
-0.1893438845872879,
-0.16377894580364227,
-0.24147965013980865,
-0.29133832454681396,
-0.3173590302467346,
-0.30485764145851135,
-0.43580421805381775,
-0.30214694142341614,
-0.2109334021806717,
-0.18083783984184265,
-0.17173099517822266,
-0.1709260493516922
],
[
-0.03676444664597511,
-0.008436288684606552,
0.031600888818502426,
-0.009607279673218727,
0.05915683135390282,
-0.09430667012929916,
-0.03103519231081009,
0.05358060821890831,
0.033145274966955185,
0.042248401790857315,
-0.02677660621702671,
0.027218498289585114,
0.003998966421931982,
0.004028743132948875,
-0.013824833557009697,
-0.0898701399564743,
0.025033699348568916,
-0.041294164955616,
-0.036096833646297455,
-0.026442524045705795,
-0.13289761543273926,
-0.027431707829236984,
0.07391688227653503,
0.06601473689079285,
0.018868716433644295,
0.03128419071435928,
-0.10995516180992126,
-0.06828466057777405,
0.06811131536960602,
-0.011298134922981262,
0.012968936003744602,
0.1465614289045334,
-0.03049531765282154,
-0.02846120297908783,
-0.026721889153122902,
-0.024131126701831818,
0.03259113430976868,
-0.0883961096405983,
0.1221420019865036,
0.02040781080722809,
-0.16216504573822021,
-0.03587277978658676,
0.12953191995620728,
0.004025541711598635,
0.11531064659357071,
-0.4338792860507965,
0.18883448839187622,
-0.1302666813135147,
-0.2993316948413849,
-0.32399457693099976,
0.05419856309890747,
-0.3032437562942505,
-0.0783999040722847,
0.10428159683942795,
0.004986371845006943,
0.4699724018573761,
0.08260347694158554,
-0.24629616737365723,
-0.21276427805423737,
0.3322994112968445,
0.18571627140045166,
0.006677654106169939,
0.022405331954360008,
0.06928421556949615,
0.007636825554072857,
-0.05464263632893562,
-0.04211850464344025,
-0.00575285404920578,
0.028771286830306053,
-0.06638974696397781,
-0.013505998998880386,
-0.09029021114110947,
0.006381189916282892,
-0.004073316231369972,
-0.007801299914717674,
0.05084778741002083,
0.0017042126273736358,
-0.05839166045188904,
0.0316147580742836,
-0.03319966048002243
],
[
0.04048159718513489,
0.04428824782371521,
-0.026242027059197426,
0.06904511898756027,
-0.09468259662389755,
-0.053543198853731155,
-0.05575903505086899,
-0.020561639219522476,
-0.13432390987873077,
-0.017250141128897667,
0.04089392349123955,
0.13250616192817688,
0.014490446075797081,
0.010884340852499008,
-0.04124594107270241,
-0.0247696153819561,
0.02885601483285427,
0.03752025216817856,
0.18656770884990692,
0.06425150483846664,
0.04224400594830513,
-0.030588636174798012,
-0.022212088108062744,
-0.08831657469272614,
0.0022322917357087135,
-0.06510034948587418,
-0.058982931077480316,
-0.0024208948016166687,
-0.10430275648832321,
0.09877284616231918,
0.02797863818705082,
0.18972259759902954,
-0.011822043918073177,
0.05648896098136902,
-0.06666405498981476,
0.08836116641759872,
0.0690172016620636,
0.046434175223112106,
-0.03604435920715332,
0.10395962744951248,
-0.057311367243528366,
-0.31880444288253784,
-0.04228665679693222,
0.23620888590812683,
-0.01634378731250763,
-0.053293514996767044,
0.1099151074886322,
-0.4644657373428345,
-0.20674848556518555,
-0.08962902426719666,
-0.3924553096294403,
0.33288753032684326,
0.04982071742415428,
0.08100865036249161,
0.01098962128162384,
0.1998777985572815,
0.06333345174789429,
-0.043535128235816956,
0.15705688297748566,
0.16973145306110382,
0.0836176872253418,
0.03723479434847832,
-0.03245672211050987,
0.06365963816642761,
0.02404596097767353,
-0.054301321506500244,
-0.0231424942612648,
0.044929832220077515,
-0.07630869001150131,
0.038225967437028885,
-0.0016444344073534012,
0.2025091052055359,
0.048492785543203354,
0.05760108307003975,
0.00032095229835249484,
-0.07835149765014648,
0.04816509038209915,
-0.03577163442969322,
0.06878048926591873,
0.06896758824586868
],
[
-0.10319210588932037,
-0.07454624772071838,
-0.019731873646378517,
0.008608236908912659,
0.21106985211372375,
-0.01805240474641323,
0.040781982243061066,
-0.0324227437376976,
0.015586893074214458,
0.04785120487213135,
-0.01568908803164959,
-0.10890143364667892,
-0.03303300216794014,
0.06271488219499588,
-0.041382767260074615,
0.15160709619522095,
-0.07033971697092056,
-0.019175169989466667,
-0.05485575646162033,
-0.008000082336366177,
-0.22651319205760956,
0.0016187118599191308,
-0.07367211580276489,
0.10825315117835999,
-0.16550534963607788,
-0.21157969534397125,
0.21188536286354065,
0.03533781319856644,
0.056148380041122437,
-0.007819450460374355,
-0.031143471598625183,
0.038605887442827225,
-0.06941835582256317,
0.043572764843702316,
-0.10198672115802765,
0.01487884484231472,
-0.07329652458429337,
-0.053729522973299026,
-0.2704935371875763,
-0.00749144097790122,
-0.19444173574447632,
0.028393495827913284,
-0.028911292552947998,
0.04787573218345642,
-0.1877945512533188,
0.1535981297492981,
-0.45325326919555664,
-0.13806001842021942,
0.11054251343011856,
0.020190294831991196,
-0.07246794551610947,
-0.1542350947856903,
0.03390449658036232,
0.19884677231311798,
0.05594226345419884,
-0.013048461638391018,
0.01635567843914032,
0.2938023805618286,
0.13973714411258698,
0.12079796195030212,
-0.3301500082015991,
-0.10161039233207703,
-0.029045309871435165,
-0.0667375922203064,
-0.07061368227005005,
-0.07287774980068207,
0.21962623298168182,
0.005718299187719822,
-0.017034417018294334,
0.006710282526910305,
-0.057774532586336136,
-0.05404122918844223,
-0.021754246205091476,
-0.05856671184301376,
-0.09108888357877731,
0.020696137100458145,
-0.09182680398225784,
-0.11628437787294388,
-0.18017876148223877,
-0.02696211263537407
],
[
-0.1887093037366867,
-0.1826259046792984,
-0.03772515058517456,
-0.14843575656414032,
0.11713569611310959,
0.012864611111581326,
-0.09148909896612167,
-0.14349481463432312,
0.04629135504364967,
-0.0361550897359848,
-0.1249828115105629,
-0.18116915225982666,
-0.13202252984046936,
0.04783467575907707,
-0.08050205558538437,
0.19690577685832977,
-0.07018359005451202,
0.0644635483622551,
0.0413888655602932,
-0.06437668204307556,
-0.1770729124546051,
-0.1322660595178604,
-0.029223909601569176,
-0.14332106709480286,
-0.1310209184885025,
-0.08363045006990433,
0.0801284909248352,
-0.21769960224628448,
0.10146447271108627,
0.01650983840227127,
-0.03942590579390526,
-0.14275845885276794,
-0.05325843766331673,
-0.06447123736143112,
-0.16855768859386444,
-0.10891236364841461,
-0.005451335106045008,
0.03987384960055351,
-0.12499894201755524,
0.022270238026976585,
-0.12292611598968506,
0.26677700877189636,
-0.6658807992935181,
-0.35129642486572266,
-0.15892574191093445,
-0.08585616946220398,
0.01457801554352045,
0.17882423102855682,
-0.1511368602514267,
0.07293391972780228,
0.26943495869636536,
-0.0688222199678421,
0.017749372869729996,
-0.02068820223212242,
0.010003278963267803,
-0.18128253519535065,
-0.14904388785362244,
-0.10523141175508499,
0.20896492898464203,
-0.16306570172309875,
-0.23679561913013458,
-0.19131892919540405,
-0.050707586109638214,
-0.1154620498418808,
-0.045560479164123535,
-0.13280080258846283,
-0.0631575807929039,
-0.13234345614910126,
-0.022456476464867592,
-0.01483677327632904,
-0.15388520061969757,
-0.21171019971370697,
-0.14349563419818878,
-0.13403761386871338,
-0.16115392744541168,
0.006710043177008629,
-0.08733362704515457,
-0.03610561043024063,
-0.05518457666039467,
-0.068160280585289
],
[
-0.07243454456329346,
-0.0657859742641449,
-0.002913238713517785,
-0.16602446138858795,
0.053949739784002304,
-0.018132997676730156,
-0.014576899819076061,
-0.026399871334433556,
0.0017177456757053733,
0.05588333308696747,
-0.0630280077457428,
-0.07218502461910248,
-0.0402999185025692,
-0.05344901233911514,
-0.0013048171531409025,
0.11794465780258179,
-0.0027320105582475662,
0.005619503557682037,
0.25843924283981323,
0.05285609886050224,
-0.21367104351520538,
-0.0748700201511383,
-0.03526011109352112,
-0.3469911217689514,
-0.013216271996498108,
-0.05545513331890106,
0.0014672297984361649,
-0.013281608931720257,
0.039660386741161346,
0.06067990884184837,
-0.12639185786247253,
-0.04846620559692383,
-0.1878013014793396,
-0.031242383643984795,
-0.025268860161304474,
-0.02028045989573002,
0.04331250861287117,
-0.03655450418591499,
-0.037412144243717194,
0.14795219898223877,
-0.18897202610969543,
-0.1944296807050705,
0.08282889425754547,
0.23066677153110504,
-0.12915226817131042,
0.12203384190797806,
-0.018974769860506058,
0.20915015041828156,
-0.20294952392578125,
0.054020240902900696,
-0.02543165720999241,
0.13425372540950775,
0.35262882709503174,
0.11041535437107086,
-0.17069797217845917,
0.16990751028060913,
0.26815205812454224,
-0.14905613660812378,
0.3308262825012207,
0.08815664052963257,
-0.07270363718271255,
-0.07194208353757858,
-0.019629962742328644,
-0.053384218364953995,
-0.0033925119787454605,
-0.1203959584236145,
0.09339163452386856,
0.007829309441149235,
-0.009921334683895111,
-0.017446275800466537,
-0.10482103377580643,
-0.033198192715644836,
-0.016672415658831596,
-0.04714629426598549,
-0.06003184989094734,
-0.12912479043006897,
-0.01895531825721264,
-0.13174258172512054,
-0.03318679705262184,
0.01881735399365425
]
],
[
0.7796986699104309,
0.9222680330276489,
0.36945366859436035,
0.38982659578323364,
-1.1568950414657593,
-0.6595678329467773,
0.6643251776695251,
0.3802717924118042,
0.34873175621032715,
-0.34607750177383423,
0.5221891403198242,
0.930390477180481,
0.8409600257873535,
0.10323204845190048,
0.26877546310424805,
-1.6441478729248047,
0.34699708223342896,
-0.1834622621536255,
-0.32147154211997986,
0.3590039610862732,
-0.12113620340824127,
0.10758258402347565,
0.4135555624961853,
0.15237730741500854,
2.212404251098633,
1.4198153018951416,
-0.22716936469078064,
0.3263794183731079,
0.7738536596298218,
1.0829795598983765,
0.12240594625473022,
0.06471410393714905,
0.21930116415023804,
0.8453332185745239,
0.7419474720954895,
2.1623849868774414,
0.399857759475708,
0.9605568647384644,
1.2630620002746582,
0.3151583671569824,
-0.05159175395965576,
-0.14727669954299927,
-0.05832139030098915,
-0.013290214352309704,
-0.2528993487358093,
0.15935538709163666,
0.10614010691642761,
0.023158542811870575,
0.02515248954296112,
-0.17860767245292664,
0.05669655650854111,
-0.10849108546972275,
0.023685019463300705,
0.34148210287094116,
-0.43110811710357666,
-0.030236393213272095,
0.11921034753322601,
0.021110951900482178,
-0.04619528353214264,
-0.030857931822538376,
0.0015861093997955322,
1.0061254501342773,
0.507588803768158,
0.5539878606796265,
0.5331758856773376,
0.7345634698867798,
0.43973565101623535,
0.41058123111724854,
0.6688674688339233,
0.28231531381607056,
0.7361699342727661,
0.7355837821960449,
0.9253798723220825,
0.705170214176178,
0.9500113725662231,
0.34544646739959717,
0.599861204624176,
0.4241068363189697,
0.6381677985191345,
0.459785521030426
]
]
},
{
"type": "dense",
"activation": "",
"shape": [
null,
null,
1
],
"weights": [
[
[
-0.12174856662750244
],
[
-0.04146851226687431
],
[
-0.11497771739959717
],
[
-0.017207864671945572
],
[
0.12313491106033325
],
[
0.04367045313119888
],
[
-1.2741204500198364
],
[
-0.48249828815460205
],
[
0.12258400022983551
],
[
-0.08105480670928955
],
[
0.010010330006480217
],
[
0.03687258064746857
],
[
-0.06028307229280472
],
[
0.0062171113677322865
],
[
-0.1189919263124466
],
[
-0.13691110908985138
],
[
0.08398072421550751
],
[
-0.13060276210308075
],
[
0.09514615684747696
],
[
0.025966309010982513
]
],
[
0.12117394804954529
]
]
}
],
"samplerate": "48000",
"author": "Spunktsch",
"esr": 0.0039001109544187784
}
Cool, this should be fixed now with #76, plus we now have a place to test future model files that may be causing issues!
To replicate:
mod-ui | [jackd]: Wrong layer size! Expected: 16
please note parseJson is in a try/catch block, so I have no idea how I can handle this specific case, thanks.
https://github.com/AidaDSP/aidadsp-lv2/blob/192f092901c8bf098462ecf533d8f99b25ee0a8b/rt-neural-generic/src/rt-neural-generic.cpp#L783