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 : 3793427 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 : ['2611881'] with mtr_portfolio_ids : ['20784437'] and first list_photo_ids : [] new path : /proc/3793427/ 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.050867557525634766 About to test input to load Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 1 step1:split_time_score Tue Feb 25 07:26: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', 21), ('01', 6), ('02', 9), ('03', 14), ('04', 9), ('05', 194), ('06', 306), ('07', 128)) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {1: 531, 2: 2} 25022025 20784437 Nombre de photos uploadées : 604 / 23040 (2%) 25022025 20784437 Nombre de photos taguées (types de déchets): 533 / 604 (88%) 25022025 20784437 Nombre de photos taguées (volume) : 533 / 604 (88%) elapsed_time : load_data_split_time_score 5.245208740234375e-06 elapsed_time : order_list_meta_photo_and_scores 0.0002460479736328125 ???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.08602356910705566 elapsed_time : insert_dashboard_record_day_entry 0.024724483489990234 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 elapsed_time : list_photo_by_hashtags 0.02301955223083496 photos_removed : len 0 elapsed_time : load_duplicate_info 0.04251384735107422 ***** BEGIN SPLIT TIME ***** True 1740441600.0 `1740457494.01014 1740456900.0 `1740457514.010141 1740456900.0 `1740457534.010138 1740456900.0 `1740457544.010134 1740456900.0 `1740457574.009125 1740456900.0 `1740457584.010134 1740456900.0 `1740457594.010136 1740456900.0 `1740457604.010141 1740456900.0 `1740457614.010146 1740456900.0 `1740457624.010155 1740456900.0 `1740457634.010138 1740456900.0 `1740457643.009128 1740456900.0 `1740457654.010137 1740456900.0 `1740457664.010138 1740456900.0 `1740457674.010137 1740456900.0 `1740457684.010158 1740456900.0 `1740457714.010133 1740456900.0 `1740457724.009124 1740456900.0 `1740457734.010136 1740456900.0 `1740457744.010152 1740456900.0 `1740457754.010135 1740456900.0 `1740457764.010136 1740456900.0 `1740457774.010143 1740456900.0 `1740457784.010135 1740456900.0 `1740457794.009124 1740456900.0 `1740457824.010134 1740457800.0 `1740457834.010132 1740457800.0 `1740457844.010137 1740457800.0 `1740457854.01014 1740457800.0 `1740457864.00914 1740457800.0 `1740457874.01014 1740457800.0 `1740457884.01016 1740457800.0 `1740457894.010134 1740457800.0 `1740457904.010136 1740457800.0 `1740457914.010138 1740457800.0 `1740457934.009124 1740457800.0 `1740457944.010135 1740457800.0 `1740457974.010141 1740457800.0 `1740457984.010135 1740457800.0 `1740457994.010135 1740457800.0 `1740458004.010135 1740457800.0 `1740458014.009135 1740457800.0 `1740458024.010135 1740457800.0 `1740458034.010139 1740457800.0 `1740458044.010148 1740457800.0 `1740458054.010135 1740457800.0 `1740458064.010135 1740457800.0 `1740458074.010135 1740457800.0 `1740458104.01015 1740457800.0 `1740458114.010133 1740457800.0 `1740458124.010135 1740457800.0 `1740458134.010136 1740457800.0 `1740458144.010138 1740457800.0 `1740458154.009131 1740457800.0 `1740458164.010144 1740457800.0 `1740458174.010137 1740457800.0 `1740458184.010135 1740457800.0 `1740458194.010134 1740457800.0 `1740458224.009153 1740457800.0 `1740458234.010137 1740457800.0 `1740458244.010141 1740457800.0 `1740458254.01014 1740457800.0 `1740458264.010144 1740457800.0 `1740458274.010142 1740457800.0 `1740458284.010154 1740457800.0 `1740458294.009127 1740457800.0 `1740458304.010136 1740457800.0 `1740458314.010134 1740457800.0 `1740458334.010135 1740457800.0 `1740458344.010151 1740457800.0 `1740458354.010135 1740457800.0 `1740458363.009126 1740457800.0 `1740458374.010136 1740457800.0 `1740458384.010137 1740457800.0 `1740458394.010139 1740457800.0 `1740458404.010157 1740457800.0 `1740458414.010194 1740457800.0 `1740458424.010134 1740457800.0 `1740458444.010137 1740457800.0 `1740458454.010134 1740457800.0 `1740458464.01015 1740457800.0 `1740458474.010137 1740457800.0 `1740458484.010136 1740457800.0 `1740458494.010138 1740457800.0 `1740458504.01014 1740457800.0 `1740458534.010132 1740457800.0 `1740458544.010135 1740457800.0 `1740458554.010134 1740457800.0 `1740458564.010136 1740457800.0 `1740458574.010146 1740457800.0 `1740458584.00913 1740457800.0 `1740458594.010137 1740457800.0 `1740458604.010144 1740457800.0 `1740458634.010135 1740457800.0 `1740458644.010144 1740457800.0 `1740458654.009127 1740457800.0 `1740458664.010134 1740457800.0 `1740458674.010142 1740457800.0 `1740458684.010141 1740457800.0 `1740458694.010139 1740457800.0 `1740458723.009124 1740458700.0 `1740458734.010132 1740458700.0 `1740458744.010136 1740458700.0 `1740458754.010138 1740458700.0 `1740458764.010138 1740458700.0 `1740458774.010134 1740458700.0 `1740458784.010134 1740458700.0 `1740458814.01014 1740458700.0 `1740458824.010145 1740458700.0 `1740458834.010136 1740458700.0 `1740458844.010134 1740458700.0 `1740458854.010133 1740458700.0 `1740458864.010136 1740458700.0 `1740458874.009126 1740458700.0 `1740458894.010134 1740458700.0 `1740458904.010134 1740458700.0 `1740458914.010135 1740458700.0 `1740458924.010137 1740458700.0 `1740458934.010137 1740458700.0 `1740458943.009131 1740458700.0 `1740458954.010133 1740458700.0 `1740458974.010137 1740458700.0 `1740458984.010134 1740458700.0 `1740458994.010136 1740458700.0 `1740459004.010141 1740458700.0 `1740459014.010136 1740458700.0 `1740459024.009125 1740458700.0 `1740459034.010135 1740458700.0 `1740459044.010143 1740458700.0 `1740459064.010156 1740458700.0 `1740459074.010138 1740458700.0 `1740459084.010135 1740458700.0 `1740459094.009124 1740458700.0 `1740459104.010136 1740458700.0 `1740459114.010143 1740458700.0 `1740459124.010144 1740458700.0 `1740459134.010138 1740458700.0 `1740459163.009123 1740458700.0 `1740459174.010135 1740458700.0 `1740459184.010155 1740458700.0 `1740459194.010139 1740458700.0 `1740459204.010141 1740458700.0 `1740459214.010135 1740458700.0 `1740459224.010137 1740458700.0 `1740459254.010133 1740458700.0 `1740459264.010134 1740458700.0 `1740459274.010136 1740458700.0 `1740459284.010139 1740458700.0 `1740459294.010136 1740458700.0 `1740459304.010145 1740458700.0 `1740459314.009127 1740458700.0 `1740459324.010142 1740458700.0 `1740459344.010134 1740458700.0 `1740459354.010134 1740458700.0 `1740459364.010148 1740458700.0 `1740459374.010137 1740458700.0 `1740459383.009125 1740458700.0 `1740459394.010134 1740458700.0 `1740459404.010136 1740458700.0 `1740459414.010138 1740458700.0 `1740459424.010147 1740458700.0 `1740459444.010133 1740458700.0 `1740459454.010133 1740458700.0 `1740459464.009125 1740458700.0 `1740459474.010135 1740458700.0 `1740459484.010144 1740458700.0 `1740459494.010136 1740458700.0 `1740459504.010134 1740458700.0 `1740459514.010134 1740458700.0 `1740459524.010136 1740458700.0 `1740459614.010193 1740459600.0 `1740459624.010142 1740459600.0 `1740459635.010144 1740459600.0 `1740459655.010136 1740459600.0 `1740459665.01014 1740459600.0 `1740459674.009127 1740459600.0 `1740459684.010136 1740459600.0 `1740459694.010136 1740459600.0 `1740459705.01014 1740459600.0 `1740459715.010137 1740459600.0 `1740459725.010142 1740459600.0 `1740459735.010136 1740459600.0 `1740459745.010134 1740459600.0 `1740459764.010133 1740459600.0 `1740459775.010134 1740459600.0 `1740459785.010137 1740459600.0 `1740459795.010137 1740459600.0 `1740459805.010134 1740459600.0 `1740459815.01014 1740459600.0 `1740459824.009127 1740459600.0 `1740459834.010139 1740459600.0 `1740459845.010155 1740459600.0 `1740459865.010134 1740459600.0 `1740459875.010134 1740459600.0 `1740459885.010134 1740459600.0 `1740459894.009126 1740459600.0 `1740459904.010165 1740459600.0 `1740459914.010135 1740459600.0 `1740459925.010135 1740459600.0 `1740459935.010134 1740459600.0 `1740459945.010152 1740459600.0 `1740459955.010135 1740459600.0 `1740459974.010135 1740459600.0 `1740459984.010133 1740459600.0 `1740459995.010135 1740459600.0 `1740460005.010137 1740459600.0 `1740460015.010136 1740459600.0 `1740460025.010167 1740459600.0 `1740460035.009849 1740459600.0 `1740460045.010139 1740459600.0 `1740460055.010135 1740459600.0 `1740460064.009125 1740459600.0 `1740460095.010134 1740459600.0 `1740460105.010135 1740459600.0 `1740460115.010133 1740459600.0 `1740460125.01014 1740459600.0 `1740460134.009127 1740459600.0 `1740460144.01015 1740459600.0 `1740460154.010137 1740459600.0 `1740460185.010135 1740459600.0 `1740460195.010133 1740459600.0 `1740460205.010139 1740459600.0 `1740460214.009126 1740459600.0 `1740460224.010137 1740459600.0 `1740460235.010151 1740459600.0 `1740460245.010141 1740459600.0 `1740460265.01015 1740459600.0 `1740460275.010133 1740459600.0 `1740460284.009128 1740459600.0 `1740460294.01014 1740459600.0 `1740460305.01014 1740459600.0 `1740460315.010136 1740459600.0 `1740460325.010162 1740459600.0 `1740460345.010134 1740459600.0 `1740460354.009124 1740459600.0 `1740460364.010139 1740459600.0 `1740460375.010135 1740459600.0 `1740460385.010154 1740459600.0 `1740460395.010135 1740459600.0 `1740460405.010135 1740459600.0 `1740460415.010136 1740459600.0 `1740460434.010134 1740459600.0 `1740460444.010136 1740459600.0 `1740460455.010136 1740459600.0 `1740460465.010134 1740459600.0 `1740460475.010134 1740459600.0 `1740460485.010136 1740459600.0 `1740460495.010136 1740459600.0 `1740460514.010134 1740460500.0 `1740460525.010132 1740460500.0 `1740460535.010133 1740460500.0 `1740460545.010134 1740460500.0 `1740460555.010136 1740460500.0 `1740460565.01015 1740460500.0 `1740460574.009126 1740460500.0 `1740460595.010135 1740460500.0 `1740460605.010137 1740460500.0 `1740460615.010135 1740460500.0 `1740460625.01015 1740460500.0 `1740460635.010138 1740460500.0 `1740460644.009126 1740460500.0 `1740460654.010136 1740460500.0 `1740460664.010135 1740460500.0 `1740460675.010137 1740460500.0 `1740460685.010158 1740460500.0 `1740460715.010134 1740460500.0 `1740460724.009126 1740460500.0 `1740460734.010136 1740460500.0 `1740460745.010167 1740460500.0 `1740460755.010133 1740460500.0 `1740460765.010135 1740460500.0 `1740460775.010145 1740460500.0 `1740460785.010137 1740460500.0 `1740460794.009125 1740460500.0 `1740460804.01015 1740460500.0 `1740460825.010133 1740460500.0 `1740460835.010132 1740460500.0 `1740460845.010135 1740460500.0 `1740460855.010136 1740460500.0 `1740460864.009129 1740460500.0 `1740460874.010138 1740460500.0 `1740460885.010135 1740460500.0 `1740460895.010136 1740460500.0 `1740460905.010134 1740460500.0 `1740460915.010133 1740460500.0 `1740460934.009125 1740460500.0 `1740460944.010133 1740460500.0 `1740460954.010135 1740460500.0 `1740460965.010136 1740460500.0 `1740460975.010138 1740460500.0 `1740460985.010151 1740460500.0 `1740460995.010136 1740460500.0 `1740461005.010136 1740460500.0 `1740461014.009124 1740460500.0 `1740461045.010133 1740460500.0 `1740461055.010134 1740460500.0 `1740461065.010135 1740460500.0 `1740461075.010135 1740460500.0 `1740461084.009141 1740460500.0 `1740461094.010139 1740460500.0 `1740461105.010162 1740460500.0 `1740461115.010137 1740460500.0 `1740461125.010133 1740460500.0 `1740461145.010135 1740460500.0 `1740461154.009126 1740460500.0 `1740461164.010162 1740460500.0 `1740461174.01014 1740460500.0 `1740461185.010137 1740460500.0 `1740461195.010136 1740460500.0 `1740461205.010138 1740460500.0 `1740461215.010138 1740460500.0 `1740461244.010134 1740460500.0 `1740461255.010133 1740460500.0 `1740461265.010132 1740460500.0 `1740461275.010135 1740460500.0 `1740461285.010154 1740460500.0 `1740461295.010135 1740460500.0 `1740461304.009126 1740460500.0 `1740461314.010137 1740460500.0 `1740461335.010135 1740460500.0 `1740461345.010159 1740460500.0 `1740461355.010139 1740460500.0 `1740461365.010137 1740460500.0 `1740461374.009126 1740460500.0 `1740461384.010138 1740460500.0 `1740461395.01014 1740460500.0 `1740461405.010136 1740461400.0 `1740461425.010134 1740461400.0 `1740461435.010136 1740461400.0 `1740461444.009126 1740461400.0 `1740461454.010136 1740461400.0 `1740461464.010149 1740461400.0 `1740461475.010134 1740461400.0 `1740461485.010135 1740461400.0 `1740461495.010135 1740461400.0 `1740461505.010139 1740461400.0 `1740461534.010135 1740461400.0 `1740461545.010132 1740461400.0 `1740461555.010134 1740461400.0 `1740461565.010136 1740461400.0 `1740461575.010137 1740461400.0 `1740461585.010151 1740461400.0 `1740461594.009128 1740461400.0 `1740461604.010139 1740461400.0 `1740461615.010134 1740461400.0 `1740461625.010135 1740461400.0 `1740461635.010139 1740461400.0 `1740461645.010151 1740461400.0 `1740461674.010132 1740461400.0 `1740461684.010133 1740461400.0 `1740461695.010146 1740461400.0 `1740461705.010162 1740461400.0 `1740461715.010136 1740461400.0 `1740461725.010134 1740461400.0 `1740461734.009134 1740461400.0 `1740461744.010149 1740461400.0 `1740461754.010137 1740461400.0 `1740461765.010161 1740461400.0 `1740461775.010135 1740461400.0 `1740461814.010133 1740461400.0 `1740461824.010153 1740461400.0 `1740461835.010135 1740461400.0 `1740461845.010136 1740461400.0 `1740461855.010145 1740461400.0 `1740461865.010133 1740461400.0 `1740461875.010134 1740461400.0 `1740461884.009142 1740461400.0 `1740461894.010143 1740461400.0 `1740461905.010135 1740461400.0 `1740461915.010134 1740461400.0 `1740461945.01014 1740461400.0 `1740461954.009123 1740461400.0 `1740461964.010134 1740461400.0 `1740461975.010136 1740461400.0 `1740461985.010135 1740461400.0 `1740461995.010137 1740461400.0 `1740462005.010143 1740461400.0 `1740462015.010136 1740461400.0 `1740462024.009127 1740461400.0 `1740462034.010135 1740461400.0 `1740462044.010134 1740461400.0 `1740462055.010134 1740461400.0 `1740462075.010135 1740461400.0 `1740462085.010133 1740461400.0 `1740462095.010134 1740461400.0 `1740462104.009124 1740461400.0 `1740462114.010135 1740461400.0 `1740462125.010154 1740461400.0 `1740462135.010135 1740461400.0 `1740462145.010135 1740461400.0 `1740462155.010142 1740461400.0 `1740462165.010137 1740461400.0 `1740462195.010132 1740461400.0 `1740462205.010134 1740461400.0 `1740462215.010135 1740461400.0 `1740462225.01014 1740461400.0 `1740462235.010136 1740461400.0 `1740462244.009132 1740461400.0 `1740462254.010139 1740461400.0 `1740462264.010134 1740461400.0 `1740462275.010133 1740461400.0 `1740462285.010136 1740461400.0 `1740462305.01015 1740462300.0 `1740462315.010137 1740462300.0 `1740462324.009125 1740462300.0 `1740462334.010136 1740462300.0 `1740462345.010138 1740462300.0 `1740462355.010144 1740462300.0 `1740462365.010143 1740462300.0 `1740462375.010134 1740462300.0 `1740462385.010136 1740462300.0 `1740462394.009123 1740462300.0 `1740462404.010136 1740462300.0 `1740462425.010143 1740462300.0 `1740462435.010134 1740462300.0 `1740462445.010132 1740462300.0 `1740462455.010136 1740462300.0 `1740462464.009129 1740462300.0 `1740462474.010135 1740462300.0 `1740462484.01015 1740462300.0 `1740462495.010139 1740462300.0 `1740462505.010134 1740462300.0 `1740462515.010132 1740462300.0 `1740462535.010135 1740462300.0 `1740462544.009139 1740462300.0 `1740462554.010134 1740462300.0 `1740462565.010136 1740462300.0 `1740462575.010136 1740462300.0 `1740462585.010137 1740462300.0 `1740462595.010145 1740462300.0 `1740462605.010151 1740462300.0 `1740462614.009134 1740462300.0 `1740462624.010133 1740462300.0 `1740462635.010131 1740462300.0 `1740462655.010134 1740462300.0 `1740462665.010157 1740462300.0 `1740462675.010135 1740462300.0 `1740462684.009127 1740462300.0 `1740462694.010136 1740462300.0 `1740462704.01014 1740462300.0 `1740462715.01014 1740462300.0 `1740462725.010152 1740462300.0 `1740462735.010137 1740462300.0 `1740462745.010133 1740462300.0 `1740462764.010133 1740462300.0 `1740462774.010134 1740462300.0 `1740462785.010136 1740462300.0 `1740462795.010137 1740462300.0 `1740462805.010136 1740462300.0 `1740462815.010138 1740462300.0 `1740462825.010136 1740462300.0 `1740462834.009126 1740462300.0 `1740462865.010132 1740462300.0 `1740462875.010132 1740462300.0 `1740462885.010136 1740462300.0 `1740462895.010136 1740462300.0 `1740462904.009142 1740462300.0 `1740462914.010132 1740462300.0 `1740462924.010135 1740462300.0 `1740462935.010143 1740462300.0 `1740462945.010136 1740462300.0 `1740462984.010133 1740462300.0 `1740462994.010133 1740462300.0 `1740463005.010136 1740462300.0 `1740463015.010137 1740462300.0 `1740463025.010164 1740462300.0 `1740463035.010136 1740462300.0 `1740463045.010134 1740462300.0 `1740463054.009131 1740462300.0 `1740463064.010135 1740462300.0 `1740463085.010141 1740462300.0 `1740463095.010133 1740462300.0 `1740463105.010136 1740462300.0 `1740463115.010134 1740462300.0 `1740463124.009128 1740462300.0 `1740463134.010136 1740462300.0 `1740463214.010187 1740463200.0 `1740463224.010142 1740463200.0 `1740463234.010136 1740463200.0 `1740463244.010136 1740463200.0 `1740463254.010137 1740463200.0 `1740463264.010151 1740463200.0 `1740463274.009126 1740463200.0 `1740463284.010142 1740463200.0 `1740463294.010137 1740463200.0 `1740463324.010138 1740463200.0 `1740463334.010133 1740463200.0 `1740463345.010138 1740463200.0 `1740463354.009134 1740463200.0 `1740463364.010136 1740463200.0 `1740463374.010138 1740463200.0 `1740463384.010142 1740463200.0 `1740463394.010135 1740463200.0 `1740463404.010135 1740463200.0 `1740463414.010137 1740463200.0 `1740463424.009125 1740463200.0 `1740463434.010135 1740463200.0 `1740463444.010143 1740463200.0 `1740463474.010134 1740463200.0 `1740463484.010134 1740463200.0 `1740463494.009128 1740463200.0 `1740463504.010153 1740463200.0 `1740463514.010136 1740463200.0 `1740463524.010145 1740463200.0 `1740463534.010137 1740463200.0 `1740463544.010138 1740463200.0 `1740463554.010141 1740463200.0 `1740463564.00913 1740463200.0 `1740463574.010137 1740463200.0 `1740463584.010134 1740463200.0 `1740463604.010136 1740463200.0 `1740463614.010137 1740463200.0 `1740463624.010142 1740463200.0 `1740463635.010136 1740463200.0 `1740463644.009124 1740463200.0 `1740463654.010135 1740463200.0 `1740463664.010136 1740463200.0 `1740463684.010138 1740463200.0 `1740463694.010141 1740463200.0 `1740463704.010133 1740463200.0 `1740463714.009126 1740463200.0 `1740463724.010136 1740463200.0 `1740463734.010135 1740463200.0 `1740463744.010149 1740463200.0 `1740463754.010139 1740463200.0 `1740463764.010135 1740463200.0 `1740463774.010137 1740463200.0 `1740463794.009125 1740463200.0 `1740463804.010159 1740463200.0 `1740463814.010136 1740463200.0 `1740463824.010134 1740463200.0 `1740463834.010134 1740463200.0 `1740463844.010137 1740463200.0 `1740463855.010134 1740463200.0 `1740463864.009127 1740463200.0 `1740463874.010135 1740463200.0 `1740463884.010134 1740463200.0 `1740463894.010133 1740463200.0 `1740463924.010142 1740463200.0 `1740463934.009124 1740463200.0 `1740463944.010134 1740463200.0 `1740463954.010135 1740463200.0 `1740463964.010145 1740463200.0 `1740463974.010135 1740463200.0 `1740463984.010139 1740463200.0 `1740463994.010138 1740463200.0 `1740464005.010137 1740463200.0 `1740464014.009126 1740463200.0 `1740464024.010136 1740463200.0 `1740464054.010134 1740463200.0 `1740464064.010135 1740463200.0 `1740464074.010135 1740463200.0 `1740464084.009126 1740463200.0 `1740464094.010136 1740463200.0 `1740464104.010153 1740464100.0 `1740464114.010136 1740464100.0 `1740464124.010138 1740464100.0 `1740464134.010269 1740464100.0 `1740464144.009127 1740464100.0 `1740464154.010138 1740464100.0 `1740464164.010158 1740464100.0 `1740464194.010134 1740464100.0 `1740464204.010134 1740464100.0 `1740464215.010133 1740464100.0 `1740464224.009146 1740464100.0 `1740464234.010136 1740464100.0 `1740464244.010136 1740464100.0 `1740464254.010137 1740464100.0 `1740464264.010138 1740464100.0 `1740464274.010136 1740464100.0 `1740464285.01014 1740464100.0 `1740464294.009126 1740464100.0 `1740464304.010136 1740464100.0 `1740464314.010134 1740464100.0 `1740464334.010134 1740464100.0 `1740464344.010136 1740464100.0 `1740464354.010135 1740464100.0 `1740464364.009127 1740464100.0 `1740464374.010136 1740464100.0 `1740464384.010136 1740464100.0 `1740464394.010136 1740464100.0 `1740464404.010157 1740464100.0 `1740464414.010136 1740464100.0 `1740464424.010134 1740464100.0 `1740464435.010137 1740464100.0 `1740464464.010155 1740464100.0 `1740464474.010133 1740464100.0 `1740464484.010134 1740464100.0 `1740464494.010135 1740464100.0 `1740464505.010135 1740464100.0 `1740464514.009127 1740464100.0 `1740464524.010148 1740464100.0 `1740464534.010136 1740464100.0 `1740464544.010136 1740464100.0 `1740464554.010134 1740464100.0 `1740464594.010136 1740464100.0 `1740464604.010143 1740464100.0 `1740464624.010141 1740464100.0 `1740464634.010137 1740464100.0 `1740464644.01014 1740464100.0 `1740464654.009128 1740464100.0 `1740464664.010137 1740464100.0 `1740464674.010147 1740464100.0 `1740464684.010139 1740464100.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, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553], [554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603]] forced_hashtag: JRM force hashtag to JRM elapsed_time : SPLIT_TIME 0.022370100021362305 ***** 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': '25022025', 'map_nb_amount': {0: 3, 1: 20, 2: 2, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 299.99898409843445, 'nb_balles_papier': 0.00025, 'begin_time_port': 'image_25022025_05_24_54_010140m0.jpg 6e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 0.00025 We reject this portfolio because of the condition_save_data : 2025-02-25 05:24:54.010140 result_one_balle_Type_JRM:{'day': '25022025', 'map_nb_amount': {0: 10, 1: 56, 2: 9, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 870.0000050067902, 'nb_balles_papier': 0.0007500000000000013, 'begin_time_port': 'image_25022025_05_30_24_010134m0.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.0007500000000000013 We reject this portfolio because of the condition_save_data : 2025-02-25 05:30:24.010134 result_one_balle_Type_JRM:{'day': '25022025', 'map_nb_amount': {0: 10, 1: 48, 2: 12, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 801.0010118484497, 'nb_balles_papier': 0.0007000000000000012, 'begin_time_port': 'image_25022025_05_45_23_009124m0.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.0007000000000000012 We reject this portfolio because of the condition_save_data : 2025-02-25 05:45:23.009124 result_one_balle_Type_JRM:{'day': '25022025', 'map_nb_amount': {0: 8, 1: 65, 2: 5, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 880.999942779541, 'nb_balles_papier': 0.0007800000000000014, 'begin_time_port': 'image_25022025_06_00_14_010193m0.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.0007800000000000014 We reject this portfolio because of the condition_save_data : 2025-02-25 06:00:14.010193 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': '25022025', 'map_nb_amount': {0: 6, 1: 57, 2: 4, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 881.0000059604645, 'nb_balles_papier': 0.0006700000000000011, 'begin_time_port': 'image_25022025_06_15_14_010134m0.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.0006700000000000011 We reject this portfolio because of the condition_save_data : 2025-02-25 06:15:14.010134 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': '25022025', 'map_nb_amount': {0: 11, 1: 31, 2: 9, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 880.0, 'nb_balles_papier': 0.0005100000000000007, 'begin_time_port': 'image_25022025_06_30_05_010136m0.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.0005100000000000007 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': '25022025', 'map_nb_amount': {0: 6, 1: 41, 2: 2, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 828.9999859333038, 'nb_balles_papier': 0.0004900000000000006, 'begin_time_port': 'image_25022025_06_45_05_010150m0.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.0004900000000000006 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': '25022025', 'map_nb_amount': {0: 4, 1: 41, 2: 8, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 879.9999489784241, 'nb_balles_papier': 0.0005300000000000007, 'begin_time_port': 'image_25022025_07_00_14_010187m0.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.0005300000000000007 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': '25022025', 'map_nb_amount': {0: 3, 1: 13, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 579.9999859333038, 'nb_balles_papier': 0.00016, 'begin_time_port': 'image_25022025_07_15_04_010153m0.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.00016 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 ! Still a lot to verify ! We need to add photos : {1339506179, 1339506118, 1339506185, 1339506124, 1339506189, 1339506193, 1339506161, 1339506200, 1339506042, 1339506015} Still a lot to verify ! Qualite : 0.04241381022786423 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`=20790301 AND mptpi.`type`=3726 To do Qualite : 0.03738948500974118 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`=20790710 AND mptpi.`type`=3726 To do Qualite : 0.03474334931450473 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`=20791187 AND mptpi.`type`=3726 To do Qualite : 0.050847817053690306 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`=20791496 AND mptpi.`type`=3726 To do elapsed_time : count_nb_balles_and_create_portfolio 0.739210844039917 # DISPLAY ALL COLLECTED DATA : {'25022025': {'nb_upload': 604, 'nb_taggue_class': 533, 'nb_taggue_densite': 533}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1339506200, 1339506193, 1339506189, 1339506185, 1339506179, 1339506161, 1339506124, 1339506118, 1339506042, 1339506015, 1339505987, 1339505984, 1339505979, 1339505973, 1339505936, 1339505933, 1339505930, 1339505927, 1339505925, 1339505923, 1339505901, 1339505894, 1339505893, 1339505888, 1339505876, 1339505872, 1339505869, 1339505865, 1339505843, 1339505842, 1339505839, 1339505837, 1339505831, 1339505822, 1339505814, 1339505811, 1339505808, 1339505803, 1339505798, 1339505793, 1339505785, 1339505779, 1339505773, 1339505770, 1339505768, 1339505765, 1339505749, 1339505747, 1339505743, 1339505740, 1339505737, 1339505734, 1339505726, 1339505723, 1339505719, 1339505715, 1339505712, 1339505709, 1339505704, 1339505702, 1339505700, 1339505698, 1339505694, 1339505692, 1339505687, 1339505683, 1339505680, 1339505676, 1339505671, 1339505666, 1339505663, 1339505661, 1339505658, 1339505655, 1339505651, 1339505646, 1339505632, 1339505630, 1339505625, 1339505622, 1339505619, 1339505617, 1339505608, 1339505601, 1339505595, 1339505590, 1339505584, 1339505578, 1339505523, 1339505520, 1339505516, 1339505512, 1339505508, 1339505480, 1339505477, 1339505474, 1339505467, 1339505464, 1339505438, 1339505437] Looping around the photos to save general results len do output : 1 /20784437Didn'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, '2611881') ('4876', '20784437', '1339506200', None, None, None, None, None, '2611881') ('4876', None, None, None, None, None, None, None, '2611881') ('4876', '20784437', '1339506193', None, None, None, None, None, '2611881') ('4876', None, None, None, None, None, None, None, '2611881') ('4876', '20784437', '1339506189', None, None, None, None, None, '2611881') ('4876', None, None, None, None, None, None, None, '2611881') ('4876', '20784437', '1339506185', None, None, None, None, None, '2611881') ('4876', None, None, None, None, None, None, None, '2611881') ('4876', '20784437', '1339506179', None, None, None, None, None, '2611881') ('4876', None, None, None, None, None, None, None, '2611881') ('4876', '20784437', '1339506161', None, None, None, None, None, '2611881') ('4876', None, None, None, None, None, None, None, '2611881') ('4876', '20784437', '1339506124', None, None, None, None, None, '2611881') ('4876', None, None, None, None, None, None, None, '2611881') ('4876', '20784437', '1339506118', None, None, None, None, None, '2611881') ('4876', None, None, None, None, None, None, None, '2611881') ('4876', '20784437', '1339506042', None, None, None, None, None, '2611881') ('4876', None, None, None, None, None, None, None, '2611881') ('4876', '20784437', '1339506015', None, None, None, None, None, '2611881') ('4876', None, None, None, None, None, None, None, '2611881') ('4876', '20784437', '1339505987', None, None, None, None, None, '2611881') ('4876', None, None, None, None, None, None, None, '2611881') ('4876', '20784437', '1339505984', None, None, None, None, None, '2611881') ('4876', None, None, None, None, None, None, None, '2611881') ('4876', '20784437', '1339505979', None, None, None, None, None, '2611881') ('4876', None, None, None, None, None, None, None, '2611881') ('4876', '20784437', '1339505973', None, None, None, None, None, '2611881') ('4876', None, None, None, None, None, None, None, '2611881') ('4876', '20784437', '1339505936', None, None, None, None, None, '2611881') ('4876', None, None, None, None, None, None, None, '2611881') ('4876', '20784437', '1339505933', None, None, None, None, None, '2611881') ('4876', None, None, None, None, None, None, None, '2611881') ('4876', '20784437', '1339505930', None, None, None, None, None, '2611881') ('4876', None, None, None, None, None, None, None, '2611881') ('4876', '20784437', '1339505927', None, None, None, None, None, '2611881') ('4876', None, None, None, None, None, None, None, '2611881') ('4876', '20784437', '1339505925', None, None, None, None, None, '2611881') ('4876', None, None, None, None, None, None, None, '2611881') ('4876', '20784437', '1339505923', None, None, None, None, None, '2611881') ('4876', None, None, None, None, None, None, None, '2611881') ('4876', '20784437', '1339505901', None, None, None, None, None, '2611881') ('4876', None, None, None, None, None, None, None, '2611881') ('4876', '20784437', '1339505894', None, None, None, None, None, '2611881') ('4876', None, None, None, None, None, None, None, '2611881') ('4876', '20784437', '1339505893', None, None, None, None, None, '2611881') ('4876', None, None, None, None, None, None, None, '2611881') ('4876', '20784437', '1339505888', None, None, None, None, None, '2611881') ('4876', None, None, None, None, None, None, None, '2611881') ('4876', '20784437', '1339505876', None, None, None, None, None, '2611881') ('4876', None, None, None, None, None, None, None, '2611881') ('4876', '20784437', '1339505872', None, None, None, None, None, '2611881') ('4876', None, None, None, None, None, None, None, '2611881') ('4876', '20784437', '1339505869', None, None, None, None, None, '2611881') ('4876', None, None, None, None, None, None, None, '2611881') ('4876', '20784437', '1339505865', None, None, None, None, None, '2611881') ('4876', None, None, None, None, None, None, None, '2611881') ('4876', '20784437', '1339505843', None, None, None, None, None, '2611881') ('4876', None, None, None, None, None, None, None, '2611881') ('4876', '20784437', '1339505842', None, None, None, None, None, '2611881') ('4876', None, None, None, None, None, None, None, '2611881') ('4876', '20784437', '1339505839', None, None, None, None, None, '2611881') ('4876', None, None, None, None, None, None, None, '2611881') ('4876', '20784437', '1339505837', None, None, None, None, None, '2611881') ('4876', None, None, None, None, None, None, None, '2611881') ('4876', '20784437', '1339505831', None, None, None, None, None, '2611881') ('4876', None, None, None, None, None, None, None, '2611881') ('4876', '20784437', '1339505822', None, None, None, None, None, '2611881') ('4876', None, None, None, None, None, None, None, '2611881') ('4876', '20784437', '1339505814', None, None, None, None, None, '2611881') ('4876', None, None, None, None, None, None, None, '2611881') ('4876', '20784437', '1339505811', None, None, None, None, None, '2611881') ('4876', None, None, None, None, None, None, None, '2611881') ('4876', '20784437', '1339505808', None, None, None, None, None, '2611881') ('4876', None, None, None, None, None, None, None, '2611881') ('4876', '20784437', '1339505803', None, None, None, None, None, '2611881') ('4876', None, None, None, None, None, None, None, '2611881') ('4876', '20784437', '1339505798', None, None, None, None, None, '2611881') ('4876', None, None, None, None, None, None, None, '2611881') ('4876', '20784437', '1339505793', None, None, None, None, None, '2611881') ('4876', None, None, None, None, None, None, None, '2611881') ('4876', '20784437', '1339505785', None, None, None, None, None, '2611881') ('4876', None, None, None, None, None, None, None, '2611881') ('4876', '20784437', '1339505779', None, None, None, None, None, '2611881') ('4876', None, None, None, None, None, None, None, '2611881') ('4876', '20784437', '1339505773', None, None, None, None, None, '2611881') ('4876', None, None, None, None, None, None, None, '2611881') ('4876', '20784437', '1339505770', None, None, None, None, None, '2611881') ('4876', None, None, None, None, None, None, None, '2611881') ('4876', '20784437', '1339505768', None, None, None, None, None, '2611881') ('4876', None, None, None, None, None, None, None, '2611881') ('4876', '20784437', '1339505765', None, None, None, None, None, '2611881') ('4876', None, None, None, None, None, None, None, '2611881') ('4876', '20784437', '1339505749', None, None, None, None, None, '2611881') ('4876', None, None, None, None, None, None, None, '2611881') ('4876', '20784437', '1339505747', None, None, None, None, None, '2611881') ('4876', None, None, None, None, None, None, None, '2611881') ('4876', '20784437', '1339505743', None, None, None, None, None, '2611881') ('4876', None, None, None, None, None, None, None, '2611881') ('4876', '20784437', '1339505740', None, None, None, None, None, '2611881') ('4876', None, None, None, None, None, None, None, '2611881') ('4876', '20784437', '1339505737', None, None, None, None, None, '2611881') ('4876', None, None, None, None, None, None, None, '2611881') ('4876', '20784437', '1339505734', None, None, None, None, None, '2611881') ('4876', None, None, None, None, None, None, None, '2611881') ('4876', '20784437', '1339505726', None, None, None, None, None, '2611881') ('4876', None, None, None, None, None, None, None, '2611881') ('4876', '20784437', '1339505723', None, None, None, None, None, '2611881') ('4876', None, None, None, None, None, None, None, '2611881') ('4876', '20784437', '1339505719', None, None, None, None, None, '2611881') ('4876', None, None, None, None, None, None, None, '2611881') ('4876', '20784437', '1339505715', None, None, None, None, None, '2611881') ('4876', None, None, None, None, None, None, None, '2611881') ('4876', '20784437', '1339505712', None, None, None, None, None, '2611881') ('4876', None, None, None, None, None, None, None, '2611881') ('4876', '20784437', '1339505709', None, None, None, None, None, '2611881') ('4876', None, None, None, None, None, None, None, '2611881') ('4876', '20784437', '1339505704', None, None, None, None, None, '2611881') ('4876', None, None, None, None, None, None, None, '2611881') ('4876', '20784437', '1339505702', None, None, None, None, None, '2611881') ('4876', None, None, None, None, None, None, None, '2611881') ('4876', '20784437', '1339505700', None, None, None, None, None, '2611881') ('4876', None, None, None, None, None, None, None, '2611881') ('4876', '20784437', '1339505698', None, None, None, None, None, '2611881') ('4876', None, None, None, None, None, None, None, '2611881') ('4876', '20784437', '1339505694', None, None, None, None, None, '2611881') ('4876', None, None, None, None, None, None, None, '2611881') ('4876', '20784437', '1339505692', None, None, None, None, None, '2611881') ('4876', None, None, None, None, None, None, None, '2611881') ('4876', '20784437', '1339505687', None, None, None, None, None, '2611881') ('4876', None, None, None, None, None, None, None, '2611881') ('4876', '20784437', '1339505683', None, None, None, None, None, '2611881') ('4876', None, None, None, None, None, None, None, '2611881') ('4876', '20784437', '1339505680', None, None, None, None, None, '2611881') ('4876', None, None, None, None, None, None, None, '2611881') ('4876', '20784437', '1339505676', None, None, None, None, None, '2611881') ('4876', None, None, None, None, None, None, None, '2611881') ('4876', '20784437', '1339505671', None, None, None, None, None, '2611881') ('4876', None, None, None, None, None, None, None, '2611881') ('4876', '20784437', '1339505666', None, None, None, None, None, '2611881') ('4876', None, None, None, None, None, None, None, '2611881') ('4876', '20784437', '1339505663', None, None, None, None, None, '2611881') ('4876', None, None, None, None, None, None, None, '2611881') ('4876', '20784437', '1339505661', None, None, None, None, None, '2611881') ('4876', None, None, None, None, None, None, None, '2611881') ('4876', '20784437', '1339505658', None, None, None, None, None, '2611881') ('4876', None, None, None, None, None, None, None, '2611881') ('4876', '20784437', '1339505655', None, None, None, None, None, '2611881') ('4876', None, None, None, None, None, None, None, '2611881') ('4876', '20784437', '1339505651', None, None, None, None, None, '2611881') ('4876', None, None, None, None, None, None, None, '2611881') ('4876', '20784437', '1339505646', None, None, None, None, None, '2611881') ('4876', None, None, None, None, None, None, None, '2611881') ('4876', '20784437', '1339505632', None, None, None, None, None, '2611881') ('4876', None, None, None, None, None, None, None, '2611881') ('4876', '20784437', '1339505630', None, None, None, None, None, '2611881') ('4876', None, None, None, None, None, None, None, '2611881') ('4876', '20784437', '1339505625', None, None, None, None, None, '2611881') ('4876', None, None, None, None, None, None, None, '2611881') ('4876', '20784437', '1339505622', None, None, None, None, None, '2611881') ('4876', None, None, None, None, None, None, None, '2611881') ('4876', '20784437', '1339505619', None, None, None, None, None, '2611881') ('4876', None, None, None, None, None, None, None, '2611881') ('4876', '20784437', '1339505617', None, None, None, None, None, '2611881') ('4876', None, None, None, None, None, None, None, '2611881') ('4876', '20784437', '1339505608', None, None, None, None, None, '2611881') ('4876', None, None, None, None, None, None, None, '2611881') ('4876', '20784437', '1339505601', None, None, None, None, None, '2611881') ('4876', None, None, None, None, None, None, None, '2611881') ('4876', '20784437', '1339505595', None, None, None, None, None, '2611881') ('4876', None, None, None, None, None, None, None, '2611881') ('4876', '20784437', '1339505590', None, None, None, None, None, '2611881') ('4876', None, None, None, None, None, None, None, '2611881') ('4876', '20784437', '1339505584', None, None, None, None, None, '2611881') ('4876', None, None, None, None, None, None, None, '2611881') ('4876', '20784437', '1339505578', None, None, None, None, None, '2611881') ('4876', None, None, None, None, None, None, None, '2611881') ('4876', '20784437', '1339505523', None, None, None, None, None, '2611881') ('4876', None, None, None, None, None, None, None, '2611881') ('4876', '20784437', '1339505520', None, None, None, None, None, '2611881') ('4876', None, None, None, None, None, None, None, '2611881') ('4876', '20784437', '1339505516', None, None, None, None, None, '2611881') ('4876', None, None, None, None, None, None, None, '2611881') ('4876', '20784437', '1339505512', None, None, None, None, None, '2611881') ('4876', None, None, None, None, None, None, None, '2611881') ('4876', '20784437', '1339505508', None, None, None, None, None, '2611881') ('4876', None, None, None, None, None, None, None, '2611881') ('4876', '20784437', '1339505480', None, None, None, None, None, '2611881') ('4876', None, None, None, None, None, None, None, '2611881') ('4876', '20784437', '1339505477', None, None, None, None, None, '2611881') ('4876', None, None, None, None, None, None, None, '2611881') ('4876', '20784437', '1339505474', None, None, None, None, None, '2611881') ('4876', None, None, None, None, None, None, None, '2611881') ('4876', '20784437', '1339505467', None, None, None, None, None, '2611881') ('4876', None, None, None, None, None, None, None, '2611881') ('4876', '20784437', '1339505464', None, None, None, None, None, '2611881') ('4876', None, None, None, None, None, None, None, '2611881') ('4876', '20784437', '1339505438', None, None, None, None, None, '2611881') ('4876', None, None, None, None, None, None, None, '2611881') ('4876', '20784437', '1339505437', None, None, None, None, None, '2611881') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 101 time used for this insertion : 0.026874303817749023 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.0808420181274414 time spend to save output : 0.03162074089050293 total time spend for step 1 : 1.1124627590179443 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.40user 0.97system 0:04.21elapsed 56%CPU (0avgtext+0avgdata 105060maxresident)k 0inputs+144outputs (8major+49324minor)pagefaults 0swaps