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 : 3638054 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 : ['2632416'] with mtr_portfolio_ids : ['20995339'] and first list_photo_ids : [] new path : /proc/3638054/ 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.09253644943237305 About to test input to load Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 1 step1:split_time_score Tue Mar 4 12:32: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', 15), ('01', 7), ('02', 6), ('03', 8), ('04', 7), ('05', 11), ('06', 1), ('07', 8), ('08', 171), ('09', 76), ('10', 175), ('11', 232)) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {1: 595} 04032025 20995339 Nombre de photos uploadées : 347 / 23040 (1%) 04032025 20995339 Nombre de photos taguées (types de déchets): 595 / 347 (171%) 04032025 20995339 Nombre de photos taguées (volume) : 595 / 347 (171%) elapsed_time : load_data_split_time_score 2.86102294921875e-06 elapsed_time : order_list_meta_photo_and_scores 0.00024247169494628906 ????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.017074108123779297 elapsed_time : insert_dashboard_record_day_entry 0.024679183959960938 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 elapsed_time : list_photo_by_hashtags 0.016538619995117188 photos_removed : len 0 elapsed_time : load_duplicate_info 0.031381845474243164 ***** BEGIN SPLIT TIME ***** True 1741046400.0 `1741080654.010133 1741080600.0 `1741080683.009125 1741080600.0 `1741080694.010134 1741080600.0 `1741080714.010141 1741080600.0 `1741080724.010152 1741080600.0 `1741080734.010136 1741080600.0 `1741080744.010137 1741080600.0 `1741080754.010134 1741080600.0 `1741080763.009126 1741080600.0 `1741080774.010137 1741080600.0 `1741080784.010143 1741080600.0 `1741080794.010144 1741080600.0 `1741080804.010134 1741080600.0 `1741080814.010133 1741080600.0 `1741080824.010133 1741080600.0 `1741080833.009126 1741080600.0 `1741080854.010139 1741080600.0 `1741080874.010179 1741080600.0 `1741080884.010145 1741080600.0 `1741080934.010147 1741080600.0 `1741080944.010138 1741080600.0 `1741080954.010138 1741080600.0 `1741080964.010159 1741080600.0 `1741080984.010136 1741080600.0 `1741080994.010142 1741080600.0 `1741081004.010136 1741080600.0 `1741081014.010136 1741080600.0 `1741081024.010159 1741080600.0 `1741081034.010138 1741080600.0 `1741081043.009125 1741080600.0 `1741081064.010137 1741080600.0 `1741081074.010136 1741080600.0 `1741081084.010151 1741080600.0 `1741081104.010134 1741080600.0 `1741081113.009123 1741080600.0 `1741081124.010136 1741080600.0 `1741081154.010135 1741080600.0 `1741081164.010134 1741080600.0 `1741081174.010138 1741080600.0 `1741081184.010135 1741080600.0 `1741081193.009125 1741080600.0 `1741081204.010138 1741080600.0 `1741081234.010133 1741080600.0 `1741081254.010139 1741080600.0 `1741081263.009142 1741080600.0 `1741081274.010147 1741080600.0 `1741081284.010141 1741080600.0 `1741081294.010142 1741080600.0 `1741081304.01014 1741080600.0 `1741081314.010137 1741080600.0 `1741081333.009125 1741080600.0 `1741081344.010133 1741080600.0 `1741081384.010139 1741080600.0 `1741081394.010135 1741080600.0 `1741081404.010134 1741080600.0 `1741081413.009128 1741080600.0 `1741081424.010141 1741080600.0 `1741081444.010151 1741080600.0 `1741081454.010136 1741080600.0 `1741081464.010135 1741080600.0 `1741081474.010137 1741080600.0 `1741081483.009129 1741080600.0 `1741081494.01014 1741080600.0 `1741081504.01015 1741081500.0 `1741081514.010141 1741081500.0 `1741081524.010139 1741081500.0 `1741081534.010146 1741081500.0 `1741081564.010165 1741081500.0 `1741081574.010142 1741081500.0 `1741081614.010133 1741081500.0 `1741081623.00915 1741081500.0 `1741081654.010141 1741081500.0 `1741081674.010141 1741081500.0 `1741081684.010134 1741081500.0 `1741081693.009161 1741081500.0 `1741081704.010135 1741081500.0 `1741081724.010137 1741081500.0 `1741081734.01014 1741081500.0 `1741081744.010136 1741081500.0 `1741081754.010137 1741081500.0 `1741081763.009124 1741081500.0 `1741081774.010137 1741081500.0 `1741081794.010136 1741081500.0 `1741081833.009124 1741081500.0 `1741081844.010137 1741081500.0 `1741081854.010138 1741081500.0 `1741081874.010136 1741081500.0 `1741081894.010148 1741081500.0 `1741081904.010138 1741081500.0 `1741081934.010138 1741081500.0 `1741081944.010135 1741081500.0 `1741081964.010141 1741081500.0 `1741081974.010139 1741081500.0 `1741081994.01014 1741081500.0 `1741082004.010144 1741081500.0 `1741082014.01014 1741081500.0 `1741082074.010142 1741081500.0 `1741082094.010139 1741081500.0 `1741082104.010149 1741081500.0 `1741082123.009125 1741081500.0 `1741082164.010162 1741081500.0 `1741082204.010139 1741081500.0 `1741082214.01014 1741081500.0 `1741082224.010152 1741081500.0 `1741082234.010134 1741081500.0 `1741082244.010134 1741081500.0 `1741082254.010143 1741081500.0 `1741082263.009125 1741081500.0 `1741082274.010137 1741081500.0 `1741082284.010147 1741081500.0 `1741082294.010141 1741081500.0 `1741082304.010134 1741081500.0 `1741082314.010135 1741081500.0 `1741082324.010136 1741081500.0 `1741082334.010136 1741081500.0 `1741082414.010199 1741082400.0 `1741082424.010141 1741082400.0 `1741082434.010136 1741082400.0 `1741082455.010137 1741082400.0 `1741082474.009126 1741082400.0 `1741082484.010136 1741082400.0 `1741082494.010186 1741082400.0 `1741082504.01014 1741082400.0 `1741082515.01014 1741082400.0 `1741082525.010191 1741082400.0 `1741082545.010135 1741082400.0 `1741082554.00913 1741082400.0 `1741082564.010137 1741082400.0 `1741082574.010137 1741082400.0 `1741082584.010139 1741082400.0 `1741082595.010136 1741082400.0 `1741082634.009125 1741082400.0 `1741082654.010136 1741082400.0 `1741082675.010142 1741082400.0 `1741082695.01014 1741082400.0 `1741082704.009138 1741082400.0 `1741082714.010137 1741082400.0 `1741082734.010145 1741082400.0 `1741082755.010136 1741082400.0 `1741082765.010158 1741082400.0 `1741082774.009129 1741082400.0 `1741082784.010137 1741082400.0 `1741082794.010139 1741082400.0 `1741082804.010146 1741082400.0 `1741082815.010138 1741082400.0 `1741082844.009123 1741082400.0 `1741082854.010133 1741082400.0 `1741082874.010144 1741082400.0 `1741082885.010146 1741082400.0 `1741082895.010134 1741082400.0 `1741082905.010136 1741082400.0 `1741082915.010134 1741082400.0 `1741082924.009126 1741082400.0 `1741082934.010136 1741082400.0 `1741082944.010149 1741082400.0 `1741082955.010137 1741082400.0 `1741082965.010136 1741082400.0 `1741082975.010136 1741082400.0 `1741082994.009127 1741082400.0 `1741083004.010139 1741082400.0 `1741083014.01014 1741082400.0 `1741083024.010137 1741082400.0 `1741083064.009137 1741082400.0 `1741083074.010134 1741082400.0 `1741083084.010138 1741082400.0 `1741083094.010146 1741082400.0 `1741083105.010137 1741082400.0 `1741083115.010137 1741082400.0 `1741083125.010143 1741082400.0 `1741083134.009127 1741082400.0 `1741083144.010136 1741082400.0 `1741083154.010136 1741082400.0 `1741083164.010137 1741082400.0 `1741083175.010142 1741082400.0 `1741083185.010149 1741082400.0 `1741083195.010135 1741082400.0 `1741083205.010135 1741082400.0 `1741083214.009123 1741082400.0 `1741083255.010137 1741082400.0 `1741083265.010137 1741082400.0 `1741083275.010143 1741082400.0 `1741083294.010139 1741082400.0 `1741083304.010145 1741083300.0 `1741083325.010134 1741083300.0 `1741083335.010137 1741083300.0 `1741083364.010144 1741083300.0 `1741083374.010143 1741083300.0 `1741083395.01014 1741083300.0 `1741083405.010144 1741083300.0 `1741083415.010137 1741083300.0 `1741083424.009192 1741083300.0 `1741083444.010135 1741083300.0 `1741083454.010134 1741083300.0 `1741083475.010134 1741083300.0 `1741083485.01015 1741083300.0 `1741083494.009124 1741083300.0 `1741083504.010135 1741083300.0 `1741083514.010147 1741083300.0 `1741083524.010144 1741083300.0 `1741083535.010137 1741083300.0 `1741083545.010142 1741083300.0 `1741083555.010137 1741083300.0 `1741083564.009125 1741083300.0 `1741083574.010136 1741083300.0 `1741083584.010139 1741083300.0 `1741083594.010138 1741083300.0 `1741083605.010158 1741083300.0 `1741083615.010133 1741083300.0 `1741083635.010134 1741083300.0 `1741083644.009125 1741083300.0 `1741083654.010136 1741083300.0 `1741083664.010154 1741083300.0 `1741083675.010137 1741083300.0 `1741083685.010134 1741083300.0 `1741083695.010134 1741083300.0 `1741083705.010137 1741083300.0 `1741083714.009126 1741083300.0 `1741083724.010159 1741083300.0 `1741083734.010141 1741083300.0 `1741083745.010136 1741083300.0 `1741083755.010134 1741083300.0 `1741083765.010134 1741083300.0 `1741083784.009147 1741083300.0 `1741083794.010133 1741083300.0 `1741083804.010134 1741083300.0 `1741083814.010134 1741083300.0 `1741083825.010139 1741083300.0 `1741083854.009131 1741083300.0 `1741083874.010134 1741083300.0 `1741083925.010136 1741083300.0 `1741083934.009134 1741083300.0 `1741083944.010137 1741083300.0 `1741083954.010138 1741083300.0 `1741083965.010138 1741083300.0 `1741083975.010143 1741083300.0 `1741083985.010147 1741083300.0 `1741084004.009131 1741083300.0 `1741084014.010136 1741083300.0 `1741084065.010135 1741083300.0 `1741084084.010137 1741083300.0 `1741084094.010135 1741083300.0 `1741084104.010139 1741083300.0 `1741084115.010143 1741083300.0 `1741084144.009155 1741083300.0 `1741084164.010137 1741083300.0 `1741084174.010146 1741083300.0 `1741084185.010136 1741083300.0 `1741084195.010136 1741083300.0 `1741084205.010175 1741084200.0 `1741084214.009129 1741084200.0 `1741084224.010137 1741084200.0 `1741084234.010139 1741084200.0 `1741084244.010137 1741084200.0 `1741084255.010136 1741084200.0 `1741084294.009125 1741084200.0 `1741084304.010138 1741084200.0 `1741084325.010189 1741084200.0 `1741084345.010136 1741084200.0 `1741084355.01014 1741084200.0 `1741084364.009126 1741084200.0 `1741084374.010138 1741084200.0 `1741084425.01015 1741084200.0 `1741084524.010138 1741084200.0 `1741084534.010139 1741084200.0 `1741084545.010152 1741084200.0 `1741084555.010135 1741084200.0 `1741084565.010157 1741084200.0 `1741084574.009125 1741084200.0 `1741084584.010134 1741084200.0 `1741084625.010153 1741084200.0 `1741084995.010136 1741084200.0 `1741085014.01014 1741084200.0 `1741085024.010135 1741084200.0 `1741085034.010136 1741084200.0 `1741085045.010146 1741084200.0 `1741085055.010134 1741084200.0 `1741085065.010135 1741084200.0 `1741085075.010144 1741084200.0 `1741085084.009128 1741084200.0 `1741085094.010137 1741084200.0 `1741085104.010148 1741085100.0 `1741085115.010135 1741085100.0 `1741085135.010134 1741085100.0 `1741085145.010134 1741085100.0 `1741085184.010133 1741085100.0 `1741085195.010143 1741085100.0 `1741085205.010136 1741085100.0 `1741085215.010137 1741085100.0 `1741085224.009139 1741085100.0 `1741085234.010135 1741085100.0 `1741085244.010147 1741085100.0 `1741085254.010143 1741085100.0 `1741085265.010135 1741085100.0 `1741085275.010135 1741085100.0 `1741085285.010166 1741085100.0 `1741085294.009125 1741085100.0 `1741085304.010134 1741085100.0 `1741085324.010136 1741085100.0 `1741085335.010137 1741085100.0 `1741085345.010164 1741085100.0 `1741085355.010134 1741085100.0 `1741085365.010135 1741085100.0 `1741085374.009123 1741085100.0 `1741085384.010135 1741085100.0 `1741085394.010141 1741085100.0 `1741085405.010137 1741085100.0 `1741085415.010136 1741085100.0 `1741085444.009123 1741085100.0 `1741085454.010135 1741085100.0 `1741085464.010137 1741085100.0 `1741085474.010135 1741085100.0 `1741085485.010135 1741085100.0 `1741085495.010142 1741085100.0 `1741085505.010136 1741085100.0 `1741085514.009125 1741085100.0 `1741085524.010152 1741085100.0 `1741085534.010135 1741085100.0 `1741085575.010136 1741085100.0 `1741085585.010148 1741085100.0 `1741085604.010137 1741085100.0 `1741085614.010139 1741085100.0 `1741085625.010135 1741085100.0 `1741085635.010143 1741085100.0 `1741085645.010156 1741085100.0 `1741085664.009126 1741085100.0 `1741085674.010137 1741085100.0 `1741085684.01014 1741085100.0 `1741085705.010154 1741085100.0 `1741085715.010133 1741085100.0 `1741085744.010139 1741085100.0 `1741085754.010138 1741085100.0 `1741085764.010143 1741085100.0 `1741085775.010136 1741085100.0 `1741085785.010134 1741085100.0 `1741085795.010134 1741085100.0 `1741085804.009126 1741085100.0 `1741085814.010136 1741085100.0 `1741085824.010153 1741085100.0 `1741085834.010136 1741085100.0 `1741085845.010136 1741085100.0 `1741085855.010135 1741085100.0 `1741085865.010135 1741085100.0 `1741085894.010135 1741085100.0 `1741085904.010134 1741085100.0 `1741085915.010134 1741085100.0 `1741085925.010136 1741085100.0 `1741085935.010139 1741085100.0 list printed: [[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62], [63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114], [115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181], [182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247], [248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279], [280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346]] forced_hashtag: JRM force hashtag to JRM elapsed_time : SPLIT_TIME 0.017230987548828125 ***** END SPLIT TIME ***** NUMBER BATCH : 6 list_ponderation used : [1e-05, 1e-05, 1e-05, 1e-05, 1e-05] , list_hashtag_class_create_as_list : ['jrm'] ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info result_one_balle_Type_JRM:{'day': '04032025', 'map_nb_amount': {0: 4, 1: 43, 2: 7, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 840.0000069141388, 'nb_balles_papier': 0.0005400000000000008, 'begin_time_port': 'image_04032025_10_30_54_010133m0.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.0005400000000000008 We reject this portfolio because of the condition_save_data : 2025-03-04 10:30:54.010133 result_one_balle_Type_JRM:{'day': '04032025', 'map_nb_amount': {0: 0, 1: 47, 2: 5, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 829.9999859333038, 'nb_balles_papier': 0.0005200000000000007, 'begin_time_port': 'image_04032025_10_45_04_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.0005200000000000007 We reject this portfolio because of the condition_save_data : 2025-03-04 10:45:04.010150 result_one_balle_Type_JRM:{'day': '04032025', 'map_nb_amount': {0: 6, 1: 59, 2: 2, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 879.9999399185181, 'nb_balles_papier': 0.0006700000000000011, 'begin_time_port': 'image_04032025_11_00_14_010199m0.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-03-04 11:00:14.010199 ERROR missing amount info result_one_balle_Type_JRM:{'day': '04032025', 'map_nb_amount': {0: 3, 1: 56, 2: 6, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 890.999990940094, 'nb_balles_papier': 0.0006500000000000011, 'begin_time_port': 'image_04032025_11_15_04_010145m0.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.0006500000000000011 We reject this portfolio because of the condition_save_data : 2025-03-04 11:15:04.010145 ERROR missing amount info ERROR missing amount info 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': '04032025', 'map_nb_amount': {0: 2, 1: 17, 2: 5, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 888.9999620914459, 'nb_balles_papier': 0.00024, 'begin_time_port': 'image_04032025_11_30_05_010175m0.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.00024 We reject this portfolio because of the condition_save_data : 2025-03-04 11:30:05.010175 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info 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': '04032025', 'map_nb_amount': {0: 3, 1: 24, 2: 9, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 830.999990940094, 'nb_balles_papier': 0.0003600000000000003, 'begin_time_port': 'image_04032025_11_45_04_010148m0.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.0003600000000000003 We have rejected 0 photos because of the batch_size condition ! NUMBER BATCH list_of_portfolios_to_create : 1 Still a lot to verify ! Qualite : 0.06962726080030265 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`=21006668 AND mptpi.`type`=3726 To do elapsed_time : count_nb_balles_and_create_portfolio 0.29683351516723633 # DISPLAY ALL COLLECTED DATA : {'04032025': {'nb_upload': 347, 'nb_taggue_class': 595, 'nb_taggue_densite': 595}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1340789344, 1340789228, 1340789192, 1340789184, 1340789178, 1340789169, 1340788809, 1340788769, 1340788662, 1340788658, 1340788646, 1340788612, 1340788609, 1340788602, 1340788594, 1340788574, 1340788569, 1340788477, 1340788472, 1340788466, 1340788458, 1340788426, 1340788412, 1340788398, 1340788393, 1340788362, 1340788356, 1340788351, 1340788345, 1340788339, 1340788302, 1340788288, 1340788270, 1340788080, 1340788075, 1340788068, 1340788063, 1340788059, 1340788053, 1340787972, 1340787964, 1340787960, 1340787932, 1340787843, 1340787816, 1340787805, 1340787792, 1340787783, 1340787762, 1340787595, 1340787593, 1340787588, 1340787579, 1340787563, 1340787527, 1340787518, 1340787514, 1340787505, 1340787493, 1340787486, 1340787435, 1340787431, 1340787428, 1340787424, 1340787384, 1340787372, 1340787369, 1340787365, 1340787346, 1340787342, 1340787336, 1340787331, 1340787328, 1340787322, 1340787295, 1340787290, 1340787287, 1340787282, 1340786469, 1340786416, 1340786414, 1340786410, 1340786381, 1340786377, 1340786374, 1340786370, 1340785915, 1340785581, 1340785576, 1340785570, 1340785564, 1340785551, 1340785459, 1340785451, 1340785417, 1340785413, 1340785408, 1340785400, 1340785397, 1340785387] Looping around the photos to save general results len do output : 1 /20995339Didn'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, '2632416') ('4876', '20995339', '1340789344', None, None, None, None, None, '2632416') ('4876', None, None, None, None, None, None, None, '2632416') ('4876', '20995339', '1340789228', None, None, None, None, None, '2632416') ('4876', None, None, None, None, None, None, None, '2632416') ('4876', '20995339', '1340789192', None, None, None, None, None, '2632416') ('4876', None, None, None, None, None, None, None, '2632416') ('4876', '20995339', '1340789184', None, None, None, None, None, '2632416') ('4876', None, None, None, None, None, None, None, '2632416') ('4876', '20995339', '1340789178', None, None, None, None, None, '2632416') ('4876', None, None, None, None, None, None, None, '2632416') ('4876', '20995339', '1340789169', None, None, None, None, None, '2632416') ('4876', None, None, None, None, None, None, None, '2632416') ('4876', '20995339', '1340788809', None, None, None, None, None, '2632416') ('4876', None, None, None, None, None, None, None, '2632416') ('4876', '20995339', '1340788769', None, None, None, None, None, '2632416') ('4876', None, None, None, None, None, None, None, '2632416') ('4876', '20995339', '1340788662', None, None, None, None, None, '2632416') ('4876', None, None, None, None, None, None, None, '2632416') ('4876', '20995339', '1340788658', None, None, None, None, None, '2632416') ('4876', None, None, None, None, None, None, None, '2632416') ('4876', '20995339', '1340788646', None, None, None, None, None, '2632416') ('4876', None, None, None, None, None, None, None, '2632416') ('4876', '20995339', '1340788612', None, None, None, None, None, '2632416') ('4876', None, None, None, None, None, None, None, '2632416') ('4876', '20995339', '1340788609', None, None, None, None, None, '2632416') ('4876', None, None, None, None, None, None, None, '2632416') ('4876', '20995339', '1340788602', None, None, None, None, None, '2632416') ('4876', None, None, None, None, None, None, None, '2632416') ('4876', '20995339', '1340788594', None, None, None, None, None, '2632416') ('4876', None, None, None, None, None, None, None, '2632416') ('4876', '20995339', '1340788574', None, None, None, None, None, '2632416') ('4876', None, None, None, None, None, None, None, '2632416') ('4876', '20995339', '1340788569', None, None, None, None, None, '2632416') ('4876', None, None, None, None, None, None, None, '2632416') ('4876', '20995339', '1340788477', None, None, None, None, None, '2632416') ('4876', None, None, None, None, None, None, None, '2632416') ('4876', '20995339', '1340788472', None, None, None, None, None, '2632416') ('4876', None, None, None, None, None, None, None, '2632416') ('4876', '20995339', '1340788466', None, None, None, None, None, '2632416') ('4876', None, None, None, None, None, None, None, '2632416') ('4876', '20995339', '1340788458', None, None, None, None, None, '2632416') ('4876', None, None, None, None, None, None, None, '2632416') ('4876', '20995339', '1340788426', None, None, None, None, None, '2632416') ('4876', None, None, None, None, None, None, None, '2632416') ('4876', '20995339', '1340788412', None, None, None, None, None, '2632416') ('4876', None, None, None, None, None, None, None, '2632416') ('4876', '20995339', '1340788398', None, None, None, None, None, '2632416') ('4876', None, None, None, None, None, None, None, '2632416') ('4876', '20995339', '1340788393', None, None, None, None, None, '2632416') ('4876', None, None, None, None, None, None, None, '2632416') ('4876', '20995339', '1340788362', None, None, None, None, None, '2632416') ('4876', None, None, None, None, None, None, None, '2632416') ('4876', '20995339', '1340788356', None, None, None, None, None, '2632416') ('4876', None, None, None, None, None, None, None, '2632416') ('4876', '20995339', '1340788351', None, None, None, None, None, '2632416') ('4876', None, None, None, None, None, None, None, '2632416') ('4876', '20995339', '1340788345', None, None, None, None, None, '2632416') ('4876', None, None, None, None, None, None, None, '2632416') ('4876', '20995339', '1340788339', None, None, None, None, None, '2632416') ('4876', None, None, None, None, None, None, None, '2632416') ('4876', '20995339', '1340788302', None, None, None, None, None, '2632416') ('4876', None, None, None, None, None, None, None, '2632416') ('4876', '20995339', '1340788288', None, None, None, None, None, '2632416') ('4876', None, None, None, None, None, None, None, '2632416') ('4876', '20995339', '1340788270', None, None, None, None, None, '2632416') ('4876', None, None, None, None, None, None, None, '2632416') ('4876', '20995339', '1340788080', None, None, None, None, None, '2632416') ('4876', None, None, None, None, None, None, None, '2632416') ('4876', '20995339', '1340788075', None, None, None, None, None, '2632416') ('4876', None, None, None, None, None, None, None, '2632416') ('4876', '20995339', '1340788068', None, None, None, None, None, '2632416') ('4876', None, None, None, None, None, None, None, '2632416') ('4876', '20995339', '1340788063', None, None, None, None, None, '2632416') ('4876', None, None, None, None, None, None, None, '2632416') ('4876', '20995339', '1340788059', None, None, None, None, None, '2632416') ('4876', None, None, None, None, None, None, None, '2632416') ('4876', '20995339', '1340788053', None, None, None, None, None, '2632416') ('4876', None, None, None, None, None, None, None, '2632416') ('4876', '20995339', '1340787972', None, None, None, None, None, '2632416') ('4876', None, None, None, None, None, None, None, '2632416') ('4876', '20995339', '1340787964', None, None, None, None, None, '2632416') ('4876', None, None, None, None, None, None, None, '2632416') ('4876', '20995339', '1340787960', None, None, None, None, None, '2632416') ('4876', None, None, None, None, None, None, None, '2632416') ('4876', '20995339', '1340787932', None, None, None, None, None, '2632416') ('4876', None, None, None, None, None, None, None, '2632416') ('4876', '20995339', '1340787843', None, None, None, None, None, '2632416') ('4876', None, None, None, None, None, None, None, '2632416') ('4876', '20995339', '1340787816', None, None, None, None, None, '2632416') ('4876', None, None, None, None, None, None, None, '2632416') ('4876', '20995339', '1340787805', None, None, None, None, None, '2632416') ('4876', None, None, None, None, None, None, None, '2632416') ('4876', '20995339', '1340787792', None, None, None, None, None, '2632416') ('4876', None, None, None, None, None, None, None, '2632416') ('4876', '20995339', '1340787783', None, None, None, None, None, '2632416') ('4876', None, None, None, None, None, None, None, '2632416') ('4876', '20995339', '1340787762', None, None, None, None, None, '2632416') ('4876', None, None, None, None, None, None, None, '2632416') ('4876', '20995339', '1340787595', None, None, None, None, None, '2632416') ('4876', None, None, None, None, None, None, None, '2632416') ('4876', '20995339', '1340787593', None, None, None, None, None, '2632416') ('4876', None, None, None, None, None, None, None, '2632416') ('4876', '20995339', '1340787588', None, None, None, None, None, '2632416') ('4876', None, None, None, None, None, None, None, '2632416') ('4876', '20995339', '1340787579', None, None, None, None, None, '2632416') ('4876', None, None, None, None, None, None, None, '2632416') ('4876', '20995339', '1340787563', None, None, None, None, None, '2632416') ('4876', None, None, None, None, None, None, None, '2632416') ('4876', '20995339', '1340787527', None, None, None, None, None, '2632416') ('4876', None, None, None, None, None, None, None, '2632416') ('4876', '20995339', '1340787518', None, None, None, None, None, '2632416') ('4876', None, None, None, None, None, None, None, '2632416') ('4876', '20995339', '1340787514', None, None, None, None, None, '2632416') ('4876', None, None, None, None, None, None, None, '2632416') ('4876', '20995339', '1340787505', None, None, None, None, None, '2632416') ('4876', None, None, None, None, None, None, None, '2632416') ('4876', '20995339', '1340787493', None, None, None, None, None, '2632416') ('4876', None, None, None, None, None, None, None, '2632416') ('4876', '20995339', '1340787486', None, None, None, None, None, '2632416') ('4876', None, None, None, None, None, None, None, '2632416') ('4876', '20995339', '1340787435', None, None, None, None, None, '2632416') ('4876', None, None, None, None, None, None, None, '2632416') ('4876', '20995339', '1340787431', None, None, None, None, None, '2632416') ('4876', None, None, None, None, None, None, None, '2632416') ('4876', '20995339', '1340787428', None, None, None, None, None, '2632416') ('4876', None, None, None, None, None, None, None, '2632416') ('4876', '20995339', '1340787424', None, None, None, None, None, '2632416') ('4876', None, None, None, None, None, None, None, '2632416') ('4876', '20995339', '1340787384', None, None, None, None, None, '2632416') ('4876', None, None, None, None, None, None, None, '2632416') ('4876', '20995339', '1340787372', None, None, None, None, None, '2632416') ('4876', None, None, None, None, None, None, None, '2632416') ('4876', '20995339', '1340787369', None, None, None, None, None, '2632416') ('4876', None, None, None, None, None, None, None, '2632416') ('4876', '20995339', '1340787365', None, None, None, None, None, '2632416') ('4876', None, None, None, None, None, None, None, '2632416') ('4876', '20995339', '1340787346', None, None, None, None, None, '2632416') ('4876', None, None, None, None, None, None, None, '2632416') ('4876', '20995339', '1340787342', None, None, None, None, None, '2632416') ('4876', None, None, None, None, None, None, None, '2632416') ('4876', '20995339', '1340787336', None, None, None, None, None, '2632416') ('4876', None, None, None, None, None, None, None, '2632416') ('4876', '20995339', '1340787331', None, None, None, None, None, '2632416') ('4876', None, None, None, None, None, None, None, '2632416') ('4876', '20995339', '1340787328', None, None, None, None, None, '2632416') ('4876', None, None, None, None, None, None, None, '2632416') ('4876', '20995339', '1340787322', None, None, None, None, None, '2632416') ('4876', None, None, None, None, None, None, None, '2632416') ('4876', '20995339', '1340787295', None, None, None, None, None, '2632416') ('4876', None, None, None, None, None, None, None, '2632416') ('4876', '20995339', '1340787290', None, None, None, None, None, '2632416') ('4876', None, None, None, None, None, None, None, '2632416') ('4876', '20995339', '1340787287', None, None, None, None, None, '2632416') ('4876', None, None, None, None, None, None, None, '2632416') ('4876', '20995339', '1340787282', None, None, None, None, None, '2632416') ('4876', None, None, None, None, None, None, None, '2632416') ('4876', '20995339', '1340786469', None, None, None, None, None, '2632416') ('4876', None, None, None, None, None, None, None, '2632416') ('4876', '20995339', '1340786416', None, None, None, None, None, '2632416') ('4876', None, None, None, None, None, None, None, '2632416') ('4876', '20995339', '1340786414', None, None, None, None, None, '2632416') ('4876', None, None, None, None, None, None, None, '2632416') ('4876', '20995339', '1340786410', None, None, None, None, None, '2632416') ('4876', None, None, None, None, None, None, None, '2632416') ('4876', '20995339', '1340786381', None, None, None, None, None, '2632416') ('4876', None, None, None, None, None, None, None, '2632416') ('4876', '20995339', '1340786377', None, None, None, None, None, '2632416') ('4876', None, None, None, None, None, None, None, '2632416') ('4876', '20995339', '1340786374', None, None, None, None, None, '2632416') ('4876', None, None, None, None, None, None, None, '2632416') ('4876', '20995339', '1340786370', None, None, None, None, None, '2632416') ('4876', None, None, None, None, None, None, None, '2632416') ('4876', '20995339', '1340785915', None, None, None, None, None, '2632416') ('4876', None, None, None, None, None, None, None, '2632416') ('4876', '20995339', '1340785581', None, None, None, None, None, '2632416') ('4876', None, None, None, None, None, None, None, '2632416') ('4876', '20995339', '1340785576', None, None, None, None, None, '2632416') ('4876', None, None, None, None, None, None, None, '2632416') ('4876', '20995339', '1340785570', None, None, None, None, None, '2632416') ('4876', None, None, None, None, None, None, None, '2632416') ('4876', '20995339', '1340785564', None, None, None, None, None, '2632416') ('4876', None, None, None, None, None, None, None, '2632416') ('4876', '20995339', '1340785551', None, None, None, None, None, '2632416') ('4876', None, None, None, None, None, None, None, '2632416') ('4876', '20995339', '1340785459', None, None, None, None, None, '2632416') ('4876', None, None, None, None, None, None, None, '2632416') ('4876', '20995339', '1340785451', None, None, None, None, None, '2632416') ('4876', None, None, None, None, None, None, None, '2632416') ('4876', '20995339', '1340785417', None, None, None, None, None, '2632416') ('4876', None, None, None, None, None, None, None, '2632416') ('4876', '20995339', '1340785413', None, None, None, None, None, '2632416') ('4876', None, None, None, None, None, None, None, '2632416') ('4876', '20995339', '1340785408', None, None, None, None, None, '2632416') ('4876', None, None, None, None, None, None, None, '2632416') ('4876', '20995339', '1340785400', None, None, None, None, None, '2632416') ('4876', None, None, None, None, None, None, None, '2632416') ('4876', '20995339', '1340785397', None, None, None, None, None, '2632416') ('4876', None, None, None, None, None, None, None, '2632416') ('4876', '20995339', '1340785387', None, None, None, None, None, '2632416') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 101 time used for this insertion : 0.027385950088500977 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.5473465919494629 time spend to save output : 0.028043270111083984 total time spend for step 1 : 0.5753898620605469 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.25user 0.68system 0:02.50elapsed 77%CPU (0avgtext+0avgdata 101536maxresident)k 0inputs+80outputs (51major+49052minor)pagefaults 0swaps