diff --git a/Particle_Run-in-space.mp4 b/Particle_Run-in-space.mp4 new file mode 100644 index 00000000..831abf93 Binary files /dev/null and b/Particle_Run-in-space.mp4 differ diff --git a/app.py b/app.py index 39f0b31b..b196f31f 100644 --- a/app.py +++ b/app.py @@ -4,6 +4,8 @@ import copy import argparse import itertools +import threading +import time from collections import Counter from collections import deque @@ -15,6 +17,10 @@ from model import KeyPointClassifier from model import PointHistoryClassifier +from eff_word_net.streams import SimpleMicStream +from eff_word_net.engine import HotwordDetector +from eff_word_net.audio_processing import First_Iteration_Siamese + def get_args(): parser = argparse.ArgumentParser() @@ -37,6 +43,70 @@ def get_args(): return args +# 音声認識の状態 +hotword_detected = False +hotword_confidence = 0.0 + #アニメーション表示のフラグ ################################################ +show_animation = False + +# 音声認識を行うスレッド関数 +def audio_recognition_thread(): + global hotword_detected,hotword_confidence + + base_model = First_Iteration_Siamese() + + # ホットワード検出器の初期化 - 閾値0.8 + ryouikitennkai_hw = HotwordDetector( + hotword="領域展開", + model=base_model, + reference_file="領域展開_ref.json", + threshold=0.9, + relaxation_time=0.8 + ) + + # モデルが期待するフレームサイズを確認 + expected_frames = ryouikitennkai_hw.model.window_frames + + # マイクストリームの初期化 + sample_rate = 16000 # デフォルトのサンプリングレート + window_length_secs = expected_frames / sample_rate # 適切な時間窓の計算 + + mic_stream = SimpleMicStream( + window_length_secs=window_length_secs, + sliding_window_secs=window_length_secs / 2, + ) + + mic_stream.start_stream() + + print("「領域展開」と言ってください") + try: + while True: + frame = mic_stream.getFrame() + + # フレームサイズの調整が必要か確認 + if frame.shape[0] != expected_frames: + if frame.shape[0] > expected_frames: + # 切り取り + frame = frame[:expected_frames] + else: + # パディング + padded_frame = np.zeros(expected_frames) + padded_frame[:frame.shape[0]] = frame + frame = padded_frame + + # スコアリング + result = ryouikitennkai_hw.scoreFrame(frame) + if result is None: + # 音声活動なし + continue + if result["match"]: + print(f"領域展開! 信頼度: {result['confidence']:.4f}") + hotword_detected = True + hotword_confidence = result['confidence'] + + + finally: + mic_stream.stop_stream() def main(): # 引数解析 ################################################################# @@ -58,6 +128,8 @@ def main(): cap.set(cv.CAP_PROP_FRAME_WIDTH, cap_width) cap.set(cv.CAP_PROP_FRAME_HEIGHT, cap_height) + # アニメーションビデオの準備 ############################################### + animation_video = cv.VideoCapture('Particle_Run-in-space.mp4') # モデルロード ############################################################# mp_hands = mp.solutions.hands hands = mp_hands.Hands( @@ -67,8 +139,9 @@ def main(): min_tracking_confidence=min_tracking_confidence, ) + mp_selfie_segmentation = mp.solutions.selfie_segmentation + selfie_segmentation = mp_selfie_segmentation.SelfieSegmentation(model_selection=1) keypoint_classifier = KeyPointClassifier() - point_history_classifier = PointHistoryClassifier() # ラベル読み込み ########################################################### @@ -96,17 +169,21 @@ def main(): # フィンガージェスチャー履歴 ################################################ finger_gesture_history = deque(maxlen=history_length) - # ######################################################################## - mode = 0 + # 音声認識スレッドを開始 ################################################### + audio_thread = threading.Thread(target=audio_recognition_thread, daemon=True) + audio_thread.start() + # # アニメーション表示のフラグ ################################################ + # show_animation = False + while True: fps = cvFpsCalc.get() - + global hotword_detected,show_animation # キー処理(ESC:終了) ################################################# key = cv.waitKey(10) if key == 27: # ESC break - number, mode = select_mode(key, mode) + number, mode = select_mode(key, mode=0) # カメラキャプチャ ##################################################### ret, image = cap.read() @@ -115,13 +192,47 @@ def main(): image = cv.flip(image, 1) # ミラー表示 debug_image = copy.deepcopy(image) - # 検出実施 ############################################################# - image = cv.cvtColor(image, cv.COLOR_BGR2RGB) - - image.flags.writeable = False - results = hands.process(image) - image.flags.writeable = True - + # ホットワードが検出された場合、アニメーション表示を切り替え ############### + if hotword_detected: + show_animation = True + print(f"アニメーション表示: {'ON' if show_animation else 'OFF'}") + hotword_detected = False + + + # 手のランドマーク検出 ################################################## + image_rgb = cv.cvtColor(image, cv.COLOR_BGR2RGB) + results = hands.process(image_rgb) + + # セグメンテーション処理 ############################################### + seg_results = selfie_segmentation.process(image_rgb) + segmentation_mask = seg_results.segmentation_mask + condition = segmentation_mask > 0.1 + # 出力画像の準備 ####################################################### + if show_animation: + # アニメーションフレームの取得 + ret_anim, anim_frame = animation_video.read() + if not ret_anim: + # ビデオの最後まで再生したら最初に戻る + animation_video.set(cv.CAP_PROP_POS_FRAMES, 0) + ret_anim, anim_frame = animation_video.read() + + # アニメーションフレームをリサイズ + anim_frame = cv.resize(anim_frame, (image.shape[1], image.shape[0])) + + # 人物とアニメーションを合成 + frame_with_alpha = cv.cvtColor(image, cv.COLOR_BGR2BGRA) + anim_frame_with_alpha = cv.cvtColor(anim_frame, cv.COLOR_BGR2BGRA) + + # アルファチャンネルに透明度を設定 + frame_with_alpha[:, :, 3] = np.where(condition, 255, 0) + + # 合成 + output_image = np.where(condition[:, :, np.newaxis], frame_with_alpha, anim_frame_with_alpha) + + # 4チャンネルから3チャンネルに変換(表示用) + output_image = cv.cvtColor(output_image, cv.COLOR_BGRA2BGR) + else: + output_image = debug_image # #################################################################### if results.multi_hand_landmarks is not None: for hand_landmarks, handedness in zip(results.multi_hand_landmarks, @@ -172,11 +283,17 @@ def main(): else: point_history.append([0, 0]) - debug_image = draw_point_history(debug_image, point_history) - debug_image = draw_info(debug_image, fps, mode, number) - + # 描画 ################################################################# + output_image = draw_point_history(output_image, point_history) + output_image = draw_info(output_image, fps, mode, number) + + # 画面反映 ############################################################# - cv.imshow('Hand Gesture Recognition', debug_image) + cv.imshow('Hand Gesture Or Voice Recognition', output_image) + + + + cap.release() cv.destroyAllWindows() diff --git "a/\351\240\230\345\237\237\345\261\225\351\226\213_ref.json" "b/\351\240\230\345\237\237\345\261\225\351\226\213_ref.json" new file mode 100644 index 00000000..8601a202 --- /dev/null +++ "b/\351\240\230\345\237\237\345\261\225\351\226\213_ref.json" @@ -0,0 +1,545 @@ +{ + "embeddings": [ + [ + -0.002565408358350396, 0.0005717967287637293, -6.735052011208609e-5, + 0.00046873107203282416, -0.0015215128660202026, 0.0002750725543592125, + 0.0001130514865508303, 0.0007803458720445633, -0.0009709661244414747, + 0.0011883743572980165, 0.0013448224635794759, 0.00069554423680529, + 0.00027172279078513384, 0.00027663196669891477, 0.00020890947780571878, + 0.001212658011354506, -4.0775485103949904e-5, -0.34003332257270813, + -0.0009723146795295179, -0.016117287799715996, -0.3507496416568756, + 0.0013528965646401048, -0.0017387648113071918, 0.0015742850955575705, + -0.0005462686531245708, 0.0004761875607073307, 0.0009268048452213407, + -0.2789750397205353, -0.0005847600987181067, -0.0008336745668202639, + -0.0005313684232532978, 0.2696308493614197, 0.0010544710094109178, + -6.633048178628087e-5, 0.0013927994295954704, -0.0001298715069424361, + 0.0003396787797100842, 0.0012886610347777605, -0.0014157682890072465, + -0.0001459496997995302, 0.0005475678481161594, -0.0015237178886309266, + 0.0011962854769080877, -0.44225063920021057, 0.0008399694343097508, + -0.0005963350413367152, -0.000482113566249609, 0.398734450340271, + 0.15526559948921204, 0.0014095485676079988, -0.0006927429349161685, + 0.0008695588912814856, -0.0019094642484560609, -0.0007962881354615092, + 0.0014505758881568909, 0.0007473976584151387, 0.0015868231421336532, + -0.001702136010862887, 0.0003304811252746731, 0.00010347125498810783, + 0.0004804832278750837, 0.20259739458560944, 0.0001384088391205296, + -0.0005794885219074786, -0.0007937565678730607, 0.0005784742534160614, + 0.0007365292403846979, -0.002618638100102544, -0.0028889807872474194, + 0.0010911535937339067, -0.07897689193487167, 0.0006584749789908528, + 0.0012462448794394732, 0.001008649356663227, -8.872044418239966e-5, + -0.0013974553439766169, -0.0021606595255434513, -0.003066471079364419, + -0.0014720073668286204, 0.0013258809922263026, -0.0015156511217355728, + -0.0007670385530218482, 0.0015612227143719792, 0.001318070339038968, + 0.0012428370537236333, 0.0013360586017370224, 0.002387092448771, + -0.000541863904800266, 0.08202801644802094, -0.00059268600307405, + 0.001394476741552353, 0.00041790370596572757, 0.00016876269364729524, + -0.001667957054451108, 0.0011980902636423707, 0.0006480052834376693, + 0.0008985722670331597, 0.0006767390295863152, 0.00024751597084105015, + 0.0007697059190832078, -0.0008553987718187273, 0.15486247837543488, + 0.0005082661518827081, -0.0003998297906946391, -0.000997619703412056, + -0.0012818052200600505, -0.00047113659093156457, -0.0005824432009831071, + 0.0013010166585445404, 0.00013874737487640232, 0.0001276292750844732, + -0.0018267591949552298, 0.32536375522613525, 0.0006266768323257565, + -4.887475006398745e-5, 0.0013001301558688283, -0.001227081986144185, + 0.0014307275414466858, 0.001289116800762713, 0.00033705023815855384, + 0.00018844461010303348, -0.000991233391687274, -0.18737705051898956, + -0.0002593414392322302, 0.11298995465040207, 0.0013997144997119904, + -0.0012145047076046467, -0.0025691245682537556 + ], + [ + -0.0018509899964556098, 0.003899200353771448, 0.00046536431182175875, + 0.0032023468520492315, -0.00011630739754764363, 0.0011162292212247849, + -0.00010230499901808798, -0.0002629065129440278, -0.0008202905301004648, + 0.0008663340704515576, 0.0006433631060644984, -0.00019446427177172154, + 0.002947860863059759, 0.008549905382096767, 0.0005476294900290668, + 0.00014273262058850378, -0.00032186901080422103, -0.48748308420181274, + -0.0012552333064377308, 0.012116673402488232, -0.26047128438949585, + 0.0006285341223701835, -0.0013384456979110837, -0.00026319234166294336, + 0.0009225278627127409, -0.0012390847550705075, 0.0005787388072349131, + -0.2784692943096161, 1.2055744264216628e-5, -0.0008255588472820818, + 0.0005786669789813459, 0.31299591064453125, 0.002184324199333787, + -0.0009805829031392932, 0.0002576846454758197, -0.0010123859392479062, + 0.0028568038251250982, 0.006433890666812658, -0.0008442685357294977, + -0.00032003430533222854, 0.0007591083995066583, -0.0001260218268726021, + 0.002318540122359991, -0.34509772062301636, 0.0003171181306242943, + -0.002671773312613368, -0.003794680116698146, 0.4253811836242676, + 0.12151065468788147, 0.0006042629829607904, 0.00023167381004896015, + 0.0002743424556683749, -0.0018987514777109027, -0.0006528471712954342, + 0.001444153138436377, -4.231307684676722e-5, 0.000518138287588954, + -0.01474379375576973, 0.001812314847484231, -0.0016480582999065518, + -0.0011448960285633802, 0.19807933270931244, -0.0013553384924307466, + -0.003133363090455532, -0.0001509668363723904, -0.00031148287234827876, + -0.0014623671304434538, -0.004149182233959436, -0.004615932237356901, + -0.0009393045329488814, -0.07070904225111008, 0.007387451361864805, + 0.007290318142622709, 0.005077068228274584, 0.00248629879206419, + -0.0018607387319207191, -0.0038117377553135157, -0.004917420446872711, + 0.00010736547119449824, 0.0009739618399180472, 0.0003697644278872758, + -0.001388167031109333, 0.004754153545945883, 0.00015829176118131727, + 0.0004251042555551976, 0.0006246221601031721, 0.0076635414734482765, + -0.0026475039776414633, 0.07292897254228592, -0.0019281310960650444, + 0.0005232365219853818, 0.00034566668909974396, 0.0020399331115186214, + -0.003046480705961585, 0.005985989701002836, 0.003640176961198449, + 0.001243480248376727, -4.464822995942086e-5, -0.001521413098089397, + -0.0004182832781225443, -0.0005530714988708496, 0.15906710922718048, + -0.000796834530774504, 0.0004600329848472029, -0.004050770308822393, + -0.008553067222237587, -0.001054764841683209, -0.00012433616211637855, + 0.0006991898408159614, 0.0013575195334851742, 0.0035159734543412924, + -0.016493594273924828, 0.2603636085987091, -0.004395828582346439, + -0.0007699962588958442, 0.0004767567152157426, -0.0009006517357192934, + -0.0006146692903712392, 0.0007452782010659575, 0.0013762498274445534, + 0.004217457491904497, -0.0012520619202405214, -0.24136777222156525, + 0.006132788024842739, 0.04281492531299591, 0.0016697795363143086, + -0.0005174670368432999, -0.0038930014707148075 + ], + [ + -0.0015884777531027794, 0.0025572890881448984, 0.00026958700618706644, + 0.001985040260478854, -0.0004819196183234453, 0.0008640119922347367, + 9.888584463624284e-5, 0.00019188056467100978, -0.0010094419121742249, + 0.0008509822655469179, 0.0007739816792309284, 0.0002512093633413315, + 0.0018881380092352629, 0.005701315123587847, 0.000613344251178205, + 0.00040404516039416194, -0.00023485581914428622, -0.46799686551094055, + -0.0010205382714048028, 0.017355943098664284, -0.36733102798461914, + 0.0007575609488412738, -0.001473244628868997, 0.0003241549420636147, + 0.00029262673342600465, -0.0007227622554637492, 0.0008037842344492674, + -0.2531636655330658, -0.00031636745552532375, -0.0009828764013946056, + 6.475667760241777e-5, 0.281195729970932, 0.0017526930896565318, + -0.00040894708945415914, 0.000534969789441675, -0.0005500551778823137, + 0.0017859034705907106, 0.004669966176152229, -0.0009680084185674787, + -0.00026001414516940713, 0.0004737195558845997, -0.0006063749897293746, + 0.0018973501864820719, -0.3270050585269928, 0.0005978340632282197, + -0.002022170228883624, -0.0024378239177167416, 0.41886958479881287, + 0.17424501478672028, 0.0008084609289653599, -0.00023271054669748992, + 0.0005977440741844475, -0.0018634499283507466, -0.0008178542484529316, + 0.0014069274766370654, 0.0003331483749207109, 0.000910511298570782, + -0.01150209829211235, 0.0011178443673998117, -0.0008312080753967166, + -0.0004677062388509512, 0.19346502423286438, -0.0005997850093990564, + -0.002450902247801423, -0.0004953716415911913, 0.00017783857765607536, + -0.0006708258297294378, -0.0033193184062838554, -0.003704837989062071, + -0.0002969463530462235, -0.06969653815031052, 0.005293643567711115, + 0.0050815921276807785, 0.003862927667796612, 0.0014917985536158085, + -0.0016483362996950746, -0.00294495583511889, -0.00390694011002779, + -0.0003291734610684216, 0.0009953202679753304, -0.00025420665042474866, + -0.0013343252940103412, 0.0036541472654789686, 0.000530727265868336, + 0.000618292426224798, 0.0007434741128236055, 0.0055917976424098015, + -0.002015896374359727, 0.07170566916465759, -0.00138463347684592, + 0.0007322127930819988, 0.0004970701411366463, 0.0011201307643204927, + -0.00248699844814837, 0.004111242946237326, 0.0026811242569237947, + 0.0012891143560409546, 0.0003585696395020932, -0.000727025093510747, + 6.887435301905498e-5, -0.0007589807501062751, 0.15830335021018982, + -0.00017831438162829727, -5.893693378311582e-5, -0.0032872878946363926, + -0.0060621947050094604, -0.0010392250260338187, -0.0004770008672494441, + 0.0007860097102820873, 0.0006533346604555845, 0.002231703605502844, + -0.01354818046092987, 0.25694921612739563, -0.00280321785248816, + -0.0006796735106036067, 0.0006957246223464608, -0.0010338083375245333, + 5.1151182560715824e-5, 0.0008181158336810768, 0.000873049721121788, + 0.0033826609142124653, -0.0013104168465361, -0.22115156054496765, + 0.004035173449665308, 0.04074743017554283, 0.0014950589975342155, + -0.0006170137203298509, -0.003186809131875634 + ], + [ + 0.0010287936311215162, 0.0003414811799302697, 0.0002516038075555116, + 0.0005921670235693455, -0.002895830199122429, 0.00034740075352601707, + -0.0021473048254847527, 0.0005125929019413888, 0.00015107075159903616, + 0.001139213563874364, 0.0015730715822428465, -0.0005001169629395008, + 0.00025403121253475547, -0.0026173570659011602, -0.002225268166512251, + 0.0018660698551684618, 2.4581200705142692e-5, 0.03345949947834015, + -0.002785750897601247, -0.06960554420948029, -0.4940430223941803, + 0.001717848121188581, -0.0008512132335454226, 0.002446678001433611, + -0.0007795358542352915, 0.0015354693168774247, -0.0005975750973448157, + -0.3171103894710541, 0.0011841951636597514, 0.0006043527973815799, + 0.000726829341147095, 0.2842399775981903, -6.482441676780581e-5, + -0.0003092246188316494, 0.0020247153006494045, -0.0005369872669689357, + 0.000995167181827128, 0.0005801722290925682, -0.0014679412124678493, + -0.00033311278093606234, 0.0021393555216491222, -0.0022112459409981966, + -8.734314178582281e-5, -0.4854123890399933, -0.0008677082951180637, + -0.0010205423459410667, -0.0002216918219346553, 0.29330167174339294, + -0.0035802714992314577, 0.0017841049702838063, 0.00037183667882345617, + -0.000564643123652786, -0.0005350516876205802, 0.0012288882862776518, + 0.0008871783502399921, -0.0007753892568871379, 0.0033620537724345922, + 0.011820980347692966, 0.0003388506011106074, 0.0006038225255906582, + 0.0008398194913752377, 0.200765922665596, 0.0001125032504205592, + -0.00021830714831594378, 0.0006423668819479644, 0.0005538190016523004, + 0.0011059256503358483, -0.001188746769912541, -0.001106170122511685, + 0.0016741720028221607, -0.08686508983373642, 0.0005971549544483423, + 0.000685602193698287, 0.0013721415307372808, 0.0008790591964498162, + -0.0005203568725846708, -0.001180538791231811, -0.002096673473715782, + -0.0023429254069924355, 0.0012297541834414005, -0.0023225070908665657, + 0.001665592542849481, 0.0016307355836033821, 0.001005154917947948, + 0.0016906850505620241, 0.0016863674391061068, 0.0019989325664937496, + -0.0003911649400833994, 0.09141130745410919, -0.00013895150914322585, + 0.001801174134016037, -0.001896436675451696, -7.529852155130357e-5, + 0.0012626409297809005, 0.0006849286146461964, 0.0007924755336716771, + -0.0009227419504895806, 8.592121594119817e-5, 0.000621582439634949, + 0.000829164229799062, 0.0010838040616363287, 0.137197807431221, + -0.0003745875437743962, -0.00013615138595923781, -0.0003759382525458932, + -0.0001618096575839445, 0.0017258089501410723, 0.00015428285405505449, + 0.0013711033388972282, 0.00046875717816874385, 0.00043651278247125447, + 0.014519947580993176, 0.34185904264450073, 0.002893415978178382, + 0.002554864389821887, 0.0016356554115191102, -0.0016474123112857342, + 0.002406276995316148, 0.0014547259779646993, 0.0002682278282009065, + -0.001332716434262693, 0.0007140132947824895, -0.2326383888721466, + -0.0029318167362362146, 0.01892908290028572, 0.0029261603485792875, + -0.0015356499934569001, -0.0017052930779755116 + ], + [ + -0.00130409502889961, 0.004308835603296757, 0.0008357571205124259, + 0.004100034479051828, -0.0007016106392256916, 0.001172735821455717, + -0.0014042286202311516, -0.0008322595967911184, -0.00014181763981468976, + 0.0008640634478069842, 0.0007109625730663538, -0.0012185948435217142, + 0.003129317658022046, 0.008836845867335796, -0.0006598971085622907, + 0.00047683450975455344, -0.0003357189998496324, -0.45497584342956543, + -0.002386835403740406, 0.020425189286470413, -0.2451367974281311, + 0.0009005620377138257, -0.0008032708428800106, -0.00018819578690454364, + 0.0014446873683482409, -0.0005911787739023566, -0.0003679220099002123, + -0.2906896770000458, 0.0012411967618390918, -1.5411456843139604e-5, + 0.001517710741609335, 0.3222629725933075, 0.0016954168677330017, + -0.0013430259423330426, 0.00046774535439908504, -0.0010774560505524278, + 0.00398127268999815, 0.006860557943582535, -0.0008672447875142097, + -0.0005894165951758623, 0.0018315027700737119, -0.00041981614776887, + 0.00179131084587425, -0.35000714659690857, -0.0008572514052502811, + -0.0028499106410890818, -0.004185894969850779, 0.4249526560306549, + 0.10252566635608673, 0.0007631531916558743, 0.001202573999762535, + -0.0007689956109970808, -0.0012628010008484125, 0.0005000309902243316, + 0.001233080169185996, -0.0012375309597700834, 0.00038290643715299666, + -0.013587228022515774, 0.0019475406734272838, -0.002158320741727948, + -0.0016672895289957523, 0.2003634124994278, -0.0019439524039626122, + -0.003238498931750655, 0.0008995645912364125, -0.0007698434055782855, + -0.0020497473888099194, -0.004446107894182205, -0.00483952509239316, + -0.0013579304795712233, -0.07250859588384628, 0.007900011725723743, + 0.007941916584968567, 0.005688039120286703, 0.0033638756722211838, + -0.0015144026838243008, -0.004293338395655155, -0.004926776979118586, + -0.00040359035483561456, 0.0009239636128768325, 0.0004420189652591944, + -0.0003053507534787059, 0.005313340574502945, -0.0003988090029451996, + 0.0007186011644080281, 0.0009510057279840112, 0.008371729403734207, + -0.0027840565890073776, 0.0748910903930664, -0.0017013914184644818, + 0.000687933701556176, -0.0009422422735951841, 0.002562795765697956, + -0.0020226880442351103, 0.0068384925834834576, 0.0038936978671699762, + 0.00034959838376380503, -0.0007000431651249528, -0.002089900430291891, + -0.0008663447806611657, 0.0006421977886930108, 0.158826544880867, + -0.001834019087255001, 0.0010317940032109618, -0.0042351288720965385, + -0.009142536669969559, 2.6495064957998693e-5, 0.0005306003149598837, + 0.0006575665902346373, 0.0019127440173178911, 0.00427909754216671, + -0.014976060949265957, 0.262862890958786, -0.0041282870806753635, + 0.00036361542879603803, 0.0005788836278952658, -0.0009269635775126517, + -0.0006509278900921345, 0.0010924460366368294, 0.0013163320254534483, + 0.0044723027385771275, -0.00041218908154405653, -0.2831284999847412, + 0.006004778668284416, 0.06045294553041458, 0.002626201370730996, + -0.000806903000921011, -0.004294638521969318 + ], + [ + 0.0001729873474687338, 0.001684390939772129, 9.374018554808572e-5, + 0.001628037658520043, -0.0020294804126024246, 0.0004997733631171286, + -0.001746700145304203, 0.0006200616480782628, -9.202057117363438e-5, + 0.0021662574727088213, 0.002669202396646142, -0.0005118471453897655, + 0.0014382957015186548, 3.595636144382297e-6, -0.0018159622559323907, + 0.003150123404338956, -4.9151716666528955e-5, 0.008274859748780727, + -0.00244257808662951, -0.10189821571111679, -0.45515596866607666, + 0.003024178324267268, -0.00217452528886497, 0.0036368127912282944, + -0.0005230468232184649, 0.00042887384188361466, -0.00022460531909018755, + -0.32104986906051636, 0.0009624105296097696, 0.00045141129521653056, + 0.0006685780826956034, 0.29852059483528137, 0.0009592535207048059, + -0.0011059304233640432, 0.0031802277080714703, -0.0013276084791868925, + 0.0015961505705490708, 0.0015187251847237349, -0.0026206420734524727, + -9.437934204470366e-5, 0.002103718463331461, -0.003541177837178111, + 0.0009829902555793524, -0.5164145827293396, -0.0005789562710560858, + -0.0014120811829343438, -0.0016237107338383794, 0.30611875653266907, + 0.007104862947016954, 0.0029234159737825394, 0.0004335834819357842, + -0.0003896943817380816, -0.002049875445663929, 0.0008053337223827839, + 0.0020029086153954268, -0.0005982388975098729, 0.0028291435446590185, + 0.006477729883044958, 0.001325323828496039, -0.0001345695200143382, + 0.0005641152383759618, 0.20400366187095642, -0.0006581403431482613, + -0.00041053007589653134, 0.0004838903550989926, 0.0003428031923249364, + 0.0010137215722352266, -0.001893799053505063, -0.001935376669280231, + 0.0020103780552744865, -0.08528599888086319, 0.0009513407712802291, + 0.0019918959587812424, 0.0016166664427146316, 0.0012954078847542405, + -0.0015716254711151123, -0.0019043773645535111, -0.0029400542844086885, + -0.003982515539973974, 0.0022898113820701838, -0.0034259390085935593, + 0.0010992459720000625, 0.001961807021871209, 0.001705290749669075, + 0.0029854539316147566, 0.0030584195628762245, 0.0032302725594490767, + -0.0007457989850081503, 0.08956151455640793, -0.001077772001735866, + 0.0029719648882746696, -0.0014477462973445654, 0.0009630427230149508, + -0.000550655706319958, 0.0018494753167033195, 0.0013583824038505554, + -0.0006212684093043208, 1.0940139873127919e-5, -7.469489446521038e-6, + 0.0009450606885366142, 0.0006787577294744551, 0.14232121407985687, + -0.0006483769975602627, 0.0003240951045881957, -0.00044022512156516314, + -0.0011573381489142776, 0.0013650089967995882, 0.00035429943818598986, + 0.002423124387860298, 0.00136391946580261, 0.0011652956018224359, + 0.009239976294338703, 0.3553990125656128, 0.0010258193360641599, + 0.0018916619010269642, 0.0027368708979338408, -0.0012757264776155353, + 0.0034558791667222977, 0.002881052205339074, 0.0011589830974116921, + -0.001397003186866641, 0.00041784392669796944, -0.15618787705898285, + -0.0006509259110316634, -0.037439025938510895, 0.0024796314537525177, + -0.0028911461122334003, -0.0021699678618460894 + ], + [ + -0.0009514492703601718, 0.0030626889783889055, 0.000150384905282408, + 0.0025335552636533976, -0.002776430919766426, 0.0008728753891773522, + -0.001458041020669043, 0.0009375494555570185, -0.0007400549948215485, + 0.002044438850134611, 0.0023664606269448996, -3.733468474820256e-5, + 0.002510339254513383, 0.0024932511150836945, -0.00132554373703897, + 0.0023339258041232824, -0.0001758195721777156, -0.06057416647672653, + -0.003101338865235448, -0.08836177736520767, -0.4112823009490967, + 0.0023755263537168503, -0.0027420693077147007, 0.0029176692478358746, + -0.0006637191982008517, 0.00019445097132120281, 0.0005090420017950237, + -0.33068063855171204, 0.0004716321418527514, -0.0002707626554183662, + 0.00036228643148206174, 0.3091447353363037, 0.0018044456373900175, + -0.0011147158220410347, 0.0025536867324262857, -0.0015439207199960947, + 0.0021629533730447292, 0.004167315550148487, -0.0024649817496538162, + -0.00018754681514110416, 0.0023710874374955893, -0.0026859103236347437, + 0.0018852070206776261, -0.518521249294281, 4.783004624187015e-5, + -0.0023012831807136536, -0.0029098817612975836, 0.3245898187160492, + 0.006542725954204798, 0.002503941534087062, -2.973227674374357e-5, + 0.0002423991827527061, -0.0028081038035452366, 4.6289143938338384e-5, + 0.0023362364154309034, -0.00012298180081415921, 0.0020242095924913883, + 0.002422432880848646, 0.001814262825064361, -0.00014512479538097978, + 0.0006455812836065888, 0.20798881351947784, -0.0005402950337156653, + -0.0018434033263474703, -0.00011319966870360076, 0.0006396639510057867, + 0.000998490722849965, -0.004117635078728199, -0.004432179033756256, + 0.0018829210894182324, -0.08538276702165604, 0.003846961073577404, + 0.0047593447379767895, 0.003573015099391341, 0.001789273344911635, + -0.0021635384764522314, -0.0038792158011347055, -0.00547346007078886, + -0.0024650816339999437, 0.002255694242194295, -0.0029858420602977276, + 0.00015577513840980828, 0.004004636779427528, 0.0020383591763675213, + 0.002307480201125145, 0.0022877221927046776, 0.006462855264544487, + -0.0018087457865476608, 0.09007395803928375, -0.001722007873468101, + 0.0025066330563277006, -0.0008990906644612551, 0.0011734063737094402, + -0.001991353463381529, 0.004220996517688036, 0.0027683828957378864, + 0.00023031988530419767, 0.00046828429913148284, 1.6200294339796528e-5, + 0.0010824012570083141, -3.481519524939358e-5, 0.14581617712974548, + -0.00040628149872645736, 4.3930063498009986e-7, -0.0022705262526869774, + -0.004480675794184208, 0.0007477459730580449, -0.00015533750411123037, + 0.0022787260822951794, 0.0014513700734823942, 0.002309559378772974, + 0.0047560278326272964, 0.35711368918418884, 0.00012100832827854902, + 0.001423578942194581, 0.002402945188805461, -0.001115370192565024, + 0.002914723940193653, 0.00208724825643003, 0.0015923397149890661, + 0.00033969696960411966, -0.0004005848604720086, -0.1792306751012802, + 0.0008984391461126506, -0.00013919873163104057, 0.003536711446940899, + -0.0021811602637171745, -0.004311963450163603 + ], + [ + 0.002295960206538439, 0.0008157553966157138, 0.000608700152952224, + 0.0011122318683192134, -0.001963013084605336, 0.0006033746176399291, + -0.002463639248162508, 0.00019292649812996387, 0.0002734629961196333, + 0.0007835908909328282, 0.0011183671886101365, -0.0009191899443976581, + 0.0005576380644924939, -0.0005684737116098404, -0.0022778091952204704, + 0.0014561547432094812, -6.24354652245529e-5, -0.032977912575006485, + -0.002764276461675763, -0.02978593297302723, -0.47879430651664734, + 0.0013905719388276339, -9.299081284552813e-5, 0.0018217501929029822, + -0.0004680166603066027, 0.0013327873311936855, -0.0009455134277231991, + -0.3155581057071686, 0.0016689678886905313, 0.0006570814875885844, + 0.0012119606835767627, 0.2799978256225586, -0.00037471900577656925, + -0.00022528914269059896, 0.001518353819847107, -0.00030016296659596264, + 0.0017502136761322618, 0.0019453298300504684, -0.0009878604905679822, + -0.0005314412410371006, 0.0020956036169081926, -0.0016968181589618325, + -0.0004158436495345086, -0.45996472239494324, -0.0013625107239931822, + -0.0016000416362658143, -0.0006524129421450198, 0.3060689866542816, + -0.003931987099349499, 0.0013330673100426793, 0.000755883171223104, + -0.0009691942832432687, 0.00015659384371247143, 0.0015874248929321766, + 0.0004239782865624875, -0.0013399183517321944, 0.0028222522232681513, + 0.010212103836238384, 0.00025179708609357476, 0.00035216743708588183, + 0.0004745007317978889, 0.19891703128814697, 1.7875427147373557e-5, + -0.0011494464706629515, 0.001054591266438365, 0.0003692081372719258, + 0.0004905454115942121, -0.0007998704095371068, -0.00064408517209813, + 0.0010656594531610608, -0.085381418466568, 0.003127769799903035, + 0.002155063673853874, 0.0026373586151748896, 0.0015807715244591236, + -0.00010794099216582254, -0.0009925838094204664, -0.0012099738232791424, + -0.0021218955516815186, 0.0007977429195307195, -0.0014756970340386033, + 0.00174217380117625, 0.002306196838617325, 0.00041139672975987196, + 0.0013182653347030282, 0.0014185108011588454, 0.0026490860618650913, + -0.0010456533636897802, 0.0892985463142395, 3.0247105314629152e-5, + 0.001335213310085237, -0.002229554345831275, 7.014494622126222e-5, + 0.0018041451694443822, 0.0017958130920305848, 0.0016480485210195184, + -0.0009586706873960793, -8.81495579960756e-5, 0.00033834113855846226, + 0.0005163943860679865, 0.0015346033032983541, 0.13325057923793793, + -0.0008453150512650609, -7.464065856765956e-5, -0.0016115171601995826, + -0.0024474516976624727, 0.0017009129514917731, 0.0001866219099611044, + 0.0008699093014001846, 0.00040931999683380127, 0.0014454114716500044, + 0.012391687370836735, 0.32840868830680847, 0.0011793675366789103, + 0.0025046917144209146, 0.0011417742352932692, -0.00168035423848778, + 0.0016097924672067165, 0.0012967289658263326, 3.3805088605731726e-5, + 0.001022589160129428, 0.0007542168023064733, -0.304935485124588, + -0.0010732973460108042, 0.10793091356754303, 0.0027293171733617783, + -0.001239445642568171, -0.0012578627793118358 + ], + [ + -0.0026022803504019976, 0.0045465328730642796, 0.0002274899889016524, + 0.0034799855202436447, -0.0020057405345141888, 0.001411033095791936, + -0.0003534259449224919, 0.0006436604890041053, -0.0014065069844946265, + 0.0014626492047682405, 0.0012381627457216382, 0.00044776618597097695, + 0.003599664196372032, 0.007768149953335524, 0.00025354785611853004, + 0.0003598949406296015, -0.0003636083274614066, -0.21670687198638916, + -0.0025069734547287226, -0.03336082026362419, -0.1963040679693222, + 0.000856500118970871, -0.0022386396303772926, 0.00039739528438076377, + -5.418956789071672e-5, -0.0008133185328915715, 0.0012706993147730827, + -0.3259964883327484, -0.0003484667686279863, -0.0013095431495457888, + 0.00020978096290491521, 0.32746458053588867, 0.0028834945987910032, + -0.0011020561214536428, 0.0007732309750281274, -0.0015893748495727777, + 0.0028011933900415897, 0.008165686391294003, -0.0014218930155038834, + -0.00018943300528917462, 0.001520052319392562, -0.00038796389708295465, + 0.0030281420331448317, -0.4878738224506378, 0.0008905042195692658, + -0.0035163986030966043, -0.0043689776211977005, 0.4175355136394501, + 0.13332264125347137, 0.0010515374597162008, -0.0004522521630860865, + 0.0009581123013049364, -0.0028579512145370245, -0.0010946454713121057, + 0.0021197013556957245, 0.0005152629455551505, 0.0013181052636355162, + -0.008017130196094513, 0.002289788331836462, -0.0008493402856402099, + -0.00011229103256482631, 0.2162809520959854, -0.0007782434695400298, + -0.003893447807058692, -0.0007910960703156888, 0.0003830386558547616, + -0.00012756884098052979, -0.005920086987316608, -0.006551226135343313, + 0.00044516712659969926, -0.08276469260454178, 0.00896414089947939, + 0.009080074727535248, 0.00624253461137414, 0.0024008883628994226, + -0.002603753935545683, -0.005321530159562826, -0.00805613212287426, + 0.0001824971113819629, 0.0016229592729359865, -0.0005549716879613698, + -0.001587693695910275, 0.006467784754931927, 0.0013828424271196127, + 0.0005912467604503036, 0.0007009661640040576, 0.010533219203352928, + -0.003288528649136424, 0.08699934929609299, -0.0025464845821261406, + 0.0009978434536606073, 0.0003629637067206204, 0.0017124704318121076, + -0.0037344202864915133, 0.0073128328658640385, 0.004688224755227566, + 0.0016229491448029876, 0.0006832439685240388, -0.0006349076866172254, + 0.000483861833345145, -0.001069569494575262, 0.16603359580039978, + -0.00020684381888713688, -0.00010992954776156694, -0.00476436922326684, + -0.010443300008773804, -0.0009371219202876091, -0.0006678899517282844, + 0.0014248623047024012, 0.0013890330446884036, 0.003952541388571262, + -0.007335458882153034, 0.3494890034198761, -0.002883666194975376, + -0.0002594139368738979, 0.0009922563331201673, -0.0011330576380714774, + 0.0003417770494706929, 0.0006333474884741008, 0.001985840732231736, + 0.0031165587715804577, -0.001684039831161499, -0.23742622137069702, + 0.004852278623729944, 0.033596187829971313, 0.003334822366014123, + -0.0006725068087689579, -0.005813012830913067 + ], + [ + -0.0026755621656775475, 0.006636826321482658, 0.00013305079482961446, + 0.004665259271860123, -0.0015468287747353315, 0.0019440448377281427, + 0.0006076093413867056, 0.0017202134476974607, -0.0028506785165518522, + 0.0018513220129534602, 0.0015761044342070818, 0.0014040122041478753, + 0.005431177094578743, 0.011877628974616528, 0.0014619379071518779, + 0.00022844673367217183, -0.0005147650954313576, -0.17389576137065887, + -0.002351856790482998, -0.02431015856564045, -0.16688551008701324, + 0.0008665353525429964, -0.004219796042889357, 0.0011808943236246705, + -0.0007237578392960131, -0.002083796774968505, 0.0027174977585673332, + -0.3304804861545563, -0.0014229085063561797, -0.002729622181504965, + -0.00040721995173953474, 0.34572550654411316, 0.004406156484037638, + -0.001306125777773559, 0.0008525975281372666, -0.002257304033264518, + 0.003359116381034255, 0.011368575505912304, -0.0020031165331602097, + -3.5990738979307935e-5, 0.0011495951330289245, -0.0005898633971810341, + 0.0046461401507258415, -0.457499623298645, 0.002168408827856183, + -0.004878196399658918, -0.006423600018024445, 0.43443334102630615, + 0.1643526256084442, 0.001351660001091659, -0.0013829320669174194, + 0.002234282437711954, -0.00507182814180851, -0.0025612134486436844, + 0.0032054942566901445, 0.0015685304533690214, 0.001266408246010542, + -0.013876372948288918, 0.003256610594689846, -0.0007444348302669823, + 0.0004692140792030841, 0.21941694617271423, -0.0006748694577254355, + -0.005546677857637405, -0.0019772483501583338, 0.001195651711896062, + 0.0003289812302682549, -0.007365070283412933, -0.0082391407340765, + 0.0012652094010263681, -0.08239088952541351, 0.012847107835114002, + 0.012673304416239262, 0.008736050687730312, 0.003078645095229149, + -0.00386674702167511, -0.006648496259003878, -0.010134438052773476, + 0.0008669914677739143, 0.0022021280601620674, -0.0015192157588899136, + -0.0033322921954095364, 0.008630434982478619, 0.0027640992775559425, + 0.0006117635639384389, 0.0005485237925313413, 0.014162505976855755, + -0.004575636237859726, 0.08727045357227325, -0.00380012602545321, + 0.0012486252235248685, 0.0016073592705652118, 0.0021535062696784735, + -0.006418364588171244, 0.010273559018969536, 0.006570442114025354, + 0.0032203146256506443, 0.0017342542996630073, -0.0003859026764985174, + 0.0014660811284556985, -0.0025026837829500437, 0.17584988474845886, + 0.0003540622419677675, -0.0007416867883875966, -0.007024579681456089, + -0.01488796528428793, -0.0022757973056286573, -0.0016551506705582142, + 0.001881931209936738, 0.0016892587300390005, 0.0054611205123364925, + -0.013381589204072952, 0.33762386441230774, -0.005309455096721649, + -0.0015206643147394061, 0.0013754614628851414, -0.0010326731717213988, + 0.0011830037692561746, 0.0004182874399702996, 0.002881203079596162, + 0.005247283726930618, -0.0032918122597038746, -0.27593639492988586, + 0.008016076870262623, -0.032927487045526505, 0.0034898545127362013, + -0.0005590392393060029, -0.0071355910040438175 + ], + [ + -0.001789536327123642, 0.0024559302255511284, 0.0003996387531515211, + 0.00228932430036366, -0.001385789248161018, 0.0008747430401854217, + -0.0007306917104870081, -3.893182656611316e-5, -0.0006620503845624626, + 0.0009643009398132563, 0.0009101420291699469, -0.00024917576229199767, + 0.0016901856288313866, 0.005068792030215263, -0.00018429879855830222, + 0.0006369436741806567, -0.0002283746434841305, -0.4512423574924469, + -0.001926940050907433, 0.02153477445244789, -0.3390248119831085, + 0.000963503320235759, -0.001116398605518043, 0.0003708620206452906, + 0.00045593324466608465, 7.413972343783826e-5, 0.00031602452509105206, + -0.263937771320343, 0.0003725146525539458, -0.0005534967640414834, + 0.00048100537969730794, 0.290561705827713, 0.0014682621695101261, + -0.0005124820163473487, 0.0007359507726505399, -0.0005185921327210963, + 0.002281969180330634, 0.00476174708455801, -0.001052752137184143, + -0.00040900229942053556, 0.0012378758983686566, -0.0008083282154984772, + 0.0015945807099342346, -0.3346136808395386, -4.5893633796367794e-5, + -0.0020344415679574013, -0.0023167734034359455, 0.4230082631111145, + 0.16694311797618866, 0.0009644737583585083, 0.00022681691916659474, + 5.3865322115598246e-5, -0.0014534350484609604, -0.00016302645963151008, + 0.001347323413938284, -0.00030740213696844876, 0.0009736143401823938, + -0.010260284878313541, 0.0010643249843269587, -0.0009494687546975911, + -0.0006177107570692897, 0.19722473621368408, -0.0007565247942693532, + -0.0025182722602039576, 4.52218264399562e-5, 5.545114618143998e-6, + -0.00081349175889045, -0.0038588610477745533, -0.0042077405378222466, + -0.00041320425225421786, -0.07201189547777176, 0.00524517148733139, + 0.00513053685426712, 0.0041326116770505905, 0.0017549446783959866, + -0.0015183401992544532, -0.0034856041893363, -0.004480745643377304, + -0.0006282604299485683, 0.001068551791831851, -0.00019960007921326905, + -0.0006634910241700709, 0.004103552550077438, 0.0002880119427572936, + 0.0008209209772758186, 0.0009594445582479239, 0.0060144453309476376, + -0.002058509737253189, 0.07410744577646255, -0.0011934165377169847, + 0.000897650548722595, -0.0002947770117316395, 0.001211745198816061, + -0.0017680233577266335, 0.004361726343631744, 0.0027076746337115765, + 0.000782497285399586, 7.558671495644376e-5, -0.0008763315854594111, + -9.464364120503888e-5, -8.338956831721589e-5, 0.15946505963802338, + -0.0006557776941917837, 0.00015796035586390644, -0.003359466325491667, + -0.0059751588851213455, -0.0003249075380153954, -0.0001808215311029926, + 0.0008776800823397934, 0.0008136097458191216, 0.0024089294020086527, + -0.012177958153188229, 0.26194244623184204, -0.0019296996761113405, + 0.00015275807527359575, 0.0008216816349886358, -0.0011298173340037465, + 3.181456122547388e-5, 0.0010238793911412358, 0.0007871845155023038, + 0.003129148157313466, -0.0008428898872807622, -0.24745474755764008, + 0.0032050954177975655, 0.050521381199359894, 0.0024129250086843967, + -0.0008224437478929758, -0.0038176269736140966 + ], + [ + -0.0019491245038807392, 0.003935575485229492, 0.0004931058501824737, + 0.003243108978495002, -0.00018058325804304332, 0.0011144551681354642, + -0.00011777444160543382, -0.00035410927375778556, -0.0007380127208307385, + 0.0007547622080892324, 0.0005078215035609901, -0.00023426204279530793, + 0.002964234445244074, 0.008530400693416595, 0.0005215008277446032, + -1.884934499685187e-5, -0.0003226048138458282, -0.4842642545700073, + -0.0012824165169149637, 0.00984151940792799, -0.2529307007789612, + 0.00046873828978277743, -0.0012156354496255517, -0.00047132433974184096, + 0.0010022009955719113, -0.001200769911520183, 0.0005210384260863066, + -0.280647337436676, 3.3265987440245226e-5, -0.0007597681833431125, + 0.0006316077779047191, 0.3134424388408661, 0.002130769193172455, + -0.0010153158800676465, 0.00010348675277782604, -0.0010099174687638879, + 0.0028879696037620306, 0.0064865299500525, -0.0007020289194770157, + -0.00034102326026186347, 0.0007937970221973956, 7.294703391380608e-5, + 0.0022611143067479134, -0.3530799448490143, 0.0002901596308220178, + -0.002672076690942049, -0.0038288531359285116, 0.42491745948791504, + 0.11742769181728363, 0.00044922539382241666, 0.00027509458595886827, + 0.00023312645498663187, -0.0017850791336968541, -0.0006173267029225826, + 0.0013266330352053046, -6.453203241107985e-5, 0.0004796597931999713, + -0.014469251036643982, 0.0018214242300018668, -0.0017075759824365377, + -0.0012235658941790462, 0.19870635867118835, -0.0014073094353079796, + -0.0031321013811975718, -0.000110093635157682, -0.00039540856960229576, + -0.0015345073770731688, -0.004239896312355995, -0.0047142403200268745, + -0.0010484019294381142, -0.07105579227209091, 0.007417094893753529, + 0.0073553393594920635, 0.00510514946654439, 0.002522217808291316, + -0.0017728275852277875, -0.0038912647869437933, -0.0050387014634907246, + 0.0003137926396448165, 0.0008538990514352918, 0.0005431961035355926, + -0.0013435168657451868, 0.004794670268893242, 5.2016017434652895e-5, + 0.00026122835697606206, 0.00046700224629603326, 0.007758667226880789, + -0.002652532886713743, 0.07333966344594955, -0.0018959902226924896, + 0.0003684476250782609, 0.0003268964937888086, 0.0020862845703959465, + -0.003002867801114917, 0.00603963527828455, 0.003654433647170663, + 0.001183546963147819, -0.0001202040002681315, -0.0015841753920540214, + -0.000522199145052582, -0.0005251285037957132, 0.1591682732105255, + -0.000829542288556695, 0.0005259373574517667, -0.004043950699269772, + -0.008617463521659374, -0.0010218968382105231, -5.544711893890053e-5, + 0.0005801351508125663, 0.0014022134710103273, 0.0035537651274353266, + -0.016098693013191223, 0.2645885944366455, -0.004336748272180557, + -0.0007430476252920926, 0.00032779353205114603, -0.0008822166710160673, + -0.0007940945797599852, 0.0005887299194000661, 0.0013624349376186728, + 0.004151420667767525, -0.0011870263842865825, -0.2378636598587036, + 0.00608487892895937, 0.047599755227565765, 0.00170671206433326, + -0.00036869902396574616, -0.003978386987000704 + ] + ], + "model_type": "first_iteration_siamese" +}