{ "nbformat": 4, "nbformat_minor": 2, "metadata": { "language_info": { "name": "python", "codemirror_mode": { "name": "ipython", "version": 3 }, "version": "3.6.9-final" }, "orig_nbformat": 2, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "npconvert_exporter": "python", "pygments_lexer": "ipython3", "version": 3, "kernelspec": { "name": "python36964bitenvvenv5fc3f258ef1c42bd8f7b307d58049ba7", "display_name": "Python 3.6.9 64-bit ('.env': venv)" } }, "cells": [ { "cell_type": "code", "execution_count": 1, "metadata": {}, "outputs": [ { "output_type": "stream", "name": "stdout", "text": "Metadata local@/home/valay/Documents/Code-Workspace/ASU-Projects/Robotics/Pyrep-Testing\nMetadata local@/home/valay/Documents/Code-Workspace/ASU-Projects/Robotics/Pyrep-Testing\n" } ], "source": [ "from metaflow import Flow,get_metadata\n", "print(\"Metadata\",get_metadata())\n", "from metaflow_train import FinalData\n", "import chart_studio.plotly as py\n", "import plotly.graph_objects as go\n", "import plotly.express as ps\n", "import reporting_utils as Reporting" ] }, { "cell_type": "code", "execution_count": 2, "metadata": {}, "outputs": [], "source": [ "run = list(Flow('TrainingSimulatorFlow').runs('mutant_vs_simplerelu'))[0]" ] }, { "cell_type": "code", "execution_count": 3, "metadata": {}, "outputs": [ { "output_type": "stream", "name": "stdout", "text": "Simple 3 Layer ReLu vs Mutant\n\n Agent Name : SimpleImmitationLearningAgent\n\n Total Training Data Size : 21073\n\n Model Arguements : {}\n\n Collected Gradients : No\n\n Simulation Results \n\n Total Number of Episodes : 200\n\n Steps Per Episode : 50\n\n Number Of Converged Cases : 128\n\n % Cases That Converged : 64.0\n \n\n Agent Name : ImmitationLearningMutantAgent\n\n Total Training Data Size : 21073\n\n Model Arguements : {}\n\n Collected Gradients : No\n\n Simulation Results \n\n Total Number of Episodes : 200\n\n Steps Per Episode : 50\n\n Number Of Converged Cases : 47\n\n % Cases That Converged : 23.5\n \n" } ], "source": [ "print(\"Simple 3 Layer ReLu vs Mutant\")\n", "for data in run.data.final_data:\n", " print(data)" ] }, { "cell_type": "code", "execution_count": 4, "metadata": {}, "outputs": [ { "output_type": "stream", "name": "stdout", "text": "Simple 6 Layer ReLu vs Mutant\n\n Agent Name : SimpleImmitationLearningAgent\n\n Total Training Data Size : 21073\n\n Model Arguements : {}\n\n Collected Gradients : No\n\n Simulation Results \n\n Total Number of Episodes : 200\n\n Steps Per Episode : 50\n\n Number Of Converged Cases : 61\n\n % Cases That Converged : 30.5\n \n\n Agent Name : ImmitationLearningMutantAgent\n\n Total Training Data Size : 21073\n\n Model Arguements : {}\n\n Collected Gradients : No\n\n Simulation Results \n\n Total Number of Episodes : 200\n\n Steps Per Episode : 50\n\n Number Of Converged Cases : 97\n\n % Cases That Converged : 48.5\n \n" } ], "source": [ "print(\"Simple 6 Layer ReLu vs Mutant\")\n", "run_2 = list(Flow('TrainingSimulatorFlow').runs('mutant_vs_simple'))[0]\n", "for data in run_2.data.final_data:\n", " print(data)" ] }, { "cell_type": "code", "execution_count": 5, "metadata": {}, "outputs": [ { "output_type": "stream", "name": "stdout", "text": "Simple N Layer ReLu vs Mutant With Lesser Layers\nRun('TrainingSimulatorFlow/1586252587257348')\n\n Agent Name : SimpleImmitationLearningAgent__4\n\n Total Training Data Size : 21073\n\n Model Arguements : {}\n\n Collected Gradients : No\n\n Simulation Results \n\n Total Number of Episodes : 200\n\n Steps Per Episode : 100\n\n Number Of Converged Cases : 114\n\n % Cases That Converged : 56.99999999999999\n \n\n Agent Name : SimpleImmitationLearningAgent__1\n\n Total Training Data Size : 21073\n\n Model Arguements : {}\n\n Collected Gradients : No\n\n Simulation Results \n\n Total Number of Episodes : 200\n\n Steps Per Episode : 100\n\n Number Of Converged Cases : 108\n\n % Cases That Converged : 54.0\n \n\n Agent Name : SimpleImmitationLearningAgent__2\n\n Total Training Data Size : 21073\n\n Model Arguements : {}\n\n Collected Gradients : No\n\n Simulation Results \n\n Total Number of Episodes : 200\n\n Steps Per Episode : 100\n\n Number Of Converged Cases : 76\n\n % Cases That Converged : 38.0\n \n\n Agent Name : ImmitationLearningMutantAgent\n\n Total Training Data Size : 21073\n\n Model Arguements : {}\n\n Collected Gradients : No\n\n Simulation Results \n\n Total Number of Episodes : 200\n\n Steps Per Episode : 100\n\n Number Of Converged Cases : 151\n\n % Cases That Converged : 75.5\n \n" } ], "source": [ "# smart_vs_mutant\n", "print(\"Simple N Layer ReLu vs Mutant With Lesser Layers\")\n", "run_2 = list(Flow('TrainingSimulatorFlow').runs('smart_vs_mutant'))[0]\n", "print(run_2)\n", "for data in run_2.data.final_data:\n", " print(data)" ] }, { "cell_type": "code", "execution_count": 6, "metadata": {}, "outputs": [], "source": [ "run = Flow('TrainingSimulatorFlow').latest_successful_run" ] }, { "cell_type": "code", "execution_count": 7, "metadata": {}, "outputs": [ { "output_type": "display_data", "data": { "application/vnd.plotly.v1+json": { "config": { "plotlyServerURL": "https://plot.ly" }, "data": [ { "name": "SimpleImmitationLearningAgent__4", "opacity": 0.8, "type": "scatter", "x": [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100 ], "y": [ 404.4933786261827, 215.9179080054164, 214.34838552214205, 212.61812073364854, 210.42515894025564, 207.48177139926702, 203.57924360781908, 197.82524015568197, 189.9046141859144, 179.24109451845288, 164.69013823196292, 146.61101722717285, 127.33257023524493, 111.68651211261749, 101.53514404501766, 95.09575140010566, 90.00337161775678, 85.3436090350151, 81.00264814775437, 76.94149875454605, 72.93960558716208, 68.73040672251955, 64.30283315945417, 59.5617060046643, 54.490855077747256, 48.96541481651366, 43.74539228505455, 39.520172788761556, 36.35497017833404, 34.13607588945888, 32.562414907617494, 31.360922602703795, 30.161401339806616, 29.104827714152634, 28.242134197615087, 27.318327056709677, 26.432476280489936, 25.515445582335815, 24.746615880401805, 23.938624433474615, 23.17580624879338, 22.40659632300958, 21.73394069110509, 20.983145183185115, 20.34532687603496, 19.618611852522008, 18.95191616844386, 18.327375681721605, 17.70907889516093, 17.128171106567606, 16.53958806092851, 15.995674106758088, 15.470211627194658, 14.933044296340086, 14.437743186485022, 13.974198524141684, 13.57483103708364, 13.145321307936683, 12.855167644273024, 12.42783280898584, 12.105588577629533, 11.776014153263532, 11.508357498561963, 11.151220811938401, 10.904050610261038, 10.668125463998877, 10.49916157266125, 10.191964884172194, 9.993393223267049, 9.806455060839653, 9.559435077360831, 9.338706092443317, 9.163629053044133, 8.975701116607524, 8.79723418620415, 8.66791802085936, 8.504045138543006, 8.344318317715079, 8.20595837914152, 8.07055164076155, 7.954346207494382, 7.798972767253872, 7.686074750556145, 7.590946780866943, 7.486529631714802, 7.373226002731826, 7.261803144647274, 7.176787169300951, 7.060252478113398, 6.97604714136105, 6.881043545930879, 6.806467353191692, 6.7191357056144625, 6.646899671759456, 6.562345101236133, 6.487969528825488, 6.420409832033329, 6.352358183794422, 6.2610390450572595, 6.205326650640927 ] }, { "name": "ImmitationLearningConvolvingMutantAgent", "opacity": 0.8, "type": "scatter", "x": [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100 ], "y": [ 342.71587212756276, 198.82130721583962, 141.97333087492734, 80.03054381487891, 52.39796473737806, 37.10951022710651, 28.72568359482102, 23.893179392674938, 20.535105434479192, 18.06057817209512, 16.143421076703817, 14.669649098068476, 13.436344542889856, 12.427654351689853, 11.559383340529166, 10.764584929333068, 10.179401650908403, 9.704089112579823, 9.181920471950434, 8.771209892176557, 8.381013213191181, 7.954116613022052, 7.6996150887571275, 7.317365527967922, 7.070620013866574, 6.8732121888315305, 6.615042800316587, 6.3920989617472515, 6.191950258798897, 5.952474708901718, 5.9223774165147915, 5.572031076299027, 5.47976054699393, 5.3571958417014685, 5.193383265665034, 4.988555089919828, 4.898724867438432, 4.772679238958517, 4.645819383556955, 4.533171964780195, 4.452461933848099, 4.396710672066547, 4.263432394654956, 4.182331458287081, 4.05144181457581, 4.028104712255299, 3.9196760210907087, 3.857617466681404, 3.790077652723994, 3.655604191473685, 3.627750080660917, 3.5334738004312385, 3.4678800773981493, 3.4367431564314757, 3.348496506572701, 3.2887210928893182, 3.255095418659039, 3.209747696208069, 3.141640739442664, 3.0988947174628265, 3.077821979444707, 3.003118875436485, 3.006908972543897, 2.9262958999024704, 2.867136041226331, 2.80626219563419, 2.7940012866456527, 2.753483416745439, 2.683315234113252, 2.710106838232605, 2.6349293183593545, 2.600814593024552, 2.619779918488348, 2.560146269213874, 2.528590121655725, 2.4985693621856626, 2.4463311864237767, 2.4073005606915103, 2.415789593826048, 2.3658525311911944, 2.3525360456551425, 2.3617557586549083, 2.3179451339528896, 2.277048293297412, 2.229483453760622, 2.226229852065444, 2.204807527043158, 2.188116654782789, 2.162422643363243, 2.1118651730939746, 2.1102469552424736, 2.082056431871024, 2.0627413291076664, 2.0487304854905233, 2.0417533320287475, 2.0162370250036474, 1.996107049213606, 1.9581655093934387, 1.9658714214456268, 1.9231247507123044 ] }, { "name": "SimpleImmitationLearningAgent__1", "opacity": 0.8, "type": "scatter", "x": [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100 ], "y": [ 281.0055368728936, 164.53204961959273, 126.67627688031644, 96.43437311099842, 76.61842535994947, 66.05649325763807, 60.406165638938546, 56.45076511288062, 53.435650531668216, 50.85137662058696, 48.57409482076764, 46.41971972119063, 44.45492097293027, 42.64409014466219, 41.00906782457605, 39.35519395302981, 37.90159647911787, 36.501487349160016, 35.233475886285305, 34.02988679986447, 32.88463595393114, 31.844239429337904, 30.902907308656722, 30.00100210146047, 29.138457372551784, 28.358861642424017, 27.582425445783883, 26.918664501281455, 26.265055691590533, 25.635707091307268, 25.01366612315178, 24.502142396988347, 23.966222597053275, 23.478530498454347, 22.98447569203563, 22.533492671092972, 22.108569071628153, 21.65293325087987, 21.2654063613154, 20.914009054773487, 20.495764047955163, 20.156596650602296, 19.83245356171392, 19.49672379461117, 19.16707326436881, 18.884649674757384, 18.557234672713093, 18.292172179324552, 18.000501516624354, 17.696098599233665, 17.402660774998367, 17.1529263908742, 16.92139432404656, 16.655687806662172, 16.41123400669312, 16.21076909720432, 15.930847064475529, 15.705599578563124, 15.512590700061992, 15.319007230456918, 15.095717814867385, 14.90639082947746, 14.707657283754088, 14.511911352863535, 14.320945120067336, 14.143847597297281, 13.9707043368835, 13.812647964048665, 13.63281790621113, 13.497967819799669, 13.312345744576305, 13.151374982087873, 12.996375735441688, 12.833439695066772, 12.711738945567049, 12.581430142861791, 12.412477583275177, 12.271701335790567, 12.146611044881865, 11.991373606259003, 11.852798325708136, 11.733747491030954, 11.603761817561463, 11.509253559401259, 11.343570326687768, 11.211931035504676, 11.106428764644079, 11.002063858497422, 10.880024321435485, 10.747179473750293, 10.624744776054285, 10.522648017737083, 10.409964361810125, 10.300827413215302, 10.209123778855428, 10.094816011784133, 10.017100366589148, 9.903837057296187, 9.792045042093378, 9.701748449064326 ] }, { "name": "SimpleImmitationLearningAgent__2", "opacity": 0.8, "type": "scatter", "x": [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100 ], "y": [ 298.2366198543459, 201.54459036886692, 179.60269095934927, 152.0943355606869, 121.4487804248929, 95.18386309314519, 77.88821006426588, 67.87256850721315, 61.882142548915, 57.76307020802051, 54.560636843554676, 51.92578943120316, 49.286594034638256, 47.01103448634967, 44.80276880506426, 42.58362417249009, 40.56261473195627, 38.70527785900049, 36.88155964249745, 35.14044245984405, 33.58691585063934, 32.07528939191252, 30.716829245677218, 29.390840012347326, 28.119050181703642, 27.037062139250338, 25.99143251334317, 24.990427313838154, 24.046575739281252, 23.24485808890313, 22.47317041445058, 21.705190040636808, 21.02603060915135, 20.378322752425447, 19.750300417887047, 19.257104684016667, 18.71434931445401, 18.250911740702577, 17.810778922284953, 17.406711090821773, 16.961387629271485, 16.568220985587686, 16.22107388812583, 15.948866251623258, 15.613370822626166, 15.256407674518414, 15.020470900810324, 14.745342675363645, 14.454898188938387, 14.225604976410978, 13.98427408724092, 13.699786495533772, 13.497833011904731, 13.26041303074453, 13.07991411461262, 12.848775351594668, 12.650429687229916, 12.418275251518935, 12.226770794659387, 12.007098292117007, 11.868748657347169, 11.692043316201307, 11.471723169204779, 11.315171096823178, 11.130293679074384, 10.961626691860147, 10.792858720466029, 10.626663966395427, 10.451475209731143, 10.292645796202123, 10.13216488272883, 10.00325753481593, 9.836919019347988, 9.697091272915713, 9.610800878377631, 9.437793702003546, 9.296973430668004, 9.172486562281847, 9.047328716900665, 8.975033762748353, 8.811906012240797, 8.684711363748647, 8.566695773566607, 8.508302992093377, 8.35572042351123, 8.234892316744663, 8.12158923005336, 8.043820407474414, 7.9512159611913376, 7.8422690336592495, 7.7341159512870945, 7.651480004773475, 7.537032911146525, 7.4437289201887324, 7.379871761804679, 7.267282137006987, 7.181069349404424, 7.0919791356427595, 6.990431637794245, 6.93985903338762 ] }, { "name": "ImmitationLearningMutantAgent", "opacity": 0.8, "type": "scatter", "x": [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100 ], "y": [ 285.94171765074134, 189.60071261785924, 156.76863600779325, 118.97047470789403, 88.6519598858431, 72.37086524022743, 64.86786382785067, 60.30100962007418, 57.10006018308923, 54.50390666164458, 52.270489666145295, 50.0999203287065, 48.24163524713367, 46.36984770442359, 44.66347712883726, 43.0167678410653, 41.35576136526652, 39.82441121782176, 38.34793016547337, 36.83122902875766, 35.40565874823369, 33.92300800560042, 32.61058744555339, 31.29944123281166, 30.10521071148105, 28.972958735888824, 27.99951891298406, 27.052669954835437, 26.22743611340411, 25.385171914473176, 24.717606560094282, 23.956436304026283, 23.381465713959187, 22.703906638082117, 22.150334915844724, 21.66619776468724, 21.140341149177402, 20.64514449168928, 20.14981705788523, 19.699497910332866, 19.30533374659717, 18.933542417595163, 18.523237274494022, 18.14280299458187, 17.732945112977177, 17.437163491733372, 17.0816562945256, 16.757630386739038, 16.479042741353624, 16.181412617326714, 15.867687095073052, 15.62097725039348, 15.338802951388061, 15.071208566892892, 14.804116838146001, 14.624917088309303, 14.280812034383416, 14.1050441339612, 13.87400822271593, 13.648736754083075, 13.440859456313774, 13.2213721658336, 13.014867222052999, 12.798185579129495, 12.60812180978246, 12.445145438425243, 12.24663352232892, 12.0749786257511, 11.906485234387219, 11.747831198037602, 11.579145148047246, 11.379550964338705, 11.263774794759229, 11.084687963855686, 10.896403680322692, 10.742833162425086, 10.607935866282787, 10.482728415343445, 10.289132036617957, 10.179316612891853, 10.088090040313546, 9.91468696971424, 9.773092219955288, 9.621179832261987, 9.543135652143974, 9.436168291198555, 9.244473735219799, 9.15401520812884, 9.037303512857761, 8.885542367643211, 8.78634275967488, 8.670721786736976, 8.548473273345735, 8.436007775715552, 8.358858535531908, 8.247003022173885, 8.18379060330335, 8.081368481041864, 7.950967762502842, 7.865471586352214 ] } ], "layout": { "template": { "data": { "bar": [ { "error_x": { "color": "#2a3f5f" }, "error_y": { "color": "#2a3f5f" }, "marker": { "line": { "color": "#E5ECF6", "width": 0.5 } }, "type": "bar" } ], "barpolar": [ { "marker": { "line": { "color": "#E5ECF6", "width": 0.5 } }, "type": "barpolar" } ], "carpet": [ { "aaxis": { "endlinecolor": "#2a3f5f", "gridcolor": "white", "linecolor": "white", "minorgridcolor": "white", "startlinecolor": "#2a3f5f" }, "baxis": { "endlinecolor": "#2a3f5f", "gridcolor": "white", "linecolor": "white", "minorgridcolor": "white", "startlinecolor": "#2a3f5f" }, "type": "carpet" } ], "choropleth": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "type": "choropleth" } ], "contour": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "colorscale": [ [ 0, "#0d0887" ], [ 0.1111111111111111, "#46039f" ], [ 0.2222222222222222, "#7201a8" ], [ 0.3333333333333333, "#9c179e" ], [ 0.4444444444444444, "#bd3786" ], [ 0.5555555555555556, "#d8576b" ], [ 0.6666666666666666, "#ed7953" ], [ 0.7777777777777778, "#fb9f3a" ], [ 0.8888888888888888, "#fdca26" ], [ 1, "#f0f921" ] ], "type": "contour" } ], "contourcarpet": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "type": "contourcarpet" } ], "heatmap": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "colorscale": [ [ 0, "#0d0887" ], [ 0.1111111111111111, "#46039f" ], [ 0.2222222222222222, "#7201a8" ], [ 0.3333333333333333, "#9c179e" ], [ 0.4444444444444444, "#bd3786" ], [ 0.5555555555555556, "#d8576b" ], [ 0.6666666666666666, "#ed7953" ], [ 0.7777777777777778, "#fb9f3a" ], [ 0.8888888888888888, "#fdca26" ], [ 1, "#f0f921" ] ], "type": "heatmap" } ], "heatmapgl": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "colorscale": [ [ 0, "#0d0887" ], [ 0.1111111111111111, "#46039f" ], [ 0.2222222222222222, "#7201a8" ], [ 0.3333333333333333, "#9c179e" ], [ 0.4444444444444444, "#bd3786" ], [ 0.5555555555555556, "#d8576b" ], [ 0.6666666666666666, "#ed7953" ], [ 0.7777777777777778, "#fb9f3a" ], [ 0.8888888888888888, "#fdca26" ], [ 1, "#f0f921" ] ], "type": "heatmapgl" } ], "histogram": [ { "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "histogram" } ], "histogram2d": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "colorscale": [ [ 0, "#0d0887" ], [ 0.1111111111111111, "#46039f" ], [ 0.2222222222222222, "#7201a8" ], [ 0.3333333333333333, "#9c179e" ], [ 0.4444444444444444, "#bd3786" ], [ 0.5555555555555556, "#d8576b" ], [ 0.6666666666666666, "#ed7953" ], [ 0.7777777777777778, "#fb9f3a" ], [ 0.8888888888888888, "#fdca26" ], [ 1, "#f0f921" ] ], "type": "histogram2d" } ], "histogram2dcontour": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "colorscale": [ [ 0, "#0d0887" ], [ 0.1111111111111111, "#46039f" ], [ 0.2222222222222222, "#7201a8" ], [ 0.3333333333333333, "#9c179e" ], [ 0.4444444444444444, "#bd3786" ], [ 0.5555555555555556, "#d8576b" ], [ 0.6666666666666666, "#ed7953" ], [ 0.7777777777777778, "#fb9f3a" ], [ 0.8888888888888888, "#fdca26" ], [ 1, "#f0f921" ] ], "type": "histogram2dcontour" } ], "mesh3d": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "type": "mesh3d" } ], "parcoords": [ { "line": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "parcoords" } ], "pie": [ { "automargin": true, "type": "pie" } ], "scatter": [ { "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scatter" } ], "scatter3d": [ { "line": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scatter3d" } ], "scattercarpet": [ { "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scattercarpet" } ], "scattergeo": [ { "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scattergeo" } ], "scattergl": [ { "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scattergl" } ], "scattermapbox": [ { "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scattermapbox" } ], "scatterpolar": [ { "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scatterpolar" } ], "scatterpolargl": [ { "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scatterpolargl" } ], "scatterternary": [ { "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scatterternary" } ], "surface": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "colorscale": [ [ 0, "#0d0887" ], [ 0.1111111111111111, "#46039f" ], [ 0.2222222222222222, "#7201a8" ], [ 0.3333333333333333, "#9c179e" ], [ 0.4444444444444444, "#bd3786" ], [ 0.5555555555555556, "#d8576b" ], [ 0.6666666666666666, "#ed7953" ], [ 0.7777777777777778, "#fb9f3a" ], [ 0.8888888888888888, "#fdca26" ], [ 1, "#f0f921" ] ], "type": "surface" } ], "table": [ { "cells": { "fill": { "color": "#EBF0F8" }, "line": { "color": "white" } }, "header": { "fill": { "color": "#C8D4E3" }, "line": { "color": "white" } }, "type": "table" } ] }, "layout": { "annotationdefaults": { "arrowcolor": "#2a3f5f", "arrowhead": 0, "arrowwidth": 1 }, "coloraxis": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "colorscale": { "diverging": [ [ 0, "#8e0152" ], [ 0.1, "#c51b7d" ], [ 0.2, "#de77ae" ], [ 0.3, "#f1b6da" ], [ 0.4, "#fde0ef" ], [ 0.5, "#f7f7f7" ], [ 0.6, "#e6f5d0" ], [ 0.7, "#b8e186" ], [ 0.8, "#7fbc41" ], [ 0.9, "#4d9221" ], [ 1, "#276419" ] ], "sequential": [ [ 0, "#0d0887" ], [ 0.1111111111111111, "#46039f" ], [ 0.2222222222222222, "#7201a8" ], [ 0.3333333333333333, "#9c179e" ], [ 0.4444444444444444, "#bd3786" ], [ 0.5555555555555556, "#d8576b" ], [ 0.6666666666666666, "#ed7953" ], [ 0.7777777777777778, "#fb9f3a" ], [ 0.8888888888888888, "#fdca26" ], [ 1, "#f0f921" ] ], "sequentialminus": [ [ 0, "#0d0887" ], [ 0.1111111111111111, "#46039f" ], [ 0.2222222222222222, "#7201a8" ], [ 0.3333333333333333, "#9c179e" ], [ 0.4444444444444444, "#bd3786" ], [ 0.5555555555555556, "#d8576b" ], [ 0.6666666666666666, "#ed7953" ], [ 0.7777777777777778, "#fb9f3a" ], [ 0.8888888888888888, "#fdca26" ], [ 1, "#f0f921" ] ] }, "colorway": [ "#636efa", "#EF553B", "#00cc96", "#ab63fa", "#FFA15A", "#19d3f3", "#FF6692", "#B6E880", "#FF97FF", "#FECB52" ], "font": { "color": "#2a3f5f" }, "geo": { "bgcolor": "white", "lakecolor": "white", "landcolor": "#E5ECF6", "showlakes": true, "showland": true, "subunitcolor": "white" }, "hoverlabel": { "align": "left" }, "hovermode": "closest", "mapbox": { "style": "light" }, "paper_bgcolor": "white", "plot_bgcolor": "#E5ECF6", "polar": { "angularaxis": { "gridcolor": "white", "linecolor": "white", "ticks": "" }, "bgcolor": "#E5ECF6", "radialaxis": { "gridcolor": "white", "linecolor": "white", "ticks": "" } }, "scene": { "xaxis": { "backgroundcolor": "#E5ECF6", "gridcolor": "white", "gridwidth": 2, "linecolor": "white", "showbackground": true, "ticks": "", "zerolinecolor": "white" }, "yaxis": { "backgroundcolor": "#E5ECF6", "gridcolor": "white", "gridwidth": 2, "linecolor": "white", "showbackground": true, "ticks": "", "zerolinecolor": "white" }, "zaxis": { "backgroundcolor": "#E5ECF6", "gridcolor": "white", "gridwidth": 2, "linecolor": "white", "showbackground": true, "ticks": "", "zerolinecolor": "white" } }, "shapedefaults": { "line": { "color": "#2a3f5f" } }, "ternary": { "aaxis": { "gridcolor": "white", "linecolor": "white", "ticks": "" }, "baxis": { "gridcolor": "white", "linecolor": "white", "ticks": "" }, "bgcolor": "#E5ECF6", "caxis": { "gridcolor": "white", "linecolor": "white", "ticks": "" } }, "title": { "x": 0.05 }, "xaxis": { "automargin": true, "gridcolor": "white", "linecolor": "white", "ticks": "", "title": { "standoff": 15 }, "zerolinecolor": "white", "zerolinewidth": 2 }, "yaxis": { "automargin": true, "gridcolor": "white", "linecolor": "white", "ticks": "", "title": { "standoff": 15 }, "zerolinecolor": "white", "zerolinewidth": 2 } } }, "title": { "text": "Plot of Running Losses of All Models" }, "xaxis": { "title": { "text": "Epochs" } }, "yaxis": { "title": { "text": "Loss" } } } } }, "metadata": {} } ], "source": [ "f = Reporting.make_consolidated_loss_plot(run.data.final_data)\n", "f.show()" ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [] } ] }