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 : 1260086 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 : 4253>1000 please execute split_portfolio.py -i 21570233 -l 1000 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4876, datou_cur_ids : ['2680296'] with mtr_portfolio_ids : ['21570233'] and first list_photo_ids : [] new path : /proc/1260086/ 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.03777623176574707 About to test input to load Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 1 step1:split_time_score Fri Mar 21 20:04: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'}] (('11', 313), ('12', 53), ('10', 289), ('09', 155), ('08', 316), ('13', 22), ('07', 321), ('14', 281), ('06', 254), ('15', 247), ('05', 275), ('04', 55), ('16', 160), ('03', 290), ('02', 276), ('17', 132), ('01', 123), ('00', 218), ('18', 172), ('19', 291), ('20', 10)) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {1: 1450} 21032025 21570233 Nombre de photos uploadées : 509 / 23040 (2%) 21032025 21570233 Nombre de photos taguées (types de déchets): 1450 / 509 (284%) 21032025 21570233 Nombre de photos taguées (volume) : 1450 / 509 (284%) elapsed_time : load_data_split_time_score 1.9073486328125e-06 elapsed_time : order_list_meta_photo_and_scores 0.00045418739318847656 ?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.05147504806518555 elapsed_time : insert_dashboard_record_day_entry 0.025956153869628906 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 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.01989436149597168 photos_removed : len 0 elapsed_time : load_duplicate_info 0.0280001163482666 ***** BEGIN SPLIT TIME ***** True 1742515200.0 `1742511604.01016 1742511600.0 `1742511614.010159 1742511600.0 `1742511623.009137 1742511600.0 `1742511633.010143 1742511600.0 `1742511643.010138 1742511600.0 `1742511653.010143 1742511600.0 `1742511663.010147 1742511600.0 `1742511684.010138 1742511600.0 `1742511694.010137 1742511600.0 `1742511713.010134 1742511600.0 `1742511733.010139 1742511600.0 `1742511744.010145 1742511600.0 `1742511744.010145 1742511600.0 `1742511754.010137 1742511600.0 `1742511754.010137 1742511600.0 `1742511764.010135 1742511600.0 `1742511764.010135 1742511600.0 `1742511773.009125 1742511600.0 `1742511783.010147 1742511600.0 `1742511793.010139 1742511600.0 `1742511803.010141 1742511600.0 `1742511834.010137 1742511600.0 `1742511843.00913 1742511600.0 `1742511873.010136 1742511600.0 `1742511894.010056 1742511600.0 `1742511913.009128 1742511600.0 `1742511923.010135 1742511600.0 `1742511943.010135 1742511600.0 `1742511953.010134 1742511600.0 `1742511964.010135 1742511600.0 `1742511974.010136 1742511600.0 `1742511983.009125 1742511600.0 `1742511993.010137 1742511600.0 `1742512003.010136 1742511600.0 `1742512013.010135 1742511600.0 `1742512023.010143 1742511600.0 `1742512034.010139 1742511600.0 `1742512073.010136 1742511600.0 `1742512083.010147 1742511600.0 `1742512093.010143 1742511600.0 `1742512104.010135 1742511600.0 `1742512114.010135 1742511600.0 `1742512124.010135 1742511600.0 `1742512133.009124 1742511600.0 `1742576564.010135 1742576400.0 `1742576583.010142 1742576400.0 `1742576643.009123 1742576400.0 `1742576653.010136 1742576400.0 `1742576673.010136 1742576400.0 `1742576683.010134 1742576400.0 `1742576704.010149 1742576400.0 `1742576713.009129 1742576400.0 `1742576733.010134 1742576400.0 `1742576743.010136 1742576400.0 `1742576743.010136 1742576400.0 `1742576784.010137 1742576400.0 `1742576784.010137 1742576400.0 `1742576803.010135 1742576400.0 `1742576803.010135 1742576400.0 `1742576813.010134 1742576400.0 `1742576823.010142 1742576400.0 `1742576833.010135 1742576400.0 `1742577153.009126 1742576400.0 `1742577163.010137 1742576400.0 `1742577173.010135 1742576400.0 `1742577193.010137 1742576400.0 `1742577204.010134 1742576400.0 `1742577214.010134 1742576400.0 `1742577223.009126 1742576400.0 `1742577243.010151 1742576400.0 `1742577253.010141 1742576400.0 `1742577263.010135 1742576400.0 `1742577284.010134 1742576400.0 `1742577293.009124 1742576400.0 `1742577343.010133 1742577300.0 `1742577354.010133 1742577300.0 `1742577373.010139 1742577300.0 `1742577383.010135 1742577300.0 `1742577393.010137 1742577300.0 `1742577403.010136 1742577300.0 `1742577413.010139 1742577300.0 `1742577424.010161 1742577300.0 `1742577434.010138 1742577300.0 `1742577443.009127 1742577300.0 `1742577494.01014 1742577300.0 `1742577603.01015 1742577300.0 `1742577613.01014 1742577300.0 `1742577623.010135 1742577300.0 `1742577633.010135 1742577300.0 `1742577653.009125 1742577300.0 `1742577663.010162 1742577300.0 `1742577673.010144 1742577300.0 `1742577714.010135 1742577300.0 `1742577724.010133 1742577300.0 `1742577743.010134 1742577300.0 `1742577763.010134 1742577300.0 `1742577773.010133 1742577300.0 `1742577794.010136 1742577300.0 `1742577813.010135 1742577300.0 `1742577823.010134 1742577300.0 `1742577833.010135 1742577300.0 `1742577833.010135 1742577300.0 `1742577843.010143 1742577300.0 `1742577843.010143 1742577300.0 `1742577853.01014 1742577300.0 `1742577853.01014 1742577300.0 `1742577873.009128 1742577300.0 `1742577873.009128 1742577300.0 `1742577893.010136 1742577300.0 `1742577903.010137 1742577300.0 `1742577913.010138 1742577300.0 `1742577923.010135 1742577300.0 `1742577953.009125 1742577300.0 `1742577973.010154 1742577300.0 `1742577983.010133 1742577300.0 `1742577983.010133 1742577300.0 `1742578023.009149 1742577300.0 `1742578023.009149 1742577300.0 `1742578033.010136 1742577300.0 `1742578033.010136 1742577300.0 `1742578043.010133 1742577300.0 `1742578043.010133 1742577300.0 `1742578063.010133 1742577300.0 `1742578063.010133 1742577300.0 `1742578084.01014 1742577300.0 `1742578084.01014 1742577300.0 `1742578103.010136 1742577300.0 `1742578103.010136 1742577300.0 `1742578113.010137 1742577300.0 `1742578113.010137 1742577300.0 `1742578123.010142 1742577300.0 `1742578123.010142 1742577300.0 `1742578133.010134 1742577300.0 `1742578154.010134 1742577300.0 `1742578164.010133 1742577300.0 `1742578173.009122 1742577300.0 `1742578203.010167 1742578200.0 `1742578243.009126 1742578200.0 `1742578253.010135 1742578200.0 `1742578253.010135 1742578200.0 `1742578263.010147 1742578200.0 `1742578263.010147 1742578200.0 `1742578273.010137 1742578200.0 `1742578273.010137 1742578200.0 `1742578283.010133 1742578200.0 `1742578283.010133 1742578200.0 `1742578304.010135 1742578200.0 `1742578343.010136 1742578200.0 `1742578353.010134 1742578200.0 `1742578393.010134 1742578200.0 `1742578413.010134 1742578200.0 `1742578423.010134 1742578200.0 `1742578433.010132 1742578200.0 `1742578444.010155 1742578200.0 `1742578473.010136 1742578200.0 `1742578483.010135 1742578200.0 `1742578503.010144 1742578200.0 `1742578514.010133 1742578200.0 `1742578524.010137 1742578200.0 `1742578533.009127 1742578200.0 `1742578543.010138 1742578200.0 `1742578553.010136 1742578200.0 `1742578573.010139 1742578200.0 `1742578594.010138 1742578200.0 `1742578613.010137 1742578200.0 `1742578633.010151 1742578200.0 `1742578643.010137 1742578200.0 `1742578654.010135 1742578200.0 `1742578673.009125 1742578200.0 `1742578683.01015 1742578200.0 `1742578693.010141 1742578200.0 `1742578703.010135 1742578200.0 `1742578734.010134 1742578200.0 `1742578743.009132 1742578200.0 `1742578753.010141 1742578200.0 `1742578763.010144 1742578200.0 `1742578783.010134 1742578200.0 `1742578793.010136 1742578200.0 `1742578793.010136 1742578200.0 `1742578804.010156 1742578200.0 `1742578804.010156 1742578200.0 `1742578814.010135 1742578200.0 `1742578814.010135 1742578200.0 `1742578833.010134 1742578200.0 `1742578833.010134 1742578200.0 `1742578843.010134 1742578200.0 `1742578843.010134 1742578200.0 `1742578853.010135 1742578200.0 `1742578863.010144 1742578200.0 `1742578884.010138 1742578200.0 `1742578903.010135 1742578200.0 `1742578923.010156 1742578200.0 `1742578933.010139 1742578200.0 `1742578973.010136 1742578200.0 `1742578993.010138 1742578200.0 `1742579013.010134 1742578200.0 `1742579024.010134 1742578200.0 `1742579043.010135 1742578200.0 `1742579053.010138 1742578200.0 `1742579524.01015 1742579100.0 `1742579913.010135 1742579100.0 `1742579933.010135 1742579100.0 `1742579954.01035 1742579100.0 `1742579964.010147 1742579100.0 `1742579974.010136 1742579100.0 `1742579984.010135 1742579100.0 `1742579994.010138 1742579100.0 `1742579994.010138 1742579100.0 `1742580003.009151 1742580000.0 `1742580003.009151 1742580000.0 `1742580014.010141 1742580000.0 `1742580014.010141 1742580000.0 `1742580034.010136 1742580000.0 `1742580034.010136 1742580000.0 `1742580044.010135 1742580000.0 `1742580044.010135 1742580000.0 `1742580083.010138 1742580000.0 `1742580083.010138 1742580000.0 `1742580094.010141 1742580000.0 `1742580094.010141 1742580000.0 `1742580104.010135 1742580000.0 `1742580104.010135 1742580000.0 `1742580114.010135 1742580000.0 `1742580134.010139 1742580000.0 `1742580153.009129 1742580000.0 `1742580164.010145 1742580000.0 `1742580184.010156 1742580000.0 `1742580194.010134 1742580000.0 `1742580204.010135 1742580000.0 `1742580223.009126 1742580000.0 `1742580234.010136 1742580000.0 `1742580244.010152 1742580000.0 `1742580264.010135 1742580000.0 `1742580284.010143 1742580000.0 `1742580293.009124 1742580000.0 `1742580304.010139 1742580000.0 `1742580314.010138 1742580000.0 `1742580354.010133 1742580000.0 `1742580373.010138 1742580000.0 `1742580384.010136 1742580000.0 `1742580404.010138 1742580000.0 `1742580414.010135 1742580000.0 `1742580424.010141 1742580000.0 `1742580443.009127 1742580000.0 `1742580464.010135 1742580000.0 `1742580474.010137 1742580000.0 `1742580484.010138 1742580000.0 `1742580494.010139 1742580000.0 `1742580504.010134 1742580000.0 `1742580513.009126 1742580000.0 `1742580554.010134 1742580000.0 `1742580583.009124 1742580000.0 `1742580593.010135 1742580000.0 `1742580614.010136 1742580000.0 `1742580634.010135 1742580000.0 `1742580644.010136 1742580000.0 `1742580654.010135 1742580000.0 `1742580674.010135 1742580000.0 `1742580694.010134 1742580000.0 `1742580724.010162 1742580000.0 `1742580744.010136 1742580000.0 `1742580754.010136 1742580000.0 `1742580774.010133 1742580000.0 `1742580784.010142 1742580000.0 `1742580794.010135 1742580000.0 `1742580803.009125 1742580000.0 `1742580834.010134 1742580000.0 `1742580844.01015 1742580000.0 `1742580854.010138 1742580000.0 `1742580864.010134 1742580000.0 `1742580874.010135 1742580000.0 `1742580894.010136 1742580000.0 `1742580904.010139 1742580900.0 `1742580914.010139 1742580900.0 `1742580934.010135 1742580900.0 `1742580953.009125 1742580900.0 `1742580964.010144 1742580900.0 `1742580974.010139 1742580900.0 `1742580984.010136 1742580900.0 `1742580994.010136 1742580900.0 `1742581014.010138 1742580900.0 `1742581033.010135 1742580900.0 `1742581054.010136 1742580900.0 `1742581064.010133 1742580900.0 `1742581074.010135 1742580900.0 `1742581114.010134 1742580900.0 `1742581134.010133 1742580900.0 `1742581134.010133 1742580900.0 `1742581144.010153 1742580900.0 `1742581144.010153 1742580900.0 `1742581154.010138 1742580900.0 `1742581154.010138 1742580900.0 `1742581164.010138 1742580900.0 `1742581164.010138 1742580900.0 `1742581173.009126 1742580900.0 `1742581173.009126 1742580900.0 `1742581184.010136 1742580900.0 `1742581194.010134 1742580900.0 `1742581194.010134 1742580900.0 `1742581204.010138 1742580900.0 `1742581214.010135 1742580900.0 `1742581224.010134 1742580900.0 `1742581234.010136 1742580900.0 `1742581243.009124 1742580900.0 `1742581253.010134 1742580900.0 `1742581264.010144 1742580900.0 `1742581284.010135 1742580900.0 `1742581294.010136 1742580900.0 `1742581304.010137 1742580900.0 `1742581323.009163 1742580900.0 `1742581334.010137 1742580900.0 `1742581374.010195 1742580900.0 `1742581374.010195 1742580900.0 `1742581394.010134 1742580900.0 `1742581394.010134 1742580900.0 `1742581404.010134 1742580900.0 `1742581404.010134 1742580900.0 `1742581414.010137 1742580900.0 `1742581414.010137 1742580900.0 `1742581424.010144 1742580900.0 `1742581424.010144 1742580900.0 `1742581434.010143 1742580900.0 `1742581444.010139 1742580900.0 `1742581453.009129 1742580900.0 `1742581464.010704 1742580900.0 `1742581474.010067 1742580900.0 `1742581484.010134 1742580900.0 `1742581493.009125 1742580900.0 `1742581504.01014 1742580900.0 `1742581514.010139 1742580900.0 `1742581524.010136 1742580900.0 `1742581534.010136 1742580900.0 `1742581573.010137 1742580900.0 `1742581584.010133 1742580900.0 `1742581594.010135 1742580900.0 `1742581604.010136 1742580900.0 `1742581624.010142 1742580900.0 `1742581634.010137 1742580900.0 `1742581643.009124 1742580900.0 `1742581654.010137 1742580900.0 `1742581664.010137 1742580900.0 `1742581674.010136 1742580900.0 `1742581694.010135 1742580900.0 `1742581704.010136 1742580900.0 `1742581724.010137 1742580900.0 `1742581744.010141 1742580900.0 `1742581754.010139 1742580900.0 `1742581784.010137 1742580900.0 `1742581793.009124 1742580900.0 `1742581804.010151 1742581800.0 `1742581814.010137 1742581800.0 `1742581824.010137 1742581800.0 `1742581844.010136 1742581800.0 `1742581863.009135 1742581800.0 `1742581874.010137 1742581800.0 `1742581884.010135 1742581800.0 `1742581894.010141 1742581800.0 `1742581904.010137 1742581800.0 `1742581914.010137 1742581800.0 `1742581924.010141 1742581800.0 `1742581944.010133 1742581800.0 `1742581954.010134 1742581800.0 `1742581964.010132 1742581800.0 `1742581974.010134 1742581800.0 `1742581984.010155 1742581800.0 `1742581994.010136 1742581800.0 `1742582003.009125 1742581800.0 `1742582024.010138 1742581800.0 `1742582034.010134 1742581800.0 `1742582044.01014 1742581800.0 `1742582054.010136 1742581800.0 `1742582064.010137 1742581800.0 `1742582074.010136 1742581800.0 `1742582083.009125 1742581800.0 `1742582094.010138 1742581800.0 `1742582104.010152 1742581800.0 `1742582114.010141 1742581800.0 `1742582124.010137 1742581800.0 `1742582124.010137 1742581800.0 `1742582164.010153 1742581800.0 `1742582164.010153 1742581800.0 `1742582174.010147 1742581800.0 `1742582174.010147 1742581800.0 `1742582184.01014 1742581800.0 `1742582184.01014 1742581800.0 `1742582194.010139 1742581800.0 `1742582194.010139 1742581800.0 `1742582204.010147 1742581800.0 `1742582204.010147 1742581800.0 `1742582214.010137 1742581800.0 `1742582223.009132 1742581800.0 `1742582244.01014 1742581800.0 `1742582264.010147 1742581800.0 `1742582274.010136 1742581800.0 `1742582274.010136 1742581800.0 `1742582284.010159 1742581800.0 `1742582284.010159 1742581800.0 `1742582293.00913 1742581800.0 `1742582293.00913 1742581800.0 `1742582304.010135 1742581800.0 `1742582304.010135 1742581800.0 `1742582304.010135 1742581800.0 `1742582314.010147 1742581800.0 `1742582314.010147 1742581800.0 `1742582314.010147 1742581800.0 `1742582324.010141 1742581800.0 `1742582324.010141 1742581800.0 `1742582324.010141 1742581800.0 `1742582334.01014 1742581800.0 `1742582334.01014 1742581800.0 `1742582344.010158 1742581800.0 `1742582344.010158 1742581800.0 `1742582373.010137 1742581800.0 `1742582373.010137 1742581800.0 `1742582384.010134 1742581800.0 `1742582404.010136 1742581800.0 `1742582414.010134 1742581800.0 `1742582424.010136 1742581800.0 `1742582434.010139 1742581800.0 `1742582443.009126 1742581800.0 `1742582454.010135 1742581800.0 `1742582464.010141 1742581800.0 `1742582474.010135 1742581800.0 `1742582484.010135 1742581800.0 `1742582504.010136 1742581800.0 `1742582513.009125 1742581800.0 `1742582524.010157 1742581800.0 `1742582534.01014 1742581800.0 `1742582554.010135 1742581800.0 `1742582564.010136 1742581800.0 `1742582574.010137 1742581800.0 `1742582614.010136 1742581800.0 `1742582624.010136 1742581800.0 `1742582634.010139 1742581800.0 `1742582653.009125 1742581800.0 `1742582674.010147 1742581800.0 `1742582694.010135 1742581800.0 `1742582704.010152 1742582700.0 `1742582714.010138 1742582700.0 `1742582724.010145 1742582700.0 `1742582733.00913 1742582700.0 `1742582744.010141 1742582700.0 `1742582754.010141 1742582700.0 `1742582764.01017 1742582700.0 `1742582784.010138 1742582700.0 `1742582794.010136 1742582700.0 `1742582834.010133 1742582700.0 `1742582844.010134 1742582700.0 `1742582854.010138 1742582700.0 `1742582864.010137 1742582700.0 `1742582873.009125 1742582700.0 `1742582884.010152 1742582700.0 `1742582894.010143 1742582700.0 `1742582904.010135 1742582700.0 `1742582924.010136 1742582700.0 `1742582934.010135 1742582700.0 `1742582943.009141 1742582700.0 `1742582954.010144 1742582700.0 `1742582964.010136 1742582700.0 `1742582974.010135 1742582700.0 `1742582984.010136 1742582700.0 `1742582994.010136 1742582700.0 `1742583004.010155 1742582700.0 `1742583044.010134 1742582700.0 `1742583054.010136 1742582700.0 `1742583074.010134 1742582700.0 `1742583093.009124 1742582700.0 `1742583104.010134 1742582700.0 `1742583114.010134 1742582700.0 `1742583124.010142 1742582700.0 `1742583134.010138 1742582700.0 `1742583144.010136 1742582700.0 `1742583154.010134 1742582700.0 `1742583163.009125 1742582700.0 `1742583173.010136 1742582700.0 `1742583184.010144 1742582700.0 `1742583194.010136 1742582700.0 `1742583204.010139 1742582700.0 `1742583214.010136 1742582700.0 `1742583234.010135 1742582700.0 `1742583243.009129 1742582700.0 `1742583254.010136 1742582700.0 `1742583304.01016 1742582700.0 `1742583324.010141 1742582700.0 `1742583344.010138 1742582700.0 `1742583354.010143 1742582700.0 `1742583383.009127 1742582700.0 `1742583394.01014 1742582700.0 `1742583414.010135 1742582700.0 `1742583424.010144 1742582700.0 `1742583434.010135 1742582700.0 `1742583444.010194 1742582700.0 `1742583453.009125 1742582700.0 `1742583464.010467 1742582700.0 `1742583474.010135 1742582700.0 `1742583484.010154 1742582700.0 `1742583494.010141 1742582700.0 `1742583524.010136 1742582700.0 `1742583534.010136 1742582700.0 `1742583613.010193 1742583600.0 `1742583623.010138 1742583600.0 `1742583634.01014 1742583600.0 `1742583644.01014 1742583600.0 `1742583654.010136 1742583600.0 `1742583664.010146 1742583600.0 `1742583673.009125 1742583600.0 `1742583683.010136 1742583600.0 `1742583693.010136 1742583600.0 `1742583704.010135 1742583600.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, 347, 348], [349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436], [437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498], [499, 500, 501, 502, 503, 504, 505, 506, 507, 508]] forced_hashtag: JRM force hashtag to JRM elapsed_time : SPLIT_TIME 0.020998477935791016 ***** END SPLIT TIME ***** NUMBER BATCH : 10 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 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': '21032025', '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': 528.9989640712738, 'nb_balles_papier': 0, 'begin_time_port': 'image_21032025_00_00_04_10160.jpg'} Production hashtag (incorrect ponderation at 20-10-18) : 0 We reject this portfolio because of the condition_save_data : 2025-03-21 00:00:04.010160 ERROR missing amount info result_one_balle_Type_JRM:{'day': '21032025', 'map_nb_amount': {0: 4, 1: 24, 2: 1, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 728.9989891052246, 'nb_balles_papier': 0.0002900000000000001, 'begin_time_port': 'image_21032025_18_02_44_010135m0.jpg 5e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 0.0002900000000000001 We reject this portfolio because of the condition_save_data : 2025-03-21 18:02:44.010135 ERROR missing amount info result_one_balle_Type_JRM:{'day': '21032025', 'map_nb_amount': {0: 8, 1: 47, 2: 6, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 829.998988866806, 'nb_balles_papier': 0.000610000000000001, 'begin_time_port': 'image_21032025_18_15_43_010133m0.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.000610000000000001 We reject this portfolio because of the condition_save_data : 2025-03-21 18:15:43.010133 result_one_balle_Type_JRM:{'day': '21032025', 'map_nb_amount': {0: 7, 1: 39, 2: 17, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 849.9999711513519, 'nb_balles_papier': 0.000630000000000001, 'begin_time_port': 'image_21032025_18_30_03_010167m0.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.000630000000000001 We reject this portfolio because of the condition_save_data : 2025-03-21 18:30:03.010167 ERROR missing amount info result_one_balle_Type_JRM:{'day': '21032025', 'map_nb_amount': {0: 1, 1: 6, 2: 1, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 469.99998807907104, 'nb_balles_papier': 8e-05, 'begin_time_port': 'image_21032025_18_52_04_10150.jpg'} Production hashtag (incorrect ponderation at 20-10-18) : 8e-05 We reject this portfolio because of the condition_save_data : 2025-03-21 18:52:04.010150 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info result_one_balle_Type_JRM:{'day': '21032025', 'map_nb_amount': {0: 9, 1: 40, 2: 11, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 891.0009849071503, 'nb_balles_papier': 0.0006000000000000009, 'begin_time_port': 'image_21032025_19_00_03_009151m0.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.0006000000000000009 We reject this portfolio because of the condition_save_data : 2025-03-21 19:00:03.009151 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': '21032025', 'map_nb_amount': {0: 9, 1: 47, 2: 2, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 888.9989850521088, 'nb_balles_papier': 0.0005800000000000009, 'begin_time_port': 'image_21032025_19_15_04_010139m0.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.0005800000000000009 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': '21032025', 'map_nb_amount': {0: 6, 1: 45, 2: 5, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 889.9999840259552, 'nb_balles_papier': 0.0005600000000000008, 'begin_time_port': 'image_21032025_19_30_04_010151m0.jpg 1e-05 for time 1, id_amount 1 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 0.0005600000000000008 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 ERROR missing amount info ERROR missing amount info result_one_balle_Type_JRM:{'day': '21032025', 'map_nb_amount': {0: 2, 1: 21, 2: 5, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 829.9999837875366, 'nb_balles_papier': 0.0002800000000000001, 'begin_time_port': 'image_21032025_19_45_04_010152m0.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.0002800000000000001 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': '21032025', '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': 90.9999418258667, 'nb_balles_papier': 0, 'begin_time_port': 'image_21032025_20_00_13_10193.jpg'} Production hashtag (incorrect ponderation at 20-10-18) : 0 We have rejected 0 photos because of the batch_size condition ! NUMBER BATCH list_of_portfolios_to_create : 4 Still a lot to verify ! Still a lot to verify ! We need to add photos : {1346164891} Still a lot to verify ! Still a lot to verify ! list_same_port_ids : [] https://marlene.fotonower.com/api/v1/secured/portfolio/new?name=JRM_diff_batch__21032025_20_00_13_010193&access_token=3e00c8f3e5af383c48e3c68940ba6fe7 Qualite : 0.09581432467744277 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`=21590152 AND mptpi.`type`=3726 To do Qualite : 0.06672801862361574 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`=21591264 AND mptpi.`type`=3726 To do Qualite : 0.0774218282028546 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`=21592131 AND mptpi.`type`=3726 To do There was a bug due to new port without datou_current_id # 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`=21592971 AND mptpi.`type`=3726 To do elapsed_time : count_nb_balles_and_create_portfolio 4.847058057785034 # DISPLAY ALL COLLECTED DATA : {'21032025': {'nb_upload': 509, 'nb_taggue_class': 1450, 'nb_taggue_densite': 1450}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1346166052, 1346165982, 1346165906, 1346165842, 1346165771, 1346165727, 1346164891, 1346164821, 1346164743, 1346164669, 1346164645, 1346164041, 1346164025, 1346163976, 1346163933, 1346163493, 1346163492, 1346163491, 1346163490, 1346163488, 1346163485, 1346163439, 1346163435, 1346163429, 1346163203, 1346163179, 1346163142, 1346163074, 1346162786, 1346162784, 1346162727, 1346162726, 1346162725, 1346162724, 1346162721, 1346162691, 1346162684, 1346162669, 1346162665, 1346162660, 1346162657, 1346162427, 1346162362, 1346162325, 1346162315, 1346161999, 1346161985, 1346161933, 1346161555, 1346161535, 1346161478, 1346161445, 1346161408, 1346161385, 1346161262, 1346161229, 1346161171, 1346161111, 1346161071, 1346160972, 1346160895, 1346160851, 1346160737, 1346160703, 1346160303, 1346160274, 1346160250, 1346160096, 1346160064, 1346159951, 1346159915, 1346159886, 1346159873, 1346159581, 1346159543, 1346159534, 1346159307, 1346159296, 1346159291, 1346159194, 1346159148, 1346159112, 1346159091, 1346159054, 1346158631, 1346158626, 1346158623, 1346158619, 1346158613, 1346158537, 1346158516, 1346158478, 1346158313, 1346158273, 1346158254, 1346158236, 1346158214, 1346158181, 1346158104, 1346158082] Looping around the photos to save general results len do output : 1 /21570233Didn'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, '2680296') ('4876', '21570233', '1346166052', None, None, None, None, None, '2680296') ('4876', None, None, None, None, None, None, None, '2680296') ('4876', '21570233', '1346165982', None, None, None, None, None, '2680296') ('4876', None, None, None, None, None, None, None, '2680296') ('4876', '21570233', '1346165906', None, None, None, None, None, '2680296') ('4876', None, None, None, None, None, None, None, '2680296') ('4876', '21570233', '1346165842', None, None, None, None, None, '2680296') ('4876', None, None, None, None, None, None, None, '2680296') ('4876', '21570233', '1346165771', None, None, None, None, None, '2680296') ('4876', None, None, None, None, None, None, None, '2680296') ('4876', '21570233', '1346165727', None, None, None, None, None, '2680296') ('4876', None, None, None, None, None, None, None, '2680296') ('4876', '21570233', '1346164891', None, None, None, None, None, '2680296') ('4876', None, None, None, None, None, None, None, '2680296') ('4876', '21570233', '1346164821', None, None, None, None, None, '2680296') ('4876', None, None, None, None, None, None, None, '2680296') ('4876', '21570233', '1346164743', None, None, None, None, None, '2680296') ('4876', None, None, None, None, None, None, None, '2680296') ('4876', '21570233', '1346164669', None, None, None, None, None, '2680296') ('4876', None, None, None, None, None, None, None, '2680296') ('4876', '21570233', '1346164645', None, None, None, None, None, '2680296') ('4876', None, None, None, None, None, None, None, '2680296') ('4876', '21570233', '1346164041', None, None, None, None, None, '2680296') ('4876', None, None, None, None, None, None, None, '2680296') ('4876', '21570233', '1346164025', None, None, None, None, None, '2680296') ('4876', None, None, None, None, None, None, None, '2680296') ('4876', '21570233', '1346163976', None, None, None, None, None, '2680296') ('4876', None, None, None, None, None, None, None, '2680296') ('4876', '21570233', '1346163933', None, None, None, None, None, '2680296') ('4876', None, None, None, None, None, None, None, '2680296') ('4876', '21570233', '1346163493', None, None, None, None, None, '2680296') ('4876', None, None, None, None, None, None, None, '2680296') ('4876', '21570233', '1346163492', None, None, None, None, None, '2680296') ('4876', None, None, None, None, None, None, None, '2680296') ('4876', '21570233', '1346163491', None, None, None, None, None, '2680296') ('4876', None, None, None, None, None, None, None, '2680296') ('4876', '21570233', '1346163490', None, None, None, None, None, '2680296') ('4876', None, None, None, None, None, None, None, '2680296') ('4876', '21570233', '1346163488', None, None, None, None, None, '2680296') ('4876', None, None, None, None, None, None, None, '2680296') ('4876', '21570233', '1346163485', None, None, None, None, None, '2680296') ('4876', None, None, None, None, None, None, None, '2680296') ('4876', '21570233', '1346163439', None, None, None, None, None, '2680296') ('4876', None, None, None, None, None, None, None, '2680296') ('4876', '21570233', '1346163435', None, None, None, None, None, '2680296') ('4876', None, None, None, None, None, None, None, '2680296') ('4876', '21570233', '1346163429', None, None, None, None, None, '2680296') ('4876', None, None, None, None, None, None, None, '2680296') ('4876', '21570233', '1346163203', None, None, None, None, None, '2680296') ('4876', None, None, None, None, None, None, None, '2680296') ('4876', '21570233', '1346163179', None, None, None, None, None, '2680296') ('4876', None, None, None, None, None, None, None, '2680296') ('4876', '21570233', '1346163142', None, None, None, None, None, '2680296') ('4876', None, None, None, None, None, None, None, '2680296') ('4876', '21570233', '1346163074', None, None, None, None, None, '2680296') ('4876', None, None, None, None, None, None, None, '2680296') ('4876', '21570233', '1346162786', None, None, None, None, None, '2680296') ('4876', None, None, None, None, None, None, None, '2680296') ('4876', '21570233', '1346162784', None, None, None, None, None, '2680296') ('4876', None, None, None, None, None, None, None, '2680296') ('4876', '21570233', '1346162727', None, None, None, None, None, '2680296') ('4876', None, None, None, None, None, None, None, '2680296') ('4876', '21570233', '1346162726', None, None, None, None, None, '2680296') ('4876', None, None, None, None, None, None, None, '2680296') ('4876', '21570233', '1346162725', None, None, None, None, None, '2680296') ('4876', None, None, None, None, None, None, None, '2680296') ('4876', '21570233', '1346162724', None, None, None, None, None, '2680296') ('4876', None, None, None, None, None, None, None, '2680296') ('4876', '21570233', '1346162721', None, None, None, None, None, '2680296') ('4876', None, None, None, None, None, None, None, '2680296') ('4876', '21570233', '1346162691', None, None, None, None, None, '2680296') ('4876', None, None, None, None, None, None, None, '2680296') ('4876', '21570233', '1346162684', None, None, None, None, None, '2680296') ('4876', None, None, None, None, None, None, None, '2680296') ('4876', '21570233', '1346162669', None, None, None, None, None, '2680296') ('4876', None, None, None, None, None, None, None, '2680296') ('4876', '21570233', '1346162665', None, None, None, None, None, '2680296') ('4876', None, None, None, None, None, None, None, '2680296') ('4876', '21570233', '1346162660', None, None, None, None, None, '2680296') ('4876', None, None, None, None, None, None, None, '2680296') ('4876', '21570233', '1346162657', None, None, None, None, None, '2680296') ('4876', None, None, None, None, None, None, None, '2680296') ('4876', '21570233', '1346162427', None, None, None, None, None, '2680296') ('4876', None, None, None, None, None, None, None, '2680296') ('4876', '21570233', '1346162362', None, None, None, None, None, '2680296') ('4876', None, None, None, None, None, None, None, '2680296') ('4876', '21570233', '1346162325', None, None, None, None, None, '2680296') ('4876', None, None, None, None, None, None, None, '2680296') ('4876', '21570233', '1346162315', None, None, None, None, None, '2680296') ('4876', None, None, None, None, None, None, None, '2680296') ('4876', '21570233', '1346161999', None, None, None, None, None, '2680296') ('4876', None, None, None, None, None, None, None, '2680296') ('4876', '21570233', '1346161985', None, None, None, None, None, '2680296') ('4876', None, None, None, None, None, None, None, '2680296') ('4876', '21570233', '1346161933', None, None, None, None, None, '2680296') ('4876', None, None, None, None, None, None, None, '2680296') ('4876', '21570233', '1346161555', None, None, None, None, None, '2680296') ('4876', None, None, None, None, None, None, None, '2680296') ('4876', '21570233', '1346161535', None, None, None, None, None, '2680296') ('4876', None, None, None, None, None, None, None, '2680296') ('4876', '21570233', '1346161478', None, None, None, None, None, '2680296') ('4876', None, None, None, None, None, None, None, '2680296') ('4876', '21570233', '1346161445', None, None, None, None, None, '2680296') ('4876', None, None, None, None, None, None, None, '2680296') ('4876', '21570233', '1346161408', None, None, None, None, None, '2680296') ('4876', None, None, None, None, None, None, None, '2680296') ('4876', '21570233', '1346161385', None, None, None, None, None, '2680296') ('4876', None, None, None, None, None, None, None, '2680296') ('4876', '21570233', '1346161262', None, None, None, None, None, '2680296') ('4876', None, None, None, None, None, None, None, '2680296') ('4876', '21570233', '1346161229', None, None, None, None, None, '2680296') ('4876', None, None, None, None, None, None, None, '2680296') ('4876', '21570233', '1346161171', None, None, None, None, None, '2680296') ('4876', None, None, None, None, None, None, None, '2680296') ('4876', '21570233', '1346161111', None, None, None, None, None, '2680296') ('4876', None, None, None, None, None, None, None, '2680296') ('4876', '21570233', '1346161071', None, None, None, None, None, '2680296') ('4876', None, None, None, None, None, None, None, '2680296') ('4876', '21570233', '1346160972', None, None, None, None, None, '2680296') ('4876', None, None, None, None, None, None, None, '2680296') ('4876', '21570233', '1346160895', None, None, None, None, None, '2680296') ('4876', None, None, None, None, None, None, None, '2680296') ('4876', '21570233', '1346160851', None, None, None, None, None, '2680296') ('4876', None, None, None, None, None, None, None, '2680296') ('4876', '21570233', '1346160737', None, None, None, None, None, '2680296') ('4876', None, None, None, None, None, None, None, '2680296') ('4876', '21570233', '1346160703', None, None, None, None, None, '2680296') ('4876', None, None, None, None, None, None, None, '2680296') ('4876', '21570233', '1346160303', None, None, None, None, None, '2680296') ('4876', None, None, None, None, None, None, None, '2680296') ('4876', '21570233', '1346160274', None, None, None, None, None, '2680296') ('4876', None, None, None, None, None, None, None, '2680296') ('4876', '21570233', '1346160250', None, None, None, None, None, '2680296') ('4876', None, None, None, None, None, None, None, '2680296') ('4876', '21570233', '1346160096', None, None, None, None, None, '2680296') ('4876', None, None, None, None, None, None, None, '2680296') ('4876', '21570233', '1346160064', None, None, None, None, None, '2680296') ('4876', None, None, None, None, None, None, None, '2680296') ('4876', '21570233', '1346159951', None, None, None, None, None, '2680296') ('4876', None, None, None, None, None, None, None, '2680296') ('4876', '21570233', '1346159915', None, None, None, None, None, '2680296') ('4876', None, None, None, None, None, None, None, '2680296') ('4876', '21570233', '1346159886', None, None, None, None, None, '2680296') ('4876', None, None, None, None, None, None, None, '2680296') ('4876', '21570233', '1346159873', None, None, None, None, None, '2680296') ('4876', None, None, None, None, None, None, None, '2680296') ('4876', '21570233', '1346159581', None, None, None, None, None, '2680296') ('4876', None, None, None, None, None, None, None, '2680296') ('4876', '21570233', '1346159543', None, None, None, None, None, '2680296') ('4876', None, None, None, None, None, None, None, '2680296') ('4876', '21570233', '1346159534', None, None, None, None, None, '2680296') ('4876', None, None, None, None, None, None, None, '2680296') ('4876', '21570233', '1346159307', None, None, None, None, None, '2680296') ('4876', None, None, None, None, None, None, None, '2680296') ('4876', '21570233', '1346159296', None, None, None, None, None, '2680296') ('4876', None, None, None, None, None, None, None, '2680296') ('4876', '21570233', '1346159291', None, None, None, None, None, '2680296') ('4876', None, None, None, None, None, None, None, '2680296') ('4876', '21570233', '1346159194', None, None, None, None, None, '2680296') ('4876', None, None, None, None, None, None, None, '2680296') ('4876', '21570233', '1346159148', None, None, None, None, None, '2680296') ('4876', None, None, None, None, None, None, None, '2680296') ('4876', '21570233', '1346159112', None, None, None, None, None, '2680296') ('4876', None, None, None, None, None, None, None, '2680296') ('4876', '21570233', '1346159091', None, None, None, None, None, '2680296') ('4876', None, None, None, None, None, None, None, '2680296') ('4876', '21570233', '1346159054', None, None, None, None, None, '2680296') ('4876', None, None, None, None, None, None, None, '2680296') ('4876', '21570233', '1346158631', None, None, None, None, None, '2680296') ('4876', None, None, None, None, None, None, None, '2680296') ('4876', '21570233', '1346158626', None, None, None, None, None, '2680296') ('4876', None, None, None, None, None, None, None, '2680296') ('4876', '21570233', '1346158623', None, None, None, None, None, '2680296') ('4876', None, None, None, None, None, None, None, '2680296') ('4876', '21570233', '1346158619', None, None, None, None, None, '2680296') ('4876', None, None, None, None, None, None, None, '2680296') ('4876', '21570233', '1346158613', None, None, None, None, None, '2680296') ('4876', None, None, None, None, None, None, None, '2680296') ('4876', '21570233', '1346158537', None, None, None, None, None, '2680296') ('4876', None, None, None, None, None, None, None, '2680296') ('4876', '21570233', '1346158516', None, None, None, None, None, '2680296') ('4876', None, None, None, None, None, None, None, '2680296') ('4876', '21570233', '1346158478', None, None, None, None, None, '2680296') ('4876', None, None, None, None, None, None, None, '2680296') ('4876', '21570233', '1346158313', None, None, None, None, None, '2680296') ('4876', None, None, None, None, None, None, None, '2680296') ('4876', '21570233', '1346158273', None, None, None, None, None, '2680296') ('4876', None, None, None, None, None, None, None, '2680296') ('4876', '21570233', '1346158254', None, None, None, None, None, '2680296') ('4876', None, None, None, None, None, None, None, '2680296') ('4876', '21570233', '1346158236', None, None, None, None, None, '2680296') ('4876', None, None, None, None, None, None, None, '2680296') ('4876', '21570233', '1346158214', None, None, None, None, None, '2680296') ('4876', None, None, None, None, None, None, None, '2680296') ('4876', '21570233', '1346158181', None, None, None, None, None, '2680296') ('4876', None, None, None, None, None, None, None, '2680296') ('4876', '21570233', '1346158104', None, None, None, None, None, '2680296') ('4876', None, None, None, None, None, None, None, '2680296') ('4876', '21570233', '1346158082', None, None, None, None, None, '2680296') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 101 time used for this insertion : 0.10777878761291504 save_final save missing photos in datou_result : time spend for datou_step_exec : 11.515170335769653 time spend to save output : 0.10859179496765137 total time spend for step 1 : 11.623762130737305 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.30user 0.43system 0:15.44elapsed 11%CPU (0avgtext+0avgdata 104764maxresident)k 0inputs+144outputs (0major+49690minor)pagefaults 0swaps