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 : 2509612 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 : ['2584706'] with mtr_portfolio_ids : ['20528746'] and first list_photo_ids : [] new path : /proc/2509612/ 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.058061838150024414 About to test input to load Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 1 step1:split_time_score Fri Feb 14 01:36:28 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'}] (('00', 265), ('01', 23)) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {1: 201} 14022025 20528746 Nombre de photos uploadées : 288 / 23040 (1%) 14022025 20528746 Nombre de photos taguées (types de déchets): 201 / 288 (69%) 14022025 20528746 Nombre de photos taguées (volume) : 201 / 288 (69%) elapsed_time : load_data_split_time_score 2.384185791015625e-06 elapsed_time : order_list_meta_photo_and_scores 0.00011873245239257812 ??????????????????????????????????????????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.016650915145874023 elapsed_time : insert_dashboard_record_day_entry 0.022246599197387695 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 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.011769771575927734 photos_removed : len 0 elapsed_time : load_duplicate_info 0.011714935302734375 ***** BEGIN SPLIT TIME ***** True 1739491200.0 `1739487614.010161 1739487600.0 `1739487624.010158 1739487600.0 `1739487634.010146 1739487600.0 `1739487645.010141 1739487600.0 `1739487655.010137 1739487600.0 `1739487665.01016 1739487600.0 `1739487674.009132 1739487600.0 `1739487704.010141 1739487600.0 `1739487715.010137 1739487600.0 `1739487725.010162 1739487600.0 `1739487744.009125 1739487600.0 `1739487754.01014 1739487600.0 `1739487774.010138 1739487600.0 `1739487785.010151 1739487600.0 `1739487824.009126 1739487600.0 `1739487834.010136 1739487600.0 `1739487865.010138 1739487600.0 `1739487875.010145 1739487600.0 `1739487885.010143 1739487600.0 `1739487894.009127 1739487600.0 `1739487904.01015 1739487600.0 `1739487914.010137 1739487600.0 `1739487924.010136 1739487600.0 `1739487935.010141 1739487600.0 `1739487945.010148 1739487600.0 `1739487955.010138 1739487600.0 `1739487984.010132 1739487600.0 `1739487994.010135 1739487600.0 `1739488005.010137 1739487600.0 `1739488015.010137 1739487600.0 `1739488025.010145 1739487600.0 `1739488034.009127 1739487600.0 `1739488044.010136 1739487600.0 `1739488054.010142 1739487600.0 `1739488064.010144 1739487600.0 `1739488075.010149 1739487600.0 `1739488085.010162 1739487600.0 `1739488095.010156 1739487600.0 `1739488104.009127 1739487600.0 `1739488115.010592 1739487600.0 `1739488125.010138 1739487600.0 `1739488135.010138 1739487600.0 `1739488144.009146 1739487600.0 `1739488185.010135 1739487600.0 `1739488195.010139 1739487600.0 `1739488205.010144 1739487600.0 `1739488214.009125 1739487600.0 `1739488224.01014 1739487600.0 `1739488244.010143 1739487600.0 `1739488255.010139 1739487600.0 `1739488265.010148 1739487600.0 `1739488275.010136 1739487600.0 `1739488284.009125 1739487600.0 `1739488294.009965 1739487600.0 `1739488314.010142 1739487600.0 `1739488335.010141 1739487600.0 `1739488345.010137 1739487600.0 `1739488365.010139 1739487600.0 `1739488374.009136 1739487600.0 `1739488415.010133 1739487600.0 `1739488425.010135 1739487600.0 `1739488435.01014 1739487600.0 `1739488444.00914 1739487600.0 `1739488454.01015 1739487600.0 `1739488464.010139 1739487600.0 `1739488475.010171 1739487600.0 `1739488485.010143 1739487600.0 `1739488495.010138 1739487600.0 `1739488504.009144 1739488500.0 `1739488514.010149 1739488500.0 `1739488524.010139 1739488500.0 `1739488534.010134 1739488500.0 `1739488545.010138 1739488500.0 `1739488565.010146 1739488500.0 `1739488575.010134 1739488500.0 `1739488614.010139 1739488500.0 `1739488625.010156 1739488500.0 `1739488635.010135 1739488500.0 `1739488645.010135 1739488500.0 `1739488654.009136 1739488500.0 `1739488664.010145 1739488500.0 `1739488684.01014 1739488500.0 `1739488695.010137 1739488500.0 `1739488715.010136 1739488500.0 `1739488724.009131 1739488500.0 `1739488734.010137 1739488500.0 `1739488744.010153 1739488500.0 `1739488765.010134 1739488500.0 `1739488775.010134 1739488500.0 `1739488814.010137 1739488500.0 `1739488824.010138 1739488500.0 `1739488845.010141 1739488500.0 `1739488855.010139 1739488500.0 `1739488884.010135 1739488500.0 `1739488894.01014 1739488500.0 `1739488915.010138 1739488500.0 `1739488925.010153 1739488500.0 `1739488935.010137 1739488500.0 `1739488944.009125 1739488500.0 `1739488954.010145 1739488500.0 `1739488964.010145 1739488500.0 `1739488974.01015 1739488500.0 `1739488985.010155 1739488500.0 `1739488995.010145 1739488500.0 `1739489005.010134 1739488500.0 `1739489044.010151 1739488500.0 `1739489054.010138 1739488500.0 `1739489064.010137 1739488500.0 `1739489075.010148 1739488500.0 `1739489085.010142 1739488500.0 `1739489095.010137 1739488500.0 `1739489104.009156 1739488500.0 `1739489114.01015 1739488500.0 `1739489124.010136 1739488500.0 `1739489134.010137 1739488500.0 `1739489145.010141 1739488500.0 `1739489155.010145 1739488500.0 `1739489165.010166 1739488500.0 `1739489174.009126 1739488500.0 `1739489184.010134 1739488500.0 `1739489225.010147 1739488500.0 `1739489244.009125 1739488500.0 `1739489254.010141 1739488500.0 `1739489264.010139 1739488500.0 `1739489274.010136 1739488500.0 `1739489285.01016 1739488500.0 `1739489295.010139 1739488500.0 `1739489305.010139 1739488500.0 `1739489314.009132 1739488500.0 `1739489324.010141 1739488500.0 `1739489334.010137 1739488500.0 `1739489344.010154 1739488500.0 `1739489365.010135 1739488500.0 `1739489375.010136 1739488500.0 `1739489384.009126 1739488500.0 `1739489414.010142 1739489400.0 `1739489425.010139 1739489400.0 `1739489435.010142 1739489400.0 `1739489455.010136 1739489400.0 `1739489464.009142 1739489400.0 `1739489505.010139 1739489400.0 `1739489525.010154 1739489400.0 `1739489544.010135 1739489400.0 `1739489564.010161 1739489400.0 `1739489575.010157 1739489400.0 `1739489585.010171 1739489400.0 `1739489594.009128 1739489400.0 `1739489604.010148 1739489400.0 `1739489614.010149 1739489400.0 `1739489635.010136 1739489400.0 `1739489645.010153 1739489400.0 `1739489655.010137 1739489400.0 `1739489664.009127 1739489400.0 `1739489674.010147 1739489400.0 `1739489684.010139 1739489400.0 `1739489694.010139 1739489400.0 `1739489705.010157 1739489400.0 `1739489735.010133 1739489400.0 `1739489744.009124 1739489400.0 `1739489764.010156 1739489400.0 `1739489774.010139 1739489400.0 `1739489785.01014 1739489400.0 `1739489795.01015 1739489400.0 `1739489814.009129 1739489400.0 `1739489834.01014 1739489400.0 `1739489855.01014 1739489400.0 `1739489875.01014 1739489400.0 `1739489894.010142 1739489400.0 `1739489914.010142 1739489400.0 `1739489925.010143 1739489400.0 `1739489954.009126 1739489400.0 `1739489964.010136 1739489400.0 `1739490005.010148 1739489400.0 `1739490034.010144 1739489400.0 `1739490054.010141 1739489400.0 `1739490065.010153 1739489400.0 `1739490075.010134 1739489400.0 `1739490085.010141 1739489400.0 `1739490094.009131 1739489400.0 `1739490114.010138 1739489400.0 `1739490124.010147 1739489400.0 `1739490135.010149 1739489400.0 `1739490145.010148 1739489400.0 `1739490155.010151 1739489400.0 `1739490174.010151 1739489400.0 `1739490184.010162 1739489400.0 `1739490194.010142 1739489400.0 `1739490205.010135 1739489400.0 `1739490215.010136 1739489400.0 `1739490225.010137 1739489400.0 `1739490234.009129 1739489400.0 `1739490275.010141 1739489400.0 `1739490295.010146 1739489400.0 `1739490304.009158 1739490300.0 `1739490314.010139 1739490300.0 `1739490324.010137 1739490300.0 `1739490334.010144 1739490300.0 `1739490345.01014 1739490300.0 `1739490355.010141 1739490300.0 `1739490365.010175 1739490300.0 `1739490374.009125 1739490300.0 `1739490384.010136 1739490300.0 `1739490394.010137 1739490300.0 `1739490404.010137 1739490300.0 `1739490415.010136 1739490300.0 `1739490435.010134 1739490300.0 `1739490444.009125 1739490300.0 `1739490454.010142 1739490300.0 `1739490474.010148 1739490300.0 `1739490485.010181 1739490300.0 `1739490495.01014 1739490300.0 `1739490505.010141 1739490300.0 `1739490524.010154 1739490300.0 `1739490544.010161 1739490300.0 `1739490555.010142 1739490300.0 `1739490575.010142 1739490300.0 `1739490584.009137 1739490300.0 `1739490594.010141 1739490300.0 `1739490604.010148 1739490300.0 `1739490645.010143 1739490300.0 `1739490654.009124 1739490300.0 `1739490664.010157 1739490300.0 `1739490684.010134 1739490300.0 `1739490705.010147 1739490300.0 `1739490715.010152 1739490300.0 `1739490734.010151 1739490300.0 `1739490744.010151 1739490300.0 `1739490754.010139 1739490300.0 `1739490765.010137 1739490300.0 `1739490775.010138 1739490300.0 `1739490794.009126 1739490300.0 `1739490804.010146 1739490300.0 `1739490814.010142 1739490300.0 `1739490824.010134 1739490300.0 `1739490835.01014 1739490300.0 `1739490845.010162 1739490300.0 `1739490864.009125 1739490300.0 `1739490884.010138 1739490300.0 `1739490905.01015 1739490300.0 `1739490915.01014 1739490300.0 `1739490925.010135 1739490300.0 `1739490934.009138 1739490300.0 `1739490944.010149 1739490300.0 `1739490954.010144 1739490300.0 `1739490964.010163 1739490300.0 `1739490975.010137 1739490300.0 `1739490985.010137 1739490300.0 `1739490995.010135 1739490300.0 `1739491014.010137 1739490300.0 `1739491034.010143 1739490300.0 `1739491055.01014 1739490300.0 `1739491065.010138 1739490300.0 `1739491094.010141 1739490300.0 `1739491104.01014 1739490300.0 `1739491115.01014 1739490300.0 `1739491125.010141 1739490300.0 `1739491135.01014 1739490300.0 `1739491135.01014 1739490300.0 `1739491154.010996 1739490300.0 `1739491154.010996 1739490300.0 `1739491163.009128 1739490300.0 `1739491163.009128 1739490300.0 `1739491173.010139 1739490300.0 `1739491173.010139 1739490300.0 `1739491184.010137 1739490300.0 `1739491204.010141 1739491200.0 `1739491214.010145 1739491200.0 `1739491434.01014 1739491200.0 `1739493054.010138 1739493000.0 `1739493064.010135 1739493000.0 `1739493084.010136 1739493000.0 `1739493093.009135 1739493000.0 `1739493103.010149 1739493000.0 `1739493113.010137 1739493000.0 `1739493144.010136 1739493000.0 `1739493154.010143 1739493000.0 `1739493183.010167 1739493000.0 `1739493204.010143 1739493000.0 `1739493214.010142 1739493000.0 `1739493224.010143 1739493000.0 `1739493233.009127 1739493000.0 `1739493243.010155 1739493000.0 `1739493253.010142 1739493000.0 `1739493274.010137 1739493000.0 `1739493284.01014 1739493000.0 `1739493313.010141 1739493000.0 `1739493323.010141 1739493000.0 `1739493334.010142 1739493000.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]] forced_hashtag: JRM force hashtag to JRM elapsed_time : SPLIT_TIME 0.01657390594482422 ***** END SPLIT TIME ***** NUMBER BATCH : 6 list_ponderation used : [1e-05, 1e-05, 1e-05, 1e-05, 1e-05] , list_hashtag_class_create_as_list : ['jrm'] 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': '14022025', 'map_nb_amount': {0: 5, 1: 41, 2: 10, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 880.9999771118164, 'nb_balles_papier': 0.0005600000000000008, 'begin_time_port': 'image_14022025_00_00_14_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.0005600000000000008 We reject this portfolio because of the condition_save_data : 2025-02-14 00:00:14.010161 ERROR missing amount info ERROR missing amount info ERROR missing amount info result_one_balle_Type_JRM:{'day': '14022025', 'map_nb_amount': {0: 11, 1: 44, 2: 9, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 879.999981880188, 'nb_balles_papier': 0.000640000000000001, 'begin_time_port': 'image_14022025_00_15_04_009144m0.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.000640000000000001 We reject this portfolio because of the condition_save_data : 2025-02-14 00:15:04.009144 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': '14022025', 'map_nb_amount': {0: 4, 1: 19, 2: 3, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 881.0000038146973, 'nb_balles_papier': 0.00026000000000000003, 'begin_time_port': 'image_14022025_00_30_14_010142m0.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.00026000000000000003 We reject this portfolio because of the condition_save_data : 2025-02-14 00:30:14.010142 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': '14022025', 'map_nb_amount': {0: 12, 1: 40, 2: 3, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 880.0009791851044, 'nb_balles_papier': 0.0005500000000000008, 'begin_time_port': 'image_14022025_00_45_04_009158m0.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.0005500000000000008 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': '14022025', 'map_nb_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 280.00000405311584, 'nb_balles_papier': 0, 'begin_time_port': 'image_14022025_01_30_54_10138.jpg'} Production hashtag (incorrect ponderation at 20-10-18) : 0 We have rejected 3 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 : {1337481312, 1337481314, 1337481606, 1337481388, 1337481464, 1337481531, 1337481308, 1337481310} Still a lot to verify ! Qualite : 0.03110610844384768 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`=20530407 AND mptpi.`type`=3726 To do 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`=20531629 AND mptpi.`type`=3726 To do elapsed_time : count_nb_balles_and_create_portfolio 0.513561487197876 # DISPLAY ALL COLLECTED DATA : {'14022025': {'nb_upload': 288, 'nb_taggue_class': 201, 'nb_taggue_densite': 201}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1337481606, 1337481531, 1337481464, 1337481388, 1337481314, 1337481312, 1337481310, 1337481308, 1337481300, 1337481287, 1337481269, 1337481267, 1337481264, 1337481213, 1337481204, 1337481171, 1337481167, 1337481164, 1337481163, 1337481161, 1337481147, 1337476369, 1337475837, 1337475835, 1337475833, 1337475832, 1337475831, 1337475830, 1337475828, 1337475827, 1337475825, 1337475824, 1337475818, 1337475816, 1337475814, 1337475811, 1337475808, 1337475720, 1337475714, 1337475707, 1337475666, 1337475630, 1337475626, 1337475624, 1337475560, 1337474968, 1337474944, 1337474941, 1337474936, 1337474931, 1337474929, 1337474880, 1337474873, 1337474864, 1337473778, 1337473613, 1337473484, 1337473365, 1337473323, 1337473299, 1337473296, 1337473294, 1337473292, 1337473286, 1337473272, 1337473269, 1337473264, 1337473262, 1337473136, 1337473108, 1337473106, 1337472960, 1337472955, 1337472945, 1337472938, 1337472896, 1337472652, 1337472576, 1337472506, 1337472446, 1337472377, 1337472370, 1337472363, 1337472361, 1337472179, 1337472176, 1337472171, 1337472165, 1337472156, 1337472148, 1337472144, 1337472142, 1337472139, 1337472136, 1337472134, 1337472130, 1337472114, 1337472112, 1337472092, 1337472090] Looping around the photos to save general results len do output : 1 /20528746Didn'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, '2584706') ('4876', '20528746', '1337481606', None, None, None, None, None, '2584706') ('4876', None, None, None, None, None, None, None, '2584706') ('4876', '20528746', '1337481531', None, None, None, None, None, '2584706') ('4876', None, None, None, None, None, None, None, '2584706') ('4876', '20528746', '1337481464', None, None, None, None, None, '2584706') ('4876', None, None, None, None, None, None, None, '2584706') ('4876', '20528746', '1337481388', None, None, None, None, None, '2584706') ('4876', None, None, None, None, None, None, None, '2584706') ('4876', '20528746', '1337481314', None, None, None, None, None, '2584706') ('4876', None, None, None, None, None, None, None, '2584706') ('4876', '20528746', '1337481312', None, None, None, None, None, '2584706') ('4876', None, None, None, None, None, None, None, '2584706') ('4876', '20528746', '1337481310', None, None, None, None, None, '2584706') ('4876', None, None, None, None, None, None, None, '2584706') ('4876', '20528746', '1337481308', None, None, None, None, None, '2584706') ('4876', None, None, None, None, None, None, None, '2584706') ('4876', '20528746', '1337481300', None, None, None, None, None, '2584706') ('4876', None, None, None, None, None, None, None, '2584706') ('4876', '20528746', '1337481287', None, None, None, None, None, '2584706') ('4876', None, None, None, None, None, None, None, '2584706') ('4876', '20528746', '1337481269', None, None, None, None, None, '2584706') ('4876', None, None, None, None, None, None, None, '2584706') ('4876', '20528746', '1337481267', None, None, None, None, None, '2584706') ('4876', None, None, None, None, None, None, None, '2584706') ('4876', '20528746', '1337481264', None, None, None, None, None, '2584706') ('4876', None, None, None, None, None, None, None, '2584706') ('4876', '20528746', '1337481213', None, None, None, None, None, '2584706') ('4876', None, None, None, None, None, None, None, '2584706') ('4876', '20528746', '1337481204', None, None, None, None, None, '2584706') ('4876', None, None, None, None, None, None, None, '2584706') ('4876', '20528746', '1337481171', None, None, None, None, None, '2584706') ('4876', None, None, None, None, None, None, None, '2584706') ('4876', '20528746', '1337481167', None, None, None, None, None, '2584706') ('4876', None, None, None, None, None, None, None, '2584706') ('4876', '20528746', '1337481164', None, None, None, None, None, '2584706') ('4876', None, None, None, None, None, None, None, '2584706') ('4876', '20528746', '1337481163', None, None, None, None, None, '2584706') ('4876', None, None, None, None, None, None, None, '2584706') ('4876', '20528746', '1337481161', None, None, None, None, None, '2584706') ('4876', None, None, None, None, None, None, None, '2584706') ('4876', '20528746', '1337481147', None, None, None, None, None, '2584706') ('4876', None, None, None, None, None, None, None, '2584706') ('4876', '20528746', '1337476369', None, None, None, None, None, '2584706') ('4876', None, None, None, None, None, None, None, '2584706') ('4876', '20528746', '1337475837', None, None, None, None, None, '2584706') ('4876', None, None, None, None, None, None, None, '2584706') ('4876', '20528746', '1337475835', None, None, None, None, None, '2584706') ('4876', None, None, None, None, None, None, None, '2584706') ('4876', '20528746', '1337475833', None, None, None, None, None, '2584706') ('4876', None, None, None, None, None, None, None, '2584706') ('4876', '20528746', '1337475832', None, None, None, None, None, '2584706') ('4876', None, None, None, None, None, None, None, '2584706') ('4876', '20528746', '1337475831', None, None, None, None, None, '2584706') ('4876', None, None, None, None, None, None, None, '2584706') ('4876', '20528746', '1337475830', None, None, None, None, None, '2584706') ('4876', None, None, None, None, None, None, None, '2584706') ('4876', '20528746', '1337475828', None, None, None, None, None, '2584706') ('4876', None, None, None, None, None, None, None, '2584706') ('4876', '20528746', '1337475827', None, None, None, None, None, '2584706') ('4876', None, None, None, None, None, None, None, '2584706') ('4876', '20528746', '1337475825', None, None, None, None, None, '2584706') ('4876', None, None, None, None, None, None, None, '2584706') ('4876', '20528746', '1337475824', None, None, None, None, None, '2584706') ('4876', None, None, None, None, None, None, None, '2584706') ('4876', '20528746', '1337475818', None, None, None, None, None, '2584706') ('4876', None, None, None, None, None, None, None, '2584706') ('4876', '20528746', '1337475816', None, None, None, None, None, '2584706') ('4876', None, None, None, None, None, None, None, '2584706') ('4876', '20528746', '1337475814', None, None, None, None, None, '2584706') ('4876', None, None, None, None, None, None, None, '2584706') ('4876', '20528746', '1337475811', None, None, None, None, None, '2584706') ('4876', None, None, None, None, None, None, None, '2584706') ('4876', '20528746', '1337475808', None, None, None, None, None, '2584706') ('4876', None, None, None, None, None, None, None, '2584706') ('4876', '20528746', '1337475720', None, None, None, None, None, '2584706') ('4876', None, None, None, None, None, None, None, '2584706') ('4876', '20528746', '1337475714', None, None, None, None, None, '2584706') ('4876', None, None, None, None, None, None, None, '2584706') ('4876', '20528746', '1337475707', None, None, None, None, None, '2584706') ('4876', None, None, None, None, None, None, None, '2584706') ('4876', '20528746', '1337475666', None, None, None, None, None, '2584706') ('4876', None, None, None, None, None, None, None, '2584706') ('4876', '20528746', '1337475630', None, None, None, None, None, '2584706') ('4876', None, None, None, None, None, None, None, '2584706') ('4876', '20528746', '1337475626', None, None, None, None, None, '2584706') ('4876', None, None, None, None, None, None, None, '2584706') ('4876', '20528746', '1337475624', None, None, None, None, None, '2584706') ('4876', None, None, None, None, None, None, None, '2584706') ('4876', '20528746', '1337475560', None, None, None, None, None, '2584706') ('4876', None, None, None, None, None, None, None, '2584706') ('4876', '20528746', '1337474968', None, None, None, None, None, '2584706') ('4876', None, None, None, None, None, None, None, '2584706') ('4876', '20528746', '1337474944', None, None, None, None, None, '2584706') ('4876', None, None, None, None, None, None, None, '2584706') ('4876', '20528746', '1337474941', None, None, None, None, None, '2584706') ('4876', None, None, None, None, None, None, None, '2584706') ('4876', '20528746', '1337474936', None, None, None, None, None, '2584706') ('4876', None, None, None, None, None, None, None, '2584706') ('4876', '20528746', '1337474931', None, None, None, None, None, '2584706') ('4876', None, None, None, None, None, None, None, '2584706') ('4876', '20528746', '1337474929', None, None, None, None, None, '2584706') ('4876', None, None, None, None, None, None, None, '2584706') ('4876', '20528746', '1337474880', None, None, None, None, None, '2584706') ('4876', None, None, None, None, None, None, None, '2584706') ('4876', '20528746', '1337474873', None, None, None, None, None, '2584706') ('4876', None, None, None, None, None, None, None, '2584706') ('4876', '20528746', '1337474864', None, None, None, None, None, '2584706') ('4876', None, None, None, None, None, None, None, '2584706') ('4876', '20528746', '1337473778', None, None, None, None, None, '2584706') ('4876', None, None, None, None, None, None, None, '2584706') ('4876', '20528746', '1337473613', None, None, None, None, None, '2584706') ('4876', None, None, None, None, None, None, None, '2584706') ('4876', '20528746', '1337473484', None, None, None, None, None, '2584706') ('4876', None, None, None, None, None, None, None, '2584706') ('4876', '20528746', '1337473365', None, None, None, None, None, '2584706') ('4876', None, None, None, None, None, None, None, '2584706') ('4876', '20528746', '1337473323', None, None, None, None, None, '2584706') ('4876', None, None, None, None, None, None, None, '2584706') ('4876', '20528746', '1337473299', None, None, None, None, None, '2584706') ('4876', None, None, None, None, None, None, None, '2584706') ('4876', '20528746', '1337473296', None, None, None, None, None, '2584706') ('4876', None, None, None, None, None, None, None, '2584706') ('4876', '20528746', '1337473294', None, None, None, None, None, '2584706') ('4876', None, None, None, None, None, None, None, '2584706') ('4876', '20528746', '1337473292', None, None, None, None, None, '2584706') ('4876', None, None, None, None, None, None, None, '2584706') ('4876', '20528746', '1337473286', None, None, None, None, None, '2584706') ('4876', None, None, None, None, None, None, None, '2584706') ('4876', '20528746', '1337473272', None, None, None, None, None, '2584706') ('4876', None, None, None, None, None, None, None, '2584706') ('4876', '20528746', '1337473269', None, None, None, None, None, '2584706') ('4876', None, None, None, None, None, None, None, '2584706') ('4876', '20528746', '1337473264', None, None, None, None, None, '2584706') ('4876', None, None, None, None, None, None, None, '2584706') ('4876', '20528746', '1337473262', None, None, None, None, None, '2584706') ('4876', None, None, None, None, None, None, None, '2584706') ('4876', '20528746', '1337473136', None, None, None, None, None, '2584706') ('4876', None, None, None, None, None, None, None, '2584706') ('4876', '20528746', '1337473108', None, None, None, None, None, '2584706') ('4876', None, None, None, None, None, None, None, '2584706') ('4876', '20528746', '1337473106', None, None, None, None, None, '2584706') ('4876', None, None, None, None, None, None, None, '2584706') ('4876', '20528746', '1337472960', None, None, None, None, None, '2584706') ('4876', None, None, None, None, None, None, None, '2584706') ('4876', '20528746', '1337472955', None, None, None, None, None, '2584706') ('4876', None, None, None, None, None, None, None, '2584706') ('4876', '20528746', '1337472945', None, None, None, None, None, '2584706') ('4876', None, None, None, None, None, None, None, '2584706') ('4876', '20528746', '1337472938', None, None, None, None, None, '2584706') ('4876', None, None, None, None, None, None, None, '2584706') ('4876', '20528746', '1337472896', None, None, None, None, None, '2584706') ('4876', None, None, None, None, None, None, None, '2584706') ('4876', '20528746', '1337472652', None, None, None, None, None, '2584706') ('4876', None, None, None, None, None, None, None, '2584706') ('4876', '20528746', '1337472576', None, None, None, None, None, '2584706') ('4876', None, None, None, None, None, None, None, '2584706') ('4876', '20528746', '1337472506', None, None, None, None, None, '2584706') ('4876', None, None, None, None, None, None, None, '2584706') ('4876', '20528746', '1337472446', None, None, None, None, None, '2584706') ('4876', None, None, None, None, None, None, None, '2584706') ('4876', '20528746', '1337472377', None, None, None, None, None, '2584706') ('4876', None, None, None, None, None, None, None, '2584706') ('4876', '20528746', '1337472370', None, None, None, None, None, '2584706') ('4876', None, None, None, None, None, None, None, '2584706') ('4876', '20528746', '1337472363', None, None, None, None, None, '2584706') ('4876', None, None, None, None, None, None, None, '2584706') ('4876', '20528746', '1337472361', None, None, None, None, None, '2584706') ('4876', None, None, None, None, None, None, None, '2584706') ('4876', '20528746', '1337472179', None, None, None, None, None, '2584706') ('4876', None, None, None, None, None, None, None, '2584706') ('4876', '20528746', '1337472176', None, None, None, None, None, '2584706') ('4876', None, None, None, None, None, None, None, '2584706') ('4876', '20528746', '1337472171', None, None, None, None, None, '2584706') ('4876', None, None, None, None, None, None, None, '2584706') ('4876', '20528746', '1337472165', None, None, None, None, None, '2584706') ('4876', None, None, None, None, None, None, None, '2584706') ('4876', '20528746', '1337472156', None, None, None, None, None, '2584706') ('4876', None, None, None, None, None, None, None, '2584706') ('4876', '20528746', '1337472148', None, None, None, None, None, '2584706') ('4876', None, None, None, None, None, None, None, '2584706') ('4876', '20528746', '1337472144', None, None, None, None, None, '2584706') ('4876', None, None, None, None, None, None, None, '2584706') ('4876', '20528746', '1337472142', None, None, None, None, None, '2584706') ('4876', None, None, None, None, None, None, None, '2584706') ('4876', '20528746', '1337472139', None, None, None, None, None, '2584706') ('4876', None, None, None, None, None, None, None, '2584706') ('4876', '20528746', '1337472136', None, None, None, None, None, '2584706') ('4876', None, None, None, None, None, None, None, '2584706') ('4876', '20528746', '1337472134', None, None, None, None, None, '2584706') ('4876', None, None, None, None, None, None, None, '2584706') ('4876', '20528746', '1337472130', None, None, None, None, None, '2584706') ('4876', None, None, None, None, None, None, None, '2584706') ('4876', '20528746', '1337472114', None, None, None, None, None, '2584706') ('4876', None, None, None, None, None, None, None, '2584706') ('4876', '20528746', '1337472112', None, None, None, None, None, '2584706') ('4876', None, None, None, None, None, None, None, '2584706') ('4876', '20528746', '1337472092', None, None, None, None, None, '2584706') ('4876', None, None, None, None, None, None, None, '2584706') ('4876', '20528746', '1337472090', None, None, None, None, None, '2584706') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 101 time used for this insertion : 0.9538068771362305 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.69158935546875 time spend to save output : 0.9547019004821777 total time spend for step 1 : 1.6462912559509277 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.51user 0.35system 0:04.37elapsed 42%CPU (0avgtext+0avgdata 99848maxresident)k 0inputs+88outputs (0major+49060minor)pagefaults 0swaps