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 : 23575 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 we have a portfolio with more photos than limit : 1051>1000 please execute split_portfolio.py -i 22055303 -l 1000 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4876, datou_cur_ids : ['2725296'] with mtr_portfolio_ids : ['22055303'] and first list_photo_ids : [] new path : /proc/23575/ 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.025806665420532227 About to test input to load Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 1 step1:split_time_score Wed Apr 16 09:48:27 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', 9), ('01', 10), ('02', 14), ('03', 11), ('04', 8), ('05', 240), ('06', 183), ('07', 285), ('08', 211), ('09', 80)) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {1: 957, 2: 1} 16042025 22055303 Nombre de photos uploadées : 347 / 23040 (1%) 16042025 22055303 Nombre de photos taguées (types de déchets): 958 / 347 (276%) 16042025 22055303 Nombre de photos taguées (volume) : 958 / 347 (276%) elapsed_time : load_data_split_time_score 5.245208740234375e-06 elapsed_time : order_list_meta_photo_and_scores 0.00025963783264160156 ????????????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.01191258430480957 elapsed_time : insert_dashboard_record_day_entry 0.02205038070678711 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 elapsed_time : list_photo_by_hashtags 0.012771844863891602 photos_removed : len 0 elapsed_time : load_duplicate_info 0.05585789680480957 ***** BEGIN SPLIT TIME ***** 1744761600.0 `1744782473.010139 1744782300.0 `1744782483.010138 1744782300.0 `1744782494.010136 1744782300.0 `1744782503.009126 1744782300.0 `1744782513.010136 1744782300.0 `1744782523.010138 1744782300.0 `1744782533.010136 1744782300.0 `1744782574.010133 1744782300.0 `1744782583.009126 1744782300.0 `1744782593.010138 1744782300.0 `1744782603.010154 1744782300.0 `1744782613.010139 1744782300.0 `1744782623.010136 1744782300.0 `1744782634.010139 1744782300.0 `1744782644.010141 1744782300.0 `1744782653.009127 1744782300.0 `1744782663.010151 1744782300.0 `1744782673.010137 1744782300.0 `1744782704.010135 1744782300.0 `1744782714.010135 1744782300.0 `1744782723.009126 1744782300.0 `1744782733.010154 1744782300.0 `1744782743.010135 1744782300.0 `1744782753.010136 1744782300.0 `1744782763.010144 1744782300.0 `1744782773.010135 1744782300.0 `1744782784.010157 1744782300.0 `1744782793.009126 1744782300.0 `1744782813.010132 1744782300.0 `1744782823.010133 1744782300.0 `1744782833.010137 1744782300.0 `1744782843.010141 1744782300.0 `1744782854.010134 1744782300.0 `1744782864.010134 1744782300.0 `1744782873.009123 1744782300.0 `1744782883.010136 1744782300.0 `1744782893.010135 1744782300.0 `1744782934.010135 1744782300.0 `1744782943.009125 1744782300.0 `1744782953.010137 1744782300.0 `1744782963.010146 1744782300.0 `1744782973.010146 1744782300.0 `1744782983.010147 1744782300.0 `1744782994.010144 1744782300.0 `1744783004.010144 1744782300.0 `1744783013.009128 1744782300.0 `1744783023.01015 1744782300.0 `1744783033.010142 1744782300.0 `1744783063.010135 1744782300.0 `1744783074.010135 1744782300.0 `1744783083.009124 1744782300.0 `1744783093.010199 1744782300.0 `1744783103.010447 1744782300.0 `1744783114.010136 1744782300.0 `1744783124.01014 1744782300.0 `1744783133.009125 1744782300.0 `1744783214.010184 1744783200.0 `1744783224.010141 1744783200.0 `1744783235.010136 1744783200.0 `1744783245.010136 1744783200.0 `1744783255.010136 1744783200.0 `1744783265.010155 1744783200.0 `1744783274.009125 1744783200.0 `1744783284.010135 1744783200.0 `1744783294.010134 1744783200.0 `1744783304.010136 1744783200.0 `1744783315.010139 1744783200.0 `1744783345.010134 1744783200.0 `1744783354.009122 1744783200.0 `1744783364.010137 1744783200.0 `1744783374.01014 1744783200.0 `1744783385.010145 1744783200.0 `1744783395.010136 1744783200.0 `1744783405.010135 1744783200.0 `1744783415.01015 1744783200.0 `1744783424.009135 1744783200.0 `1744783434.010137 1744783200.0 `1744783444.010145 1744783200.0 `1744783475.010133 1744783200.0 `1744783485.010137 1744783200.0 `1744783494.009124 1744783200.0 `1744783504.010187 1744783200.0 `1744783514.010135 1744783200.0 `1744783525.010132 1744783200.0 `1744783535.010142 1744783200.0 `1744783545.010135 1744783200.0 `1744783555.010138 1744783200.0 `1744783564.009134 1744783200.0 `1744783574.010134 1744783200.0 `1744783605.010133 1744783200.0 `1744783615.010135 1744783200.0 `1744783625.010169 1744783200.0 `1744783634.009129 1744783200.0 `1744783644.010136 1744783200.0 `1744783654.010141 1744783200.0 `1744783664.010142 1744783200.0 `1744783675.010135 1744783200.0 `1744783685.010155 1744783200.0 `1744783724.010133 1744783200.0 `1744783734.010137 1744783200.0 `1744783745.010154 1744783200.0 `1744783755.010135 1744783200.0 `1744783765.010134 1744783200.0 `1744783775.010144 1744783200.0 `1744783784.009125 1744783200.0 `1744783794.010137 1744783200.0 `1744783825.010134 1744783200.0 `1744783835.010133 1744783200.0 `1744783845.01014 1744783200.0 `1744783854.009127 1744783200.0 `1744783864.010151 1744783200.0 `1744783874.010136 1744783200.0 `1744783885.010135 1744783200.0 `1744783895.010137 1744783200.0 `1744783905.01014 1744783200.0 `1744783915.010139 1744783200.0 `1744783934.010134 1744783200.0 `1744783944.010132 1744783200.0 `1744783954.010132 1744783200.0 `1744783965.010135 1744783200.0 `1744783975.010144 1744783200.0 `1744783985.010149 1744783200.0 `1744783995.010137 1744783200.0 `1744784014.010134 1744783200.0 `1744784035.010135 1744783200.0 `1744784045.010153 1744783200.0 `1744784055.010134 1744783200.0 `1744784065.010135 1744783200.0 `1744784105.01015 1744784100.0 `1744784115.010137 1744784100.0 `1744784125.010133 1744784100.0 `1744784135.01014 1744784100.0 `1744784144.009128 1744784100.0 `1744784154.010136 1744784100.0 `1744784195.010134 1744784100.0 `1744784245.01014 1744784100.0 `1744784254.009131 1744784100.0 `1744784375.010136 1744784100.0 `1744784385.010137 1744784100.0 `1744784395.010139 1744784100.0 `1744784414.010136 1744784100.0 `1744784424.010137 1744784100.0 `1744784455.010136 1744784100.0 `1744784465.010138 1744784100.0 `1744784474.009127 1744784100.0 `1744784484.01014 1744784100.0 `1744784494.010137 1744784100.0 `1744784505.010139 1744784100.0 `1744784515.010143 1744784100.0 `1744784525.010149 1744784100.0 `1744784535.010135 1744784100.0 `1744784544.009124 1744784100.0 `1744784554.010134 1744784100.0 `1744784564.010142 1744784100.0 `1744784575.010143 1744784100.0 `1744784585.010148 1744784100.0 `1744784614.009178 1744784100.0 `1744784624.010135 1744784100.0 `1744784634.010135 1744784100.0 `1744784645.010144 1744784100.0 `1744784655.010139 1744784100.0 `1744784665.010135 1744784100.0 `1744784675.010147 1744784100.0 `1744784694.010134 1744784100.0 `1744784704.010154 1744784100.0 `1744784714.010137 1744784100.0 `1744784745.010136 1744784100.0 `1744784755.010139 1744784100.0 `1744784764.00913 1744784100.0 `1744784774.010137 1744784100.0 `1744784784.010132 1744784100.0 `1744784795.010141 1744784100.0 `1744784805.010136 1744784100.0 `1744784815.010138 1744784100.0 `1744784825.010159 1744784100.0 `1744784834.009124 1744784100.0 `1744784844.010134 1744784100.0 `1744784854.010135 1744784100.0 `1744784895.010138 1744784100.0 `1744784914.010137 1744784100.0 `1744784924.010136 1744784100.0 `1744784934.010137 1744784100.0 `1744784945.010151 1744784100.0 `1744784955.010136 1744784100.0 `1744784965.010133 1744784100.0 `1744784974.00913 1744784100.0 `1744784984.010137 1744784100.0 `1744784994.010133 1744784100.0 `1744785004.010156 1744785000.0 `1744785015.010136 1744785000.0 `1744785025.010135 1744785000.0 `1744785054.009124 1744785000.0 `1744785064.010157 1744785000.0 `1744785074.010133 1744785000.0 `1744785085.010134 1744785000.0 `1744785095.010135 1744785000.0 `1744785105.01014 1744785000.0 `1744785115.010137 1744785000.0 `1744785124.009129 1744785000.0 `1744785134.010136 1744785000.0 `1744785144.010135 1744785000.0 `1744785155.010135 1744785000.0 `1744785165.010135 1744785000.0 `1744785194.009126 1744785000.0 `1744785204.010137 1744785000.0 `1744785214.010135 1744785000.0 `1744785224.010135 1744785000.0 `1744785235.010134 1744785000.0 `1744785245.010138 1744785000.0 `1744785255.01014 1744785000.0 `1744785265.010136 1744785000.0 `1744785274.009126 1744785000.0 `1744785305.01015 1744785000.0 `1744785315.010134 1744785000.0 `1744785325.010136 1744785000.0 `1744785335.010143 1744785000.0 `1744785344.009129 1744785000.0 `1744785354.010137 1744785000.0 `1744785364.01015 1744785000.0 `1744785375.010136 1744785000.0 `1744785784.010149 1744785000.0 `1744786245.010135 1744785900.0 `1744786255.010134 1744785900.0 `1744786265.010151 1744785900.0 `1744786275.010136 1744785900.0 `1744786284.009124 1744785900.0 `1744786294.010142 1744785900.0 `1744786304.010137 1744785900.0 `1744786314.010135 1744785900.0 `1744786325.010151 1744785900.0 `1744786335.010137 1744785900.0 `1744786345.010132 1744785900.0 `1744786364.009127 1744785900.0 `1744786374.010145 1744785900.0 `1744786384.010148 1744785900.0 `1744786395.010136 1744785900.0 `1744786405.010138 1744785900.0 `1744786415.010137 1744785900.0 `1744786425.010139 1744785900.0 `1744786434.009131 1744785900.0 `1744786444.010141 1744785900.0 `1744786454.010137 1744785900.0 `1744786465.010137 1744785900.0 `1744786475.010134 1744785900.0 `1744786504.009125 1744785900.0 `1744786514.010134 1744785900.0 `1744786524.010134 1744785900.0 `1744786534.010134 1744785900.0 `1744786545.010136 1744785900.0 `1744786555.010135 1744785900.0 `1744786565.010149 1744785900.0 `1744786575.010136 1744785900.0 `1744786584.009124 1744785900.0 `1744786635.010135 1744785900.0 `1744786654.009135 1744785900.0 `1744786664.010137 1744785900.0 `1744786674.010138 1744785900.0 `1744786685.010145 1744785900.0 `1744786695.010134 1744785900.0 `1744786705.010134 1744785900.0 `1744786715.010142 1744785900.0 `1744786724.009134 1744785900.0 `1744786734.010134 1744785900.0 `1744786763.009126 1744785900.0 `1744786773.010134 1744785900.0 `1744786784.010134 1744785900.0 `1744786794.010135 1744785900.0 `1744786804.010145 1744786800.0 `1744786814.010137 1744786800.0 `1744786824.010135 1744786800.0 `1744786833.009125 1744786800.0 `1744786903.009132 1744786800.0 `1744787454.010135 1744786800.0 `1744788113.009128 1744787700.0 `1744788794.010139 1744788600.0 `1744788804.010144 1744788600.0 `1744788814.010145 1744788600.0 `1744788824.01014 1744788600.0 `1744788853.010139 1744788600.0 `1744788864.010133 1744788600.0 `1744788874.010138 1744788600.0 `1744788884.010139 1744788600.0 `1744788894.010137 1744788600.0 `1744788904.010148 1744788600.0 `1744788913.009126 1744788600.0 `1744788923.010143 1744788600.0 `1744788934.010141 1744788600.0 `1744788944.010137 1744788600.0 `1744788964.010158 1744788600.0 `1744788974.010141 1744788600.0 `1744788983.009126 1744788600.0 `1744788993.010139 1744788600.0 `1744789004.01014 1744788600.0 `1744789034.010136 1744788600.0 `1744789044.010135 1744788600.0 `1744789053.009124 1744788600.0 `1744789063.010136 1744788600.0 `1744789074.010139 1744788600.0 `1744789084.010136 1744788600.0 `1744789094.010134 1744788600.0 `1744789104.010135 1744788600.0 `1744789114.010134 1744788600.0 `1744789124.010137 1744788600.0 `1744789133.009125 1744788600.0 `1744789143.010135 1744788600.0 `1744789154.010135 1744788600.0 `1744789164.01014 1744788600.0 `1744789203.009141 1744788600.0 `1744789213.010136 1744788600.0 `1744789224.010133 1744788600.0 `1744789234.01014 1744788600.0 `1744789244.010143 1744788600.0 `1744789254.01014 1744788600.0 `1744789264.010149 1744788600.0 `1744789273.009124 1744788600.0 `1744789283.010138 1744788600.0 `1744789294.010135 1744788600.0 `1744789304.010137 1744788600.0 `1744789314.010138 1744788600.0 `1744789324.010141 1744788600.0 `1744789343.009122 1744788600.0 `1744789353.010133 1744788600.0 `1744789363.010145 1744788600.0 `1744789374.010141 1744788600.0 `1744789384.010154 1744788600.0 `1744789394.010144 1744788600.0 `1744789404.010135 1744788600.0 `1744789414.010136 1744788600.0 `1744789423.009127 1744788600.0 `1744789433.010138 1744788600.0 `1744789444.010152 1744788600.0 `1744789454.010136 1744788600.0 `1744789464.010134 1744788600.0 `1744789493.009125 1744788600.0 `1744789503.010137 1744789500.0 `1744789514.010136 1744789500.0 `1744789524.010141 1744789500.0 `1744789534.010141 1744789500.0 `1744789544.010144 1744789500.0 `1744789554.010139 1744789500.0 `1744789563.009154 1744789500.0 `1744789573.010142 1744789500.0 `1744789584.010138 1744789500.0 `1744789594.010137 1744789500.0 `1744789604.010138 1744789500.0 `1744789624.010182 1744789500.0 `1744789633.00913 1744789500.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, 325, 326, 327, 328, 329, 330, 331, 332, 333], [334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346]] forced_hashtag: JRM force hashtag to JRM elapsed_time : SPLIT_TIME 0.020515918731689453 ***** END SPLIT TIME ***** NUMBER BATCH : 9 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': '16042025', 'map_nb_amount': {0: 6, 1: 34, 2: