python /home/admin/mtr/script_for_cron.py -j datou_current3 -m 20 -a ' -a 4876' -s datou_current_4876 -M 0 -S 0 -U 95,95,120 import MySQLdb succeeded Import error (python version) ['/Users/moilerat/Documents/Fotonower/install/caffe/distribute/python', '/home/admin/workarea/git/Velours/python/prod', '/home/admin/workarea/install/caffe_cuda8_python3/python', '/home/admin/workarea/install/darknet', '/home/admin/workarea/git/Velours/python', '/home/admin/workarea/install/caffe_frcnn_python3/py-faster-rcnn/caffe-fast-rcnn/python', '/home/admin/mtr/.credentials', '/home/admin/workarea/install/caffe/python', '/home/admin/workarea/install/caffe_frcnn/py-faster-rcnn/tools', '/home/admin/workarea/git/fotonowerpip', '/home/admin/workarea/install/segment-anything', '/home/admin/workarea/git/pyfvs', '/usr/lib/python38.zip', '/usr/lib/python3.8', '/usr/lib/python3.8/lib-dynload', '/home/admin/.local/lib/python3.8/site-packages', '/usr/local/lib/python3.8/dist-packages', '/usr/lib/python3/dist-packages'] process id : 1738632 load datou : 4876 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) DONE and to test : checkNoCycle ! We are managing only one step so we do not consider checkConsistencyNbInputNbOutput ! We are managing only one step so we do not consider checkConsistencyTypeOutputInput ! Unexpected type for variable list_input_json ERROR or WARNING : can't parse json string Expecting value: line 1 column 1 (char 0) Tried to parse : None was removed should we ? donnée sous forme de texte was removed should we ? [ptf_id0,ptf_id1...] was removed should we ? load thcls load pdts Running datou job : batch_current TODO datou_current to load to do maybe to take outside batchDatouExec no input labels no input values updating current state to 1 list_input_json: {} Current got : datou_id : 4876, datou_cur_ids : ['2570709'] with mtr_portfolio_ids : ['20385772'] and first list_photo_ids : [] new path : /proc/1738632/ Inside batchDatouExec : verbose : 0 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) DONE and to test : checkNoCycle ! We are managing only one step so we do not consider checkConsistencyNbInputNbOutput ! We are managing only one step so we do not consider checkConsistencyTypeOutputInput ! List Step Type Loaded in datou : split_time_score over limit max, limiting to limit_max 100 list_input_json : {} origin We have 1 , WARNING: data may be incomplete, need to offset and complete ! we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB time to download the photos : 0.06660866737365723 About to test input to load Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 1 step1:split_time_score Mon Feb 10 10:14:26 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec begin split time score 2022-04-13 10:29:59 0 TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 3379, 'mtr_user_id': 31, 'name': 'learn_classif_flux_maj_generique_effnet_v2_s_02062022', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'aluminium,ela,film_pedb,flux_dev,jrm,pcm,pcnc,pehd_pp,pet_clair,refus,tapis_vide', 'svm_portfolios_learning': '5515864,5515840,5515844,5515850,6244400,6237996,6237998,5515847,5515841,5515868,5515866', 'photo_hashtag_type': 4374, 'photo_desc_type': 5680, 'type_classification': 'tf_classification2', 'hashtag_id_list': '493546845,492741797,2107760237,2107760238,495916461,560181804,1284539308,2107760239,2107755846,538914404,2107748999'}] thcls : [{'id': 3513, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2_tf', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 4557, 'photo_desc_type': 5767, 'type_classification': 'tf_classification2', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] (('05', 165), ('06', 191), ('07', 199), ('08', 219), ('09', 70), ('10', 62)) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {1: 826} 10022025 20385772 Nombre de photos uploadées : 325 / 23040 (1%) 10022025 20385772 Nombre de photos taguées (types de déchets): 826 / 325 (254%) 10022025 20385772 Nombre de photos taguées (volume) : 826 / 325 (254%) elapsed_time : load_data_split_time_score 2.384185791015625e-06 elapsed_time : order_list_meta_photo_and_scores 0.00025391578674316406 ??????????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.01414036750793457 elapsed_time : insert_dashboard_record_day_entry 0.02257370948791504 Creating list_photo_by_hashtags Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None elapsed_time : list_photo_by_hashtags 0.016668081283569336 photos_removed : len 0 elapsed_time : load_duplicate_info 0.025232553482055664 ***** BEGIN SPLIT TIME ***** True 1739145600.0 `1739171404.010159 1739170800.0 `1739171704.010148 1739171700.0 `1739171714.010139 1739171700.0 `1739171754.010134 1739171700.0 `1739171764.010145 1739171700.0 `1739171774.010139 1739171700.0 `1739171793.009131 1739171700.0 `1739171803.010145 1739171700.0 `1739171814.010145 1739171700.0 `1739171824.010159 1739171700.0 `1739171834.010138 1739171700.0 `1739171844.010135 1739171700.0 `1739171854.010134 1739171700.0 `1739171863.009126 1739171700.0 `1739171873.010135 1739171700.0 `1739171884.010142 1739171700.0 `1739171894.01014 1739171700.0 `1739171904.010135 1739171700.0 `1739171914.010135 1739171700.0 `1739171924.010142 1739171700.0 `1739171934.010138 1739171700.0 `1739171974.010133 1739171700.0 `1739171994.010139 1739171700.0 `1739172004.01015 1739171700.0 `1739172013.009126 1739171700.0 `1739172024.010134 1739171700.0 `1739172034.010142 1739171700.0 `1739172054.010136 1739171700.0 `1739172074.010135 1739171700.0 `1739172083.009127 1739171700.0 `1739172093.010137 1739171700.0 `1739172104.010135 1739171700.0 `1739172114.010137 1739171700.0 `1739172134.010141 1739171700.0 `1739172144.010135 1739171700.0 `1739172163.010139 1739171700.0 `1739172174.010142 1739171700.0 `1739172214.010141 1739171700.0 `1739172223.009125 1739171700.0 `1739172233.010137 1739171700.0 `1739172244.010157 1739171700.0 `1739172264.010137 1739171700.0 `1739172274.010144 1739171700.0 `1739172284.010143 1739171700.0 `1739172294.010137 1739171700.0 `1739172303.009138 1739171700.0 `1739172314.010139 1739171700.0 `1739172324.01014 1739171700.0 `1739172334.010136 1739171700.0 `1739172344.010139 1739171700.0 `1739172354.010136 1739171700.0 `1739172364.010152 1739171700.0 `1739172384.010134 1739171700.0 `1739172394.010134 1739171700.0 `1739172404.010137 1739171700.0 `1739172414.010138 1739171700.0 `1739172424.010144 1739171700.0 `1739172464.010134 1739171700.0 `1739172474.010137 1739171700.0 `1739172484.010162 1739171700.0 `1739172504.010136 1739171700.0 `1739172513.009135 1739171700.0 `1739172523.010147 1739171700.0 `1739172534.010141 1739171700.0 `1739172554.010138 1739171700.0 `1739172564.010136 1739171700.0 `1739172583.009126 1739171700.0 `1739172604.010146 1739172600.0 `1739172624.010135 1739172600.0 `1739172634.010147 1739172600.0 `1739172644.01014 1739172600.0 `1739172653.009127 1739172600.0 `1739172663.010152 1739172600.0 `1739172674.010141 1739172600.0 `1739172684.010142 1739172600.0 `1739172733.009123 1739172600.0 `1739172764.01014 1739172600.0 `1739172774.010136 1739172600.0 `1739172784.010146 1739172600.0 `1739172794.010135 1739172600.0 `1739172803.009125 1739172600.0 `1739172814.010136 1739172600.0 `1739172824.010141 1739172600.0 `1739172834.010138 1739172600.0 `1739172844.010153 1739172600.0 `1739172854.010142 1739172600.0 `1739172873.009126 1739172600.0 `1739172894.010139 1739172600.0 `1739172904.010151 1739172600.0 `1739172914.010137 1739172600.0 `1739172934.010142 1739172600.0 `1739172953.010139 1739172600.0 `1739172964.010149 1739172600.0 `1739172974.010142 1739172600.0 `1739173013.009125 1739172600.0 `1739173023.010151 1739172600.0 `1739173034.010139 1739172600.0 `1739173044.010141 1739172600.0 `1739173064.010143 1739172600.0 `1739173074.010139 1739172600.0 `1739173093.010139 1739172600.0 `1739173104.010136 1739172600.0 `1739173114.010139 1739172600.0 `1739173124.010139 1739172600.0 `1739173144.010154 1739172600.0 `1739173153.009126 1739172600.0 `1739173163.010139 1739172600.0 `1739173174.010143 1739172600.0 `1739173184.010136 1739172600.0 `1739173194.010138 1739172600.0 `1739173204.010151 1739172600.0 `1739173214.010137 1739172600.0 `1739173224.010136 1739172600.0 `1739173233.009125 1739172600.0 `1739173274.010133 1739172600.0 `1739173284.010132 1739172600.0 `1739173294.010138 1739172600.0 `1739173324.010139 1739172600.0 `1739173344.010134 1739172600.0 `1739173354.010148 1739172600.0 `1739173364.010138 1739172600.0 `1739173394.010142 1739172600.0 `1739173414.010147 1739172600.0 `1739173424.010144 1739172600.0 `1739173434.01014 1739172600.0 `1739173453.01014 1739172600.0 `1739173464.010139 1739172600.0 `1739173484.010146 1739172600.0 `1739173494.01014 1739172600.0 `1739173504.010161 1739173500.0 `1739173513.009124 1739173500.0 `1739173544.010141 1739173500.0 `1739173554.010135 1739173500.0 `1739173574.010138 1739173500.0 `1739173593.010147 1739173500.0 `1739173614.010139 1739173500.0 `1739173624.010171 1739173500.0 `1739173634.010137 1739173500.0 `1739173644.010141 1739173500.0 `1739173653.009134 1739173500.0 `1739173663.010142 1739173500.0 `1739173674.010138 1739173500.0 `1739173684.010145 1739173500.0 `1739173704.01014 1739173500.0 `1739173714.010137 1739173500.0 `1739173723.009127 1739173500.0 `1739173764.010143 1739173500.0 `1739173774.010141 1739173500.0 `1739173784.010139 1739173500.0 `1739173794.010134 1739173500.0 `1739173803.009151 1739173500.0 `1739173814.010139 1739173500.0 `1739173824.010136 1739173500.0 `1739173834.010141 1739173500.0 `1739173844.010144 1739173500.0 `1739173854.010139 1739173500.0 `1739173864.010143 1739173500.0 `1739173873.009124 1739173500.0 `1739173884.010143 1739173500.0 `1739173924.010162 1739173500.0 `1739173954.010139 1739173500.0 `1739173964.010201 1739173500.0 `1739173974.010134 1739173500.0 `1739173984.010156 1739173500.0 `1739173994.010139 1739173500.0 `1739174003.009125 1739173500.0 `1739174013.010145 1739173500.0 `1739174024.01015 1739173500.0 `1739174034.010147 1739173500.0 `1739174044.010161 1739173500.0 `1739174073.009135 1739173500.0 `1739174094.010143 1739173500.0 `1739174104.010147 1739173500.0 `1739174114.010146 1739173500.0 `1739174124.010145 1739173500.0 `1739174154.010135 1739173500.0 `1739174164.010141 1739173500.0 `1739174184.010139 1739173500.0 `1739174194.010139 1739173500.0 `1739174204.010141 1739173500.0 `1739174213.00913 1739173500.0 `1739174234.01014 1739173500.0 `1739174244.010143 1739173500.0 `1739174264.010141 1739173500.0 `1739174283.00913 1739173500.0 `1739174293.01014 1739173500.0 `1739174304.010137 1739173500.0 `1739174314.010145 1739173500.0 `1739174324.010142 1739173500.0 `1739174334.010137 1739173500.0 `1739174353.010172 1739173500.0 `1739174363.010136 1739173500.0 `1739174394.010134 1739173500.0 `1739174404.010136 1739174400.0 `1739176903.010138 1739176200.0 `1739176924.01016 1739176200.0 `1739176934.010138 1739176200.0 `1739176953.010158 1739176200.0 `1739177103.010151 1739177100.0 `1739177134.010143 1739177100.0 `1739177144.010141 1739177100.0 `1739177153.009126 1739177100.0 `1739177163.010153 1739177100.0 `1739177183.010143 1739177100.0 `1739177194.010146 1739177100.0 `1739177214.010137 1739177100.0 `1739177223.009146 1739177100.0 `1739177233.010154 1739177100.0 `1739177243.010146 1739177100.0 `1739177253.010142 1739177100.0 `1739177264.010145 1739177100.0 `1739177293.010142 1739177100.0 `1739177303.010134 1739177100.0 `1739177334.010137 1739177100.0 `1739177344.010145 1739177100.0 `1739177354.010134 1739177100.0 `1739177363.009132 1739177100.0 `1739177373.010158 1739177100.0 `1739177383.010151 1739177100.0 `1739177393.010136 1739177100.0 `1739177404.010151 1739177100.0 `1739177414.010139 1739177100.0 `1739177424.010136 1739177100.0 `1739177443.010151 1739177100.0 `1739177453.01014 1739177100.0 `1739177464.010194 1739177100.0 `1739177474.010141 1739177100.0 `1739177484.010143 1739177100.0 `1739177503.010151 1739177100.0 `1739177513.010139 1739177100.0 `1739177523.010137 1739177100.0 `1739177533.010146 1739177100.0 `1739177544.010139 1739177100.0 `1739177554.010139 1739177100.0 `1739177563.009126 1739177100.0 `1739177573.010134 1739177100.0 `1739177603.01014 1739177100.0 `1739177634.010137 1739177100.0 `1739177653.010152 1739177100.0 `1739177663.010149 1739177100.0 `1739177684.010143 1739177100.0 `1739177694.010136 1739177100.0 `1739177723.010142 1739177100.0 `1739177733.010164 1739177100.0 `1739177744.010168 1739177100.0 `1739177754.010139 1739177100.0 `1739177764.010157 1739177100.0 `1739177783.010135 1739177100.0 `1739177793.010137 1739177100.0 `1739177803.010153 1739177100.0 `1739177813.010141 1739177100.0 `1739177834.010143 1739177100.0 `1739177853.010147 1739177100.0 `1739177863.010138 1739177100.0 `1739177904.010139 1739177100.0 `1739177913.009143 1739177100.0 `1739177923.010154 1739177100.0 `1739177933.010151 1739177100.0 `1739177954.010997 1739177100.0 `1739177963.009129 1739177100.0 `1739177973.010137 1739177100.0 `1739177984.010137 1739177100.0 `1739177994.010136 1739177100.0 `1739178004.010151 1739178000.0 `1739178024.010137 1739178000.0 `1739178033.009127 1739178000.0 `1739178043.010136 1739178000.0 `1739178064.010159 1739178000.0 `1739178074.010143 1739178000.0 `1739178084.010141 1739178000.0 `1739178094.010146 1739178000.0 `1739178123.010152 1739178000.0 `1739178134.010141 1739178000.0 `1739178154.010147 1739178000.0 `1739178164.010145 1739178000.0 `1739178173.009126 1739178000.0 `1739178193.01014 1739178000.0 `1739178204.010143 1739178000.0 `1739178214.010137 1739178000.0 `1739178234.010138 1739178000.0 `1739178243.009149 1739178000.0 `1739178263.010135 1739178000.0 `1739178274.010141 1739178000.0 `1739178284.010159 1739178000.0 `1739178304.010162 1739178000.0 `1739178323.010195 1739178000.0 `1739178334.010139 1739178000.0 `1739178344.010137 1739178000.0 `1739178383.009123 1739178000.0 `1739178393.010135 1739178000.0 `1739178403.010135 1739178000.0 `1739178414.010135 1739178000.0 `1739178424.010152 1739178000.0 `1739178434.010139 1739178000.0 `1739178444.010137 1739178000.0 `1739178453.009131 1739178000.0 `1739178473.010141 1739178000.0 `1739178484.010141 1739178000.0 `1739178494.010145 1739178000.0 `1739178504.010137 1739178000.0 `1739178514.010141 1739178000.0 `1739178523.009129 1739178000.0 `1739178543.010173 1739178000.0 `1739178564.010147 1739178000.0 `1739178574.010138 1739178000.0 `1739178584.010138 1739178000.0 `1739178593.009127 1739178000.0 `1739178613.010146 1739178000.0 `1739178624.010135 1739178000.0 `1739178634.010135 1739178000.0 `1739178644.010138 1739178000.0 `1739178654.010143 1739178000.0 `1739178663.009149 1739178000.0 `1739178673.010137 1739178000.0 `1739178683.010136 1739178000.0 `1739178694.010136 1739178000.0 `1739178714.010202 1739178000.0 `1739178724.010149 1739178000.0 `1739178743.010138 1739178000.0 `1739178753.010137 1739178000.0 `1739178764.010141 1739178000.0 `1739178774.010136 1739178000.0 `1739178784.010141 1739178000.0 `1739178794.01014 1739178000.0 `1739178803.009124 1739178000.0 list printed: [[0], [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, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128], [129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192], [193], [194, 195, 196, 197], [198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262], [263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324]] forced_hashtag: JRM force hashtag to JRM elapsed_time : SPLIT_TIME 0.017368793487548828 ***** END SPLIT TIME ***** NUMBER BATCH : 8 list_ponderation used : [1e-05, 1e-05, 1e-05, 1e-05, 1e-05] , list_hashtag_class_create_as_list : ['jrm'] result_one_balle_Type_JRM:{'day': '10022025', 'map_nb_amount': {0: 4, 1: 49, 2: 13, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 878.9989778995514, 'nb_balles_papier': 0.0006600000000000011, 'begin_time_port': 'image_10022025_08_15_04_010148m0.jpg 1e-05 for time 1, id_amount 3 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 0.0006600000000000011 We reject this portfolio because of the condition_save_data : 2025-02-10 08:15:04.010148 result_one_balle_Type_JRM:{'day': '10022025', 'map_nb_amount': {0: 5, 1: 52, 2: 5, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 889.9999940395355, 'nb_balles_papier': 0.000620000000000001, 'begin_time_port': 'image_10022025_08_30_04_010146m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 0.000620000000000001 We reject this portfolio because of the condition_save_data : 2025-02-10 08:30:04.010146 result_one_balle_Type_JRM:{'day': '10022025', 'map_nb_amount': {0: 5, 1: 53, 2: 6, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 889.9999730587006, 'nb_balles_papier': 0.000640000000000001, 'begin_time_port': 'image_10022025_08_45_04_010161m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 0.000640000000000001 We reject this portfolio because of the condition_save_data : 2025-02-10 08:45:04.010161 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info result_one_balle_Type_JRM:{'day': '10022025', 'map_nb_amount': {0: 3, 1: 39, 2: 3, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 890.9999849796295, 'nb_balles_papier': 0.00045000000000000053, 'begin_time_port': 'image_10022025_09_45_03_10151.jpg'} Production hashtag (incorrect ponderation at 20-10-18) : 0.00045000000000000053 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info result_one_balle_Type_JRM:{'day': '10022025', 'map_nb_amount': {0: 3, 1: 27, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 798.9989731311798, 'nb_balles_papier': 0.00030000000000000014, 'begin_time_port': 'image_10022025_10_00_04_010151m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 0.00030000000000000014 We have rejected 6 photos because of the batch_size condition ! NUMBER BATCH list_of_portfolios_to_create : 2 Still a lot to verify ! We need to add photos : {1336447360, 1336447362, 1336447330, 1336447396, 1336447333, 1336447366, 1336447398, 1336447368, 1336447404, 1336447407, 1336447320, 1336447323, 1336447358, 1336447327} Still a lot to verify ! Qualite : 0.044456337169473906 We don't need to reset the datou_current for this portfolio, que ce soit dans le cas ou il est fini (et found_correct devrait etre vrai, ou dans le cas ou il n'est pas fini, mais du coup on le retrouvera et mettra simplement à jour) # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20395726 AND mptpi.`type`=3726 To do Qualite : 0.04941089477999974 Since we have set only the same portfolio in list_same_port_ids, it means the datou_current is finished and we need to re-insert it with the same id to finish the job (if we added new photos to the portfolio) We may have found the correct datou result for the same portfolio, but we will rerun it, since the portfolio may have been updated ! This function is not protected ! # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20396366 AND mptpi.`type`=3726 To do elapsed_time : count_nb_balles_and_create_portfolio 0.6327321529388428 # DISPLAY ALL COLLECTED DATA : {'10022025': {'nb_upload': 325, 'nb_taggue_class': 826, 'nb_taggue_densite': 826}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1336447407, 1336447404, 1336447398, 1336447396, 1336447368, 1336447366, 1336447362, 1336447360, 1336447358, 1336447333, 1336447330, 1336447327, 1336447323, 1336447320, 1336447208, 1336447165, 1336447141, 1336447137, 1336447135, 1336447109, 1336447107, 1336447105, 1336447104, 1336447098, 1336446905, 1336446902, 1336446899, 1336446897, 1336446894, 1336446869, 1336446866, 1336446864, 1336446862, 1336446861, 1336446831, 1336446828, 1336446825, 1336446823, 1336446748, 1336446746, 1336446699, 1336446696, 1336446652, 1336446650, 1336446648, 1336446647, 1336446587, 1336446535, 1336446533, 1336446531, 1336445880, 1336445808, 1336445805, 1336445802, 1336445801, 1336445779, 1336445772, 1336445733, 1336445731, 1336445504, 1336445502, 1336445501, 1336445500, 1336445414, 1336445412, 1336445410, 1336445407, 1336445406, 1336445397, 1336445393, 1336445388, 1336445383, 1336445094, 1336445092, 1336445090, 1336444847, 1336444846, 1336444845, 1336444843, 1336444842, 1336444620, 1336444608, 1336444605, 1336444603, 1336444563, 1336444560, 1336444557, 1336444555, 1336444540, 1336444538, 1336444331, 1336444327, 1336444324, 1336444320, 1336444316, 1336444314, 1336444301, 1336444299, 1336444297, 1336444295] Looping around the photos to save general results len do output : 1 /20385772Didn't retrieve data . before output type Here is an output not treated by saveGeneral : Managing all output in save final without adding information in the mtr_datou_result ('4876', None, None, None, None, None, None, None, '2570709') ('4876', '20385772', '1336447407', None, None, None, None, None, '2570709') ('4876', None, None, None, None, None, None, None, '2570709') ('4876', '20385772', '1336447404', None, None, None, None, None, '2570709') ('4876', None, None, None, None, None, None, None, '2570709') ('4876', '20385772', '1336447398', None, None, None, None, None, '2570709') ('4876', None, None, None, None, None, None, None, '2570709') ('4876', '20385772', '1336447396', None, None, None, None, None, '2570709') ('4876', None, None, None, None, None, None, None, '2570709') ('4876', '20385772', '1336447368', None, None, None, None, None, '2570709') ('4876', None, None, None, None, None, None, None, '2570709') ('4876', '20385772', '1336447366', None, None, None, None, None, '2570709') ('4876', None, None, None, None, None, None, None, '2570709') ('4876', '20385772', '1336447362', None, None, None, None, None, '2570709') ('4876', None, None, None, None, None, None, None, '2570709') ('4876', '20385772', '1336447360', None, None, None, None, None, '2570709') ('4876', None, None, None, None, None, None, None, '2570709') ('4876', '20385772', '1336447358', None, None, None, None, None, '2570709') ('4876', None, None, None, None, None, None, None, '2570709') ('4876', '20385772', '1336447333', None, None, None, None, None, '2570709') ('4876', None, None, None, None, None, None, None, '2570709') ('4876', '20385772', '1336447330', None, None, None, None, None, '2570709') ('4876', None, None, None, None, None, None, None, '2570709') ('4876', '20385772', '1336447327', None, None, None, None, None, '2570709') ('4876', None, None, None, None, None, None, None, '2570709') ('4876', '20385772', '1336447323', None, None, None, None, None, '2570709') ('4876', None, None, None, None, None, None, None, '2570709') ('4876', '20385772', '1336447320', None, None, None, None, None, '2570709') ('4876', None, None, None, None, None, None, None, '2570709') ('4876', '20385772', '1336447208', None, None, None, None, None, '2570709') ('4876', None, None, None, None, None, None, None, '2570709') ('4876', '20385772', '1336447165', None, None, None, None, None, '2570709') ('4876', None, None, None, None, None, None, None, '2570709') ('4876', '20385772', '1336447141', None, None, None, None, None, '2570709') ('4876', None, None, None, None, None, None, None, '2570709') ('4876', '20385772', '1336447137', None, None, None, None, None, '2570709') ('4876', None, None, None, None, None, None, None, '2570709') ('4876', '20385772', '1336447135', None, None, None, None, None, '2570709') ('4876', None, None, None, None, None, None, None, '2570709') ('4876', '20385772', '1336447109', None, None, None, None, None, '2570709') ('4876', None, None, None, None, None, None, None, '2570709') ('4876', '20385772', '1336447107', None, None, None, None, None, '2570709') ('4876', None, None, None, None, None, None, None, '2570709') ('4876', '20385772', '1336447105', None, None, None, None, None, '2570709') ('4876', None, None, None, None, None, None, None, '2570709') ('4876', '20385772', '1336447104', None, None, None, None, None, '2570709') ('4876', None, None, None, None, None, None, None, '2570709') ('4876', '20385772', '1336447098', None, None, None, None, None, '2570709') ('4876', None, None, None, None, None, None, None, '2570709') ('4876', '20385772', '1336446905', None, None, None, None, None, '2570709') ('4876', None, None, None, None, None, None, None, '2570709') ('4876', '20385772', '1336446902', None, None, None, None, None, '2570709') ('4876', None, None, None, None, None, None, None, '2570709') ('4876', '20385772', '1336446899', None, None, None, None, None, '2570709') ('4876', None, None, None, None, None, None, None, '2570709') ('4876', '20385772', '1336446897', None, None, None, None, None, '2570709') ('4876', None, None, None, None, None, None, None, '2570709') ('4876', '20385772', '1336446894', None, None, None, None, None, '2570709') ('4876', None, None, None, None, None, None, None, '2570709') ('4876', '20385772', '1336446869', None, None, None, None, None, '2570709') ('4876', None, None, None, None, None, None, None, '2570709') ('4876', '20385772', '1336446866', None, None, None, None, None, '2570709') ('4876', None, None, None, None, None, None, None, '2570709') ('4876', '20385772', '1336446864', None, None, None, None, None, '2570709') ('4876', None, None, None, None, None, None, None, '2570709') ('4876', '20385772', '1336446862', None, None, None, None, None, '2570709') ('4876', None, None, None, None, None, None, None, '2570709') ('4876', '20385772', '1336446861', None, None, None, None, None, '2570709') ('4876', None, None, None, None, None, None, None, '2570709') ('4876', '20385772', '1336446831', None, None, None, None, None, '2570709') ('4876', None, None, None, None, None, None, None, '2570709') ('4876', '20385772', '1336446828', None, None, None, None, None, '2570709') ('4876', None, None, None, None, None, None, None, '2570709') ('4876', '20385772', '1336446825', None, None, None, None, None, '2570709') ('4876', None, None, None, None, None, None, None, '2570709') ('4876', '20385772', '1336446823', None, None, None, None, None, '2570709') ('4876', None, None, None, None, None, None, None, '2570709') ('4876', '20385772', '1336446748', None, None, None, None, None, '2570709') ('4876', None, None, None, None, None, None, None, '2570709') ('4876', '20385772', '1336446746', None, None, None, None, None, '2570709') ('4876', None, None, None, None, None, None, None, '2570709') ('4876', '20385772', '1336446699', None, None, None, None, None, '2570709') ('4876', None, None, None, None, None, None, None, '2570709') ('4876', '20385772', '1336446696', None, None, None, None, None, '2570709') ('4876', None, None, None, None, None, None, None, '2570709') ('4876', '20385772', '1336446652', None, None, None, None, None, '2570709') ('4876', None, None, None, None, None, None, None, '2570709') ('4876', '20385772', '1336446650', None, None, None, None, None, '2570709') ('4876', None, None, None, None, None, None, None, '2570709') ('4876', '20385772', '1336446648', None, None, None, None, None, '2570709') ('4876', None, None, None, None, None, None, None, '2570709') ('4876', '20385772', '1336446647', None, None, None, None, None, '2570709') ('4876', None, None, None, None, None, None, None, '2570709') ('4876', '20385772', '1336446587', None, None, None, None, None, '2570709') ('4876', None, None, None, None, None, None, None, '2570709') ('4876', '20385772', '1336446535', None, None, None, None, None, '2570709') ('4876', None, None, None, None, None, None, None, '2570709') ('4876', '20385772', '1336446533', None, None, None, None, None, '2570709') ('4876', None, None, None, None, None, None, None, '2570709') ('4876', '20385772', '1336446531', None, None, None, None, None, '2570709') ('4876', None, None, None, None, None, None, None, '2570709') ('4876', '20385772', '1336445880', None, None, None, None, None, '2570709') ('4876', None, None, None, None, None, None, None, '2570709') ('4876', '20385772', '1336445808', None, None, None, None, None, '2570709') ('4876', None, None, None, None, None, None, None, '2570709') ('4876', '20385772', '1336445805', None, None, None, None, None, '2570709') ('4876', None, None, None, None, None, None, None, '2570709') ('4876', '20385772', '1336445802', None, None, None, None, None, '2570709') ('4876', None, None, None, None, None, None, None, '2570709') ('4876', '20385772', '1336445801', None, None, None, None, None, '2570709') ('4876', None, None, None, None, None, None, None, '2570709') ('4876', '20385772', '1336445779', None, None, None, None, None, '2570709') ('4876', None, None, None, None, None, None, None, '2570709') ('4876', '20385772', '1336445772', None, None, None, None, None, '2570709') ('4876', None, None, None, None, None, None, None, '2570709') ('4876', '20385772', '1336445733', None, None, None, None, None, '2570709') ('4876', None, None, None, None, None, None, None, '2570709') ('4876', '20385772', '1336445731', None, None, None, None, None, '2570709') ('4876', None, None, None, None, None, None, None, '2570709') ('4876', '20385772', '1336445504', None, None, None, None, None, '2570709') ('4876', None, None, None, None, None, None, None, '2570709') ('4876', '20385772', '1336445502', None, None, None, None, None, '2570709') ('4876', None, None, None, None, None, None, None, '2570709') ('4876', '20385772', '1336445501', None, None, None, None, None, '2570709') ('4876', None, None, None, None, None, None, None, '2570709') ('4876', '20385772', '1336445500', None, None, None, None, None, '2570709') ('4876', None, None, None, None, None, None, None, '2570709') ('4876', '20385772', '1336445414', None, None, None, None, None, '2570709') ('4876', None, None, None, None, None, None, None, '2570709') ('4876', '20385772', '1336445412', None, None, None, None, None, '2570709') ('4876', None, None, None, None, None, None, None, '2570709') ('4876', '20385772', '1336445410', None, None, None, None, None, '2570709') ('4876', None, None, None, None, None, None, None, '2570709') ('4876', '20385772', '1336445407', None, None, None, None, None, '2570709') ('4876', None, None, None, None, None, None, None, '2570709') ('4876', '20385772', '1336445406', None, None, None, None, None, '2570709') ('4876', None, None, None, None, None, None, None, '2570709') ('4876', '20385772', '1336445397', None, None, None, None, None, '2570709') ('4876', None, None, None, None, None, None, None, '2570709') ('4876', '20385772', '1336445393', None, None, None, None, None, '2570709') ('4876', None, None, None, None, None, None, None, '2570709') ('4876', '20385772', '1336445388', None, None, None, None, None, '2570709') ('4876', None, None, None, None, None, None, None, '2570709') ('4876', '20385772', '1336445383', None, None, None, None, None, '2570709') ('4876', None, None, None, None, None, None, None, '2570709') ('4876', '20385772', '1336445094', None, None, None, None, None, '2570709') ('4876', None, None, None, None, None, None, None, '2570709') ('4876', '20385772', '1336445092', None, None, None, None, None, '2570709') ('4876', None, None, None, None, None, None, None, '2570709') ('4876', '20385772', '1336445090', None, None, None, None, None, '2570709') ('4876', None, None, None, None, None, None, None, '2570709') ('4876', '20385772', '1336444847', None, None, None, None, None, '2570709') ('4876', None, None, None, None, None, None, None, '2570709') ('4876', '20385772', '1336444846', None, None, None, None, None, '2570709') ('4876', None, None, None, None, None, None, None, '2570709') ('4876', '20385772', '1336444845', None, None, None, None, None, '2570709') ('4876', None, None, None, None, None, None, None, '2570709') ('4876', '20385772', '1336444843', None, None, None, None, None, '2570709') ('4876', None, None, None, None, None, None, None, '2570709') ('4876', '20385772', '1336444842', None, None, None, None, None, '2570709') ('4876', None, None, None, None, None, None, None, '2570709') ('4876', '20385772', '1336444620', None, None, None, None, None, '2570709') ('4876', None, None, None, None, None, None, None, '2570709') ('4876', '20385772', '1336444608', None, None, None, None, None, '2570709') ('4876', None, None, None, None, None, None, None, '2570709') ('4876', '20385772', '1336444605', None, None, None, None, None, '2570709') ('4876', None, None, None, None, None, None, None, '2570709') ('4876', '20385772', '1336444603', None, None, None, None, None, '2570709') ('4876', None, None, None, None, None, None, None, '2570709') ('4876', '20385772', '1336444563', None, None, None, None, None, '2570709') ('4876', None, None, None, None, None, None, None, '2570709') ('4876', '20385772', '1336444560', None, None, None, None, None, '2570709') ('4876', None, None, None, None, None, None, None, '2570709') ('4876', '20385772', '1336444557', None, None, None, None, None, '2570709') ('4876', None, None, None, None, None, None, None, '2570709') ('4876', '20385772', '1336444555', None, None, None, None, None, '2570709') ('4876', None, None, None, None, None, None, None, '2570709') ('4876', '20385772', '1336444540', None, None, None, None, None, '2570709') ('4876', None, None, None, None, None, None, None, '2570709') ('4876', '20385772', '1336444538', None, None, None, None, None, '2570709') ('4876', None, None, None, None, None, None, None, '2570709') ('4876', '20385772', '1336444331', None, None, None, None, None, '2570709') ('4876', None, None, None, None, None, None, None, '2570709') ('4876', '20385772', '1336444327', None, None, None, None, None, '2570709') ('4876', None, None, None, None, None, None, None, '2570709') ('4876', '20385772', '1336444324', None, None, None, None, None, '2570709') ('4876', None, None, None, None, None, None, None, '2570709') ('4876', '20385772', '1336444320', None, None, None, None, None, '2570709') ('4876', None, None, None, None, None, None, None, '2570709') ('4876', '20385772', '1336444316', None, None, None, None, None, '2570709') ('4876', None, None, None, None, None, None, None, '2570709') ('4876', '20385772', '1336444314', None, None, None, None, None, '2570709') ('4876', None, None, None, None, None, None, None, '2570709') ('4876', '20385772', '1336444301', None, None, None, None, None, '2570709') ('4876', None, None, None, None, None, None, None, '2570709') ('4876', '20385772', '1336444299', None, None, None, None, None, '2570709') ('4876', None, None, None, None, None, None, None, '2570709') ('4876', '20385772', '1336444297', None, None, None, None, None, '2570709') ('4876', None, None, None, None, None, None, None, '2570709') ('4876', '20385772', '1336444295', None, None, None, None, None, '2570709') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 101 time used for this insertion : 0.2343134880065918 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.876162052154541 time spend to save output : 0.2352004051208496 total time spend for step 1 : 1.1113624572753906 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 1 set_done_treatment 1.17user 0.52system 0:02.75elapsed 61%CPU (0avgtext+0avgdata 101608maxresident)k 0inputs+88outputs (60major+49096minor)pagefaults 0swaps