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 : 3519033 load datou : 4876 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) DONE and to test : checkNoCycle ! We are managing only one step so we do not consider checkConsistencyNbInputNbOutput ! We are managing only one step so we do not consider checkConsistencyTypeOutputInput ! Unexpected type for variable list_input_json ERROR or WARNING : can't parse json string Expecting value: line 1 column 1 (char 0) Tried to parse : None was removed should we ? donnée sous forme de texte was removed should we ? [ptf_id0,ptf_id1...] was removed should we ? load thcls load pdts Running datou job : batch_current TODO datou_current to load to do maybe to take outside batchDatouExec no input labels no input values updating current state to 1 we have a portfolio with more photos than limit : 2328>1000 please execute split_portfolio.py -i 20385772 -l 1000 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4876, datou_cur_ids : ['2573281'] with mtr_portfolio_ids : ['20385772'] and first list_photo_ids : [] new path : /proc/3519033/ 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.03146958351135254 About to test input to load Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 1 step1:split_time_score Mon Feb 10 18:28:28 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec begin split time score 2022-04-13 10:29:59 0 TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 3379, 'mtr_user_id': 31, 'name': 'learn_classif_flux_maj_generique_effnet_v2_s_02062022', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'aluminium,ela,film_pedb,flux_dev,jrm,pcm,pcnc,pehd_pp,pet_clair,refus,tapis_vide', 'svm_portfolios_learning': '5515864,5515840,5515844,5515850,6244400,6237996,6237998,5515847,5515841,5515868,5515866', 'photo_hashtag_type': 4374, 'photo_desc_type': 5680, 'type_classification': 'tf_classification2', 'hashtag_id_list': '493546845,492741797,2107760237,2107760238,495916461,560181804,1284539308,2107760239,2107755846,538914404,2107748999'}] thcls : [{'id': 3513, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2_tf', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 4557, 'photo_desc_type': 5767, 'type_classification': 'tf_classification2', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] (('05', 165), ('06', 191), ('07', 199), ('08', 219), ('09', 70), ('10', 267), ('11', 263), ('12', 51), ('13', 67), ('14', 176), ('15', 231), ('16', 200), ('17', 130), ('18', 99)) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {1: 2227} 10022025 20385772 Nombre de photos uploadées : 322 / 23040 (1%) 10022025 20385772 Nombre de photos taguées (types de déchets): 2227 / 322 (691%) 10022025 20385772 Nombre de photos taguées (volume) : 2227 / 322 (691%) elapsed_time : load_data_split_time_score 3.0994415283203125e-06 elapsed_time : order_list_meta_photo_and_scores 0.0009577274322509766 ????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.08556151390075684 elapsed_time : insert_dashboard_record_day_entry 0.02553081512451172 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 elapsed_time : list_photo_by_hashtags 0.016677379608154297 photos_removed : len 0 elapsed_time : load_duplicate_info 0.025359630584716797 ***** BEGIN SPLIT TIME ***** True 1739145600.0 `1739201164.01014 1739200500.0 `1739201615.010151 1739201400.0 `1739201694.009128 1739201400.0 `1739201704.010156 1739201400.0 `1739201714.010137 1739201400.0 `1739201724.010136 1739201400.0 `1739201735.010141 1739201400.0 `1739201745.010144 1739201400.0 `1739201755.010146 1739201400.0 `1739201764.009145 1739201400.0 `1739201774.010138 1739201400.0 `1739201784.010142 1739201400.0 `1739201805.010136 1739201400.0 `1739201825.010156 1739201400.0 `1739201834.009128 1739201400.0 `1739201844.010138 1739201400.0 `1739201854.010141 1739201400.0 `1739201895.010136 1739201400.0 `1739201904.009124 1739201400.0 `1739201914.010146 1739201400.0 `1739201924.010148 1739201400.0 `1739201934.010146 1739201400.0 `1739201945.01014 1739201400.0 `1739201955.010136 1739201400.0 `1739201974.00913 1739201400.0 `1739201984.010137 1739201400.0 `1739201994.010137 1739201400.0 `1739202004.010166 1739201400.0 `1739202015.010142 1739201400.0 `1739202025.010142 1739201400.0 `1739202035.010135 1739201400.0 `1739202064.010196 1739201400.0 `1739202074.010139 1739201400.0 `1739202085.010133 1739201400.0 `1739202105.010147 1739201400.0 `1739202114.009129 1739201400.0 `1739202124.01017 1739201400.0 `1739202134.010143 1739201400.0 `1739202144.010141 1739201400.0 `1739202155.010135 1739201400.0 `1739202165.010138 1739201400.0 `1739202175.01014 1739201400.0 `1739202184.009145 1739201400.0 `1739202194.010152 1739201400.0 `1739202204.010138 1739201400.0 `1739202214.010137 1739201400.0 `1739202225.010138 1739201400.0 `1739202235.010139 1739201400.0 `1739202245.01016 1739201400.0 `1739202284.010132 1739201400.0 `1739202295.010139 1739201400.0 `1739202315.010133 1739202300.0 `1739202334.010144 1739202300.0 `1739202344.010148 1739202300.0 `1739202365.01015 1739202300.0 `1739202375.010137 1739202300.0 `1739202385.010141 1739202300.0 `1739202394.009137 1739202300.0 `1739202414.01014 1739202300.0 `1739202424.01017 1739202300.0 `1739202435.010137 1739202300.0 `1739202455.010138 1739202300.0 `1739202494.01014 1739202300.0 `1739202505.010134 1739202300.0 `1739202595.010136 1739202300.0 `1739202634.010147 1739202300.0 `1739202645.010136 1739202300.0 `1739202665.010149 1739202300.0 `1739202694.010145 1739202300.0 `1739202715.010149 1739202300.0 `1739202725.010164 1739202300.0 `1739202735.010137 1739202300.0 `1739202744.009125 1739202300.0 `1739202754.010156 1739202300.0 `1739202764.010147 1739202300.0 `1739202774.010134 1739202300.0 `1739202785.010145 1739202300.0 `1739202795.010135 1739202300.0 `1739202805.010135 1739202300.0 `1739202814.009125 1739202300.0 `1739202824.010146 1739202300.0 `1739202865.010142 1739202300.0 `1739202894.010143 1739202300.0 `1739202914.010142 1739202300.0 `1739202925.010135 1739202300.0 `1739203034.010135 1739202300.0 `1739203065.01014 1739202300.0 `1739203085.010161 1739202300.0 `1739203094.009129 1739202300.0 `1739203104.010143 1739202300.0 `1739203114.01015 1739202300.0 `1739203124.010153 1739202300.0 `1739203135.010138 1739202300.0 `1739203215.010204 1739203200.0 `1739203225.010138 1739203200.0 `1739203235.010137 1739203200.0 `1739203245.010136 1739203200.0 `1739203255.010137 1739203200.0 `1739203265.010151 1739203200.0 `1739203274.009127 1739203200.0 `1739203284.010136 1739203200.0 `1739203305.010138 1739203200.0 `1739203315.010139 1739203200.0 `1739203335.010137 1739203200.0 `1739203344.009128 1739203200.0 `1739203365.010138 1739203200.0 `1739203375.010146 1739203200.0 `1739203385.010151 1739203200.0 `1739203395.010139 1739203200.0 `1739203405.010135 1739203200.0 `1739203415.010139 1739203200.0 `1739203435.010139 1739203200.0 `1739203445.010157 1739203200.0 `1739203455.010138 1739203200.0 `1739203465.010136 1739203200.0 `1739203475.010136 1739203200.0 `1739203485.010136 1739203200.0 `1739203494.009135 1739203200.0 `1739203505.010157 1739203200.0 `1739203515.010137 1739203200.0 `1739203525.010136 1739203200.0 `1739203535.010135 1739203200.0 `1739203575.010136 1739203200.0 `1739203585.010135 1739203200.0 `1739203605.010138 1739203200.0 `1739203615.010136 1739203200.0 `1739203625.010147 1739203200.0 `1739203645.010135 1739203200.0 `1739203665.010141 1739203200.0 `1739203685.010135 1739203200.0 `1739203695.010141 1739203200.0 `1739203714.010141 1739203200.0 `1739203745.010152 1739203200.0 `1739203765.010136 1739203200.0 `1739203775.010148 1739203200.0 `1739203815.010137 1739203200.0 `1739203835.010142 1739203200.0 `1739203845.01014 1739203200.0 `1739203865.010146 1739203200.0 `1739203885.010137 1739203200.0 `1739203895.010143 1739203200.0 `1739203915.010137 1739203200.0 `1739203935.010136 1739203200.0 `1739203945.010135 1739203200.0 `1739203955.010146 1739203200.0 `1739203965.010146 1739203200.0 `1739203975.010137 1739203200.0 `1739203985.010154 1739203200.0 `1739203994.009128 1739203200.0 `1739204005.010134 1739203200.0 `1739204015.010138 1739203200.0 `1739204025.010141 1739203200.0 `1739204035.010139 1739203200.0 `1739204045.010148 1739203200.0 `1739204085.010137 1739203200.0 `1739204095.010137 1739203200.0 `1739204105.01015 1739204100.0 `1739204115.01014 1739204100.0 `1739204125.010138 1739204100.0 `1739204134.009134 1739204100.0 `1739204144.010144 1739204100.0 `1739204155.010136 1739204100.0 `1739204165.010161 1739204100.0 `1739204175.010141 1739204100.0 `1739204185.010137 1739204100.0 `1739204195.010135 1739204100.0 `1739204204.009129 1739204100.0 `1739204214.010136 1739204100.0 `1739204225.010149 1739204100.0 `1739204235.010135 1739204100.0 `1739204245.010135 1739204100.0 `1739204255.010138 1739204100.0 `1739204275.01014 1739204100.0 `1739204284.009134 1739204100.0 `1739204325.010141 1739204100.0 `1739204335.010135 1739204100.0 `1739204345.010161 1739204100.0 `1739204354.009126 1739204100.0 `1739204365.010133 1739204100.0 `1739204375.01015 1739204100.0 `1739204385.010147 1739204100.0 `1739204395.010134 1739204100.0 `1739204405.010143 1739204100.0 `1739204415.010139 1739204100.0 `1739204424.009125 1739204100.0 `1739204445.010137 1739204100.0 `1739204455.01014 1739204100.0 `1739204465.010153 1739204100.0 `1739204475.010136 1739204100.0 `1739204485.010134 1739204100.0 `1739204494.009125 1739204100.0 `1739204504.010134 1739204100.0 `1739204535.010136 1739204100.0 `1739204545.010133 1739204100.0 `1739204565.010144 1739204100.0 `1739204574.009129 1739204100.0 `1739204595.010136 1739204100.0 `1739204605.010135 1739204100.0 `1739204665.010143 1739204100.0 `1739204675.01014 1739204100.0 `1739204695.010136 1739204100.0 `1739204705.010152 1739204100.0 `1739204714.009133 1739204100.0 `1739204725.010136 1739204100.0 `1739204735.01015 1739204100.0 `1739204755.010144 1739204100.0 `1739204765.010142 1739204100.0 `1739204805.010134 1739204100.0 `1739204825.010152 1739204100.0 `1739204835.010135 1739204100.0 `1739204845.010135 1739204100.0 `1739204854.009132 1739204100.0 `1739204865.010143 1739204100.0 `1739204875.010136 1739204100.0 `1739204885.010162 1739204100.0 `1739204905.010135 1739204100.0 `1739204915.010142 1739204100.0 `1739204935.010137 1739204100.0 `1739204945.010154 1739204100.0 `1739204955.010136 1739204100.0 `1739204965.010135 1739204100.0 `1739204975.010143 1739204100.0 `1739206564.009154 1739205900.0 `1739207034.010138 1739206800.0 `1739207044.009137 1739206800.0 `1739207054.010148 1739206800.0 `1739207064.010136 1739206800.0 `1739207084.010139 1739206800.0 `1739207094.010138 1739206800.0 `1739207104.010171 1739206800.0 `1739207114.009176 1739206800.0 `1739207124.010145 1739206800.0 `1739207134.010136 1739206800.0 `1739207144.010137 1739206800.0 `1739207154.010141 1739206800.0 `1739207204.010136 1739206800.0 `1739207214.010137 1739206800.0 `1739207254.00913 1739206800.0 `1739207264.010145 1739206800.0 `1739207274.010147 1739206800.0 `1739207284.010149 1739206800.0 `1739207304.010138 1739206800.0 `1739207314.010142 1739206800.0 `1739207334.01014 1739206800.0 `1739207344.010153 1739206800.0 `1739207354.010135 1739206800.0 `1739207364.010135 1739206800.0 `1739207374.010135 1739206800.0 `1739207384.010135 1739206800.0 `1739207395.010136 1739206800.0 `1739207404.009131 1739206800.0 `1739207424.010136 1739206800.0 `1739207434.010135 1739206800.0 `1739207464.010143 1739206800.0 `1739207474.009127 1739206800.0 `1739207484.010135 1739206800.0 `1739207494.010143 1739206800.0 `1739207504.010145 1739206800.0 `1739207514.010137 1739206800.0 `1739207534.01014 1739206800.0 `1739207544.009125 1739206800.0 `1739207554.010137 1739206800.0 `1739207564.010137 1739206800.0 `1739207574.010136 1739206800.0 `1739207584.010158 1739206800.0 `1739207594.010137 1739206800.0 `1739207604.010135 1739206800.0 `1739207644.010185 1739206800.0 `1739207654.010135 1739206800.0 `1739207664.010134 1739206800.0 `1739207674.010141 1739206800.0 `1739207684.009129 1739206800.0 `1739207694.010142 1739206800.0 `1739207714.010136 1739207700.0 `1739207724.010144 1739207700.0 `1739207734.010134 1739207700.0 `1739207744.010135 1739207700.0 `1739207774.010139 1739207700.0 `1739207784.010134 1739207700.0 `1739207794.010143 1739207700.0 `1739207804.010146 1739207700.0 `1739207824.00914 1739207700.0 `1739207834.010139 1739207700.0 `1739207844.01014 1739207700.0 `1739207864.010153 1739207700.0 `1739207874.010136 1739207700.0 `1739207914.010133 1739207700.0 `1739207924.010136 1739207700.0 `1739207944.010156 1739207700.0 `1739207954.010139 1739207700.0 `1739207964.010139 1739207700.0 `1739207974.009138 1739207700.0 `1739207984.010147 1739207700.0 `1739207994.010141 1739207700.0 `1739208004.010152 1739207700.0 `1739208024.010136 1739207700.0 `1739208034.010134 1739207700.0 `1739208044.009124 1739207700.0 `1739208054.010143 1739207700.0 `1739208064.010152 1739207700.0 `1739208084.010134 1739207700.0 `1739208094.010133 1739207700.0 `1739208114.009126 1739207700.0 `1739208124.010155 1739207700.0 `1739208164.010142 1739207700.0 `1739208174.010137 1739207700.0 `1739208194.010147 1739207700.0 `1739208204.010145 1739207700.0 `1739208214.010144 1739207700.0 `1739208224.010143 1739207700.0 `1739208234.010138 1739207700.0 `1739208244.010147 1739207700.0 `1739208254.009202 1739207700.0 `1739208264.010135 1739207700.0 `1739208284.010136 1739207700.0 `1739208304.010144 1739207700.0 `1739208314.010137 1739207700.0 `1739208324.009126 1739207700.0 `1739208334.010148 1739207700.0 `1739208344.010159 1739207700.0 `1739208354.010137 1739207700.0 `1739208394.009131 1739207700.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]] forced_hashtag: JRM force hashtag to JRM elapsed_time : SPLIT_TIME 0.015946388244628906 ***** END SPLIT TIME ***** NUMBER BATCH : 8 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 result_one_balle_Type_JRM:{'day': '10022025', 'map_nb_amount': {0: 3, 1: 38, 2: 1, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 679.999988079071, 'nb_balles_papier': 0.00042000000000000045, 'begin_time_port': 'image_10022025_16_33_35_10151.jpg'} Production hashtag (incorrect ponderation at 20-10-18) : 0.00042000000000000045 We reject this portfolio because of the condition_save_data : 2025-02-10 16:33:35.010151 ERROR missing amount info result_one_balle_Type_JRM:{'day': '10022025', 'map_nb_amount': {0: 4, 1: 36, 2: 1, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 820.0000050067902, 'nb_balles_papier': 0.0004100000000000004, 'begin_time_port': 'image_10022025_16_45_15_010133m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 0.0004100000000000004 We reject this portfolio because of the condition_save_data : 2025-02-10 16:45:15.010133 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info result_one_balle_Type_JRM:{'day': '10022025', 'map_nb_amount': {0: 6, 1: 44, 2: 9, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 879.9999330043793, 'nb_balles_papier': 0.0005900000000000009, 'begin_time_port': 'image_10022025_17_00_15_010204m0.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.0005900000000000009 We reject this portfolio because of the condition_save_data : 2025-02-10 17:00:15.010204 result_one_balle_Type_JRM:{'day': '10022025', 'map_nb_amount': {0: 7, 1: 51, 2: 8, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 869.9999930858612, 'nb_balles_papier': 0.0006600000000000011, 'begin_time_port': 'image_10022025_17_15_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.0006600000000000011 We reject this portfolio because of the condition_save_data : 2025-02-10 17:15:05.010150 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info 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': '10022025', 'map_nb_amount': {0: 6, 1: 21, 2: 10, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 660.0000040531158, 'nb_balles_papier': 0.0003700000000000003, 'begin_time_port': 'image_10022025_18_03_54_10138.jpg'} Production hashtag (incorrect ponderation at 20-10-18) : 0.0003700000000000003 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info 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': '10022025', 'map_nb_amount': {0: 2, 1: 22, 2: 8, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 679.9989950656891, 'nb_balles_papier': 0.0003200000000000002, 'begin_time_port': 'image_10022025_18_15_14_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.0003200000000000002 We have rejected 2 photos because of the batch_size condition ! NUMBER BATCH list_of_portfolios_to_create : 2 Still a lot to verify ! We need to add photos : {1336561856, 1336561893, 1336561903, 1336561840, 1336561843, 1336561848, 1336561851, 1336561855} Still a lot to verify ! Qualite : 0.03550536732652263 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`=20413473 AND mptpi.`type`=3726 To do Qualite : 0.036520992113039705 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`=20413963 AND mptpi.`type`=3726 To do elapsed_time : count_nb_balles_and_create_portfolio 0.5620050430297852 # DISPLAY ALL COLLECTED DATA : {'10022025': {'nb_upload': 322, 'nb_taggue_class': 2227, 'nb_taggue_densite': 2227}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1336561903, 1336561893, 1336561856, 1336561855, 1336561851, 1336561848, 1336561843, 1336561840, 1336561783, 1336561779, 1336561772, 1336561747, 1336561571, 1336561568, 1336561559, 1336561531, 1336561524, 1336561298, 1336561239, 1336561236, 1336560978, 1336560976, 1336560973, 1336560971, 1336560936, 1336560930, 1336560927, 1336560923, 1336560920, 1336560893, 1336560880, 1336560869, 1336560851, 1336560848, 1336560829, 1336560747, 1336560745, 1336560708, 1336560703, 1336560699, 1336560697, 1336560695, 1336560468, 1336560454, 1336560237, 1336560234, 1336559996, 1336559991, 1336559988, 1336559987, 1336559980, 1336559975, 1336559968, 1336559923, 1336559918, 1336559897, 1336559627, 1336559623, 1336559620, 1336559489, 1336559485, 1336559483, 1336559429, 1336559395, 1336559074, 1336559068, 1336559027, 1336559023, 1336559018, 1336559016, 1336558967, 1336558935, 1336558883, 1336558786, 1336558735, 1336558690, 1336558686, 1336558682, 1336558679, 1336558363, 1336558277, 1336558112, 1336558081, 1336558060, 1336558054, 1336558044, 1336558015, 1336557962, 1336557905, 1336557864, 1336557861, 1336557850, 1336557752, 1336557483, 1336557467, 1336557457, 1336557454, 1336557439, 1336557437, 1336555521] Looping around the photos to save general results len do output : 1 /20385772Didn'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, '2573281') ('4876', '20385772', '1336561903', None, None, None, None, None, '2573281') ('4876', None, None, None, None, None, None, None, '2573281') ('4876', '20385772', '1336561893', None, None, None, None, None, '2573281') ('4876', None, None, None, None, None, None, None, '2573281') ('4876', '20385772', '1336561856', None, None, None, None, None, '2573281') ('4876', None, None, None, None, None, None, None, '2573281') ('4876', '20385772', '1336561855', None, None, None, None, None, '2573281') ('4876', None, None, None, None, None, None, None, '2573281') ('4876', '20385772', '1336561851', None, None, None, None, None, '2573281') ('4876', None, None, None, None, None, None, None, '2573281') ('4876', '20385772', '1336561848', None, None, None, None, None, '2573281') ('4876', None, None, None, None, None, None, None, '2573281') ('4876', '20385772', '1336561843', None, None, None, None, None, '2573281') ('4876', None, None, None, None, None, None, None, '2573281') ('4876', '20385772', '1336561840', None, None, None, None, None, '2573281') ('4876', None, None, None, None, None, None, None, '2573281') ('4876', '20385772', '1336561783', None, None, None, None, None, '2573281') ('4876', None, None, None, None, None, None, None, '2573281') ('4876', '20385772', '1336561779', None, None, None, None, None, '2573281') ('4876', None, None, None, None, None, None, None, '2573281') ('4876', '20385772', '1336561772', None, None, None, None, None, '2573281') ('4876', None, None, None, None, None, None, None, '2573281') ('4876', '20385772', '1336561747', None, None, None, None, None, '2573281') ('4876', None, None, None, None, None, None, None, '2573281') ('4876', '20385772', '1336561571', None, None, None, None, None, '2573281') ('4876', None, None, None, None, None, None, None, '2573281') ('4876', '20385772', '1336561568', None, None, None, None, None, '2573281') ('4876', None, None, None, None, None, None, None, '2573281') ('4876', '20385772', '1336561559', None, None, None, None, None, '2573281') ('4876', None, None, None, None, None, None, None, '2573281') ('4876', '20385772', '1336561531', None, None, None, None, None, '2573281') ('4876', None, None, None, None, None, None, None, '2573281') ('4876', '20385772', '1336561524', None, None, None, None, None, '2573281') ('4876', None, None, None, None, None, None, None, '2573281') ('4876', '20385772', '1336561298', None, None, None, None, None, '2573281') ('4876', None, None, None, None, None, None, None, '2573281') ('4876', '20385772', '1336561239', None, None, None, None, None, '2573281') ('4876', None, None, None, None, None, None, None, '2573281') ('4876', '20385772', '1336561236', None, None, None, None, None, '2573281') ('4876', None, None, None, None, None, None, None, '2573281') ('4876', '20385772', '1336560978', None, None, None, None, None, '2573281') ('4876', None, None, None, None, None, None, None, '2573281') ('4876', '20385772', '1336560976', None, None, None, None, None, '2573281') ('4876', None, None, None, None, None, None, None, '2573281') ('4876', '20385772', '1336560973', None, None, None, None, None, '2573281') ('4876', None, None, None, None, None, None, None, '2573281') ('4876', '20385772', '1336560971', None, None, None, None, None, '2573281') ('4876', None, None, None, None, None, None, None, '2573281') ('4876', '20385772', '1336560936', None, None, None, None, None, '2573281') ('4876', None, None, None, None, None, None, None, '2573281') ('4876', '20385772', '1336560930', None, None, None, None, None, '2573281') ('4876', None, None, None, None, None, None, None, '2573281') ('4876', '20385772', '1336560927', None, None, None, None, None, '2573281') ('4876', None, None, None, None, None, None, None, '2573281') ('4876', '20385772', '1336560923', None, None, None, None, None, '2573281') ('4876', None, None, None, None, None, None, None, '2573281') ('4876', '20385772', '1336560920', None, None, None, None, None, '2573281') ('4876', None, None, None, None, None, None, None, '2573281') ('4876', '20385772', '1336560893', None, None, None, None, None, '2573281') ('4876', None, None, None, None, None, None, None, '2573281') ('4876', '20385772', '1336560880', None, None, None, None, None, '2573281') ('4876', None, None, None, None, None, None, None, '2573281') ('4876', '20385772', '1336560869', None, None, None, None, None, '2573281') ('4876', None, None, None, None, None, None, None, '2573281') ('4876', '20385772', '1336560851', None, None, None, None, None, '2573281') ('4876', None, None, None, None, None, None, None, '2573281') ('4876', '20385772', '1336560848', None, None, None, None, None, '2573281') ('4876', None, None, None, None, None, None, None, '2573281') ('4876', '20385772', '1336560829', None, None, None, None, None, '2573281') ('4876', None, None, None, None, None, None, None, '2573281') ('4876', '20385772', '1336560747', None, None, None, None, None, '2573281') ('4876', None, None, None, None, None, None, None, '2573281') ('4876', '20385772', '1336560745', None, None, None, None, None, '2573281') ('4876', None, None, None, None, None, None, None, '2573281') ('4876', '20385772', '1336560708', None, None, None, None, None, '2573281') ('4876', None, None, None, None, None, None, None, '2573281') ('4876', '20385772', '1336560703', None, None, None, None, None, '2573281') ('4876', None, None, None, None, None, None, None, '2573281') ('4876', '20385772', '1336560699', None, None, None, None, None, '2573281') ('4876', None, None, None, None, None, None, None, '2573281') ('4876', '20385772', '1336560697', None, None, None, None, None, '2573281') ('4876', None, None, None, None, None, None, None, '2573281') ('4876', '20385772', '1336560695', None, None, None, None, None, '2573281') ('4876', None, None, None, None, None, None, None, '2573281') ('4876', '20385772', '1336560468', None, None, None, None, None, '2573281') ('4876', None, None, None, None, None, None, None, '2573281') ('4876', '20385772', '1336560454', None, None, None, None, None, '2573281') ('4876', None, None, None, None, None, None, None, '2573281') ('4876', '20385772', '1336560237', None, None, None, None, None, '2573281') ('4876', None, None, None, None, None, None, None, '2573281') ('4876', '20385772', '1336560234', None, None, None, None, None, '2573281') ('4876', None, None, None, None, None, None, None, '2573281') ('4876', '20385772', '1336559996', None, None, None, None, None, '2573281') ('4876', None, None, None, None, None, None, None, '2573281') ('4876', '20385772', '1336559991', None, None, None, None, None, '2573281') ('4876', None, None, None, None, None, None, None, '2573281') ('4876', '20385772', '1336559988', None, None, None, None, None, '2573281') ('4876', None, None, None, None, None, None, None, '2573281') ('4876', '20385772', '1336559987', None, None, None, None, None, '2573281') ('4876', None, None, None, None, None, None, None, '2573281') ('4876', '20385772', '1336559980', None, None, None, None, None, '2573281') ('4876', None, None, None, None, None, None, None, '2573281') ('4876', '20385772', '1336559975', None, None, None, None, None, '2573281') ('4876', None, None, None, None, None, None, None, '2573281') ('4876', '20385772', '1336559968', None, None, None, None, None, '2573281') ('4876', None, None, None, None, None, None, None, '2573281') ('4876', '20385772', '1336559923', None, None, None, None, None, '2573281') ('4876', None, None, None, None, None, None, None, '2573281') ('4876', '20385772', '1336559918', None, None, None, None, None, '2573281') ('4876', None, None, None, None, None, None, None, '2573281') ('4876', '20385772', '1336559897', None, None, None, None, None, '2573281') ('4876', None, None, None, None, None, None, None, '2573281') ('4876', '20385772', '1336559627', None, None, None, None, None, '2573281') ('4876', None, None, None, None, None, None, None, '2573281') ('4876', '20385772', '1336559623', None, None, None, None, None, '2573281') ('4876', None, None, None, None, None, None, None, '2573281') ('4876', '20385772', '1336559620', None, None, None, None, None, '2573281') ('4876', None, None, None, None, None, None, None, '2573281') ('4876', '20385772', '1336559489', None, None, None, None, None, '2573281') ('4876', None, None, None, None, None, None, None, '2573281') ('4876', '20385772', '1336559485', None, None, None, None, None, '2573281') ('4876', None, None, None, None, None, None, None, '2573281') ('4876', '20385772', '1336559483', None, None, None, None, None, '2573281') ('4876', None, None, None, None, None, None, None, '2573281') ('4876', '20385772', '1336559429', None, None, None, None, None, '2573281') ('4876', None, None, None, None, None, None, None, '2573281') ('4876', '20385772', '1336559395', None, None, None, None, None, '2573281') ('4876', None, None, None, None, None, None, None, '2573281') ('4876', '20385772', '1336559074', None, None, None, None, None, '2573281') ('4876', None, None, None, None, None, None, None, '2573281') ('4876', '20385772', '1336559068', None, None, None, None, None, '2573281') ('4876', None, None, None, None, None, None, None, '2573281') ('4876', '20385772', '1336559027', None, None, None, None, None, '2573281') ('4876', None, None, None, None, None, None, None, '2573281') ('4876', '20385772', '1336559023', None, None, None, None, None, '2573281') ('4876', None, None, None, None, None, None, None, '2573281') ('4876', '20385772', '1336559018', None, None, None, None, None, '2573281') ('4876', None, None, None, None, None, None, None, '2573281') ('4876', '20385772', '1336559016', None, None, None, None, None, '2573281') ('4876', None, None, None, None, None, None, None, '2573281') ('4876', '20385772', '1336558967', None, None, None, None, None, '2573281') ('4876', None, None, None, None, None, None, None, '2573281') ('4876', '20385772', '1336558935', None, None, None, None, None, '2573281') ('4876', None, None, None, None, None, None, None, '2573281') ('4876', '20385772', '1336558883', None, None, None, None, None, '2573281') ('4876', None, None, None, None, None, None, None, '2573281') ('4876', '20385772', '1336558786', None, None, None, None, None, '2573281') ('4876', None, None, None, None, None, None, None, '2573281') ('4876', '20385772', '1336558735', None, None, None, None, None, '2573281') ('4876', None, None, None, None, None, None, None, '2573281') ('4876', '20385772', '1336558690', None, None, None, None, None, '2573281') ('4876', None, None, None, None, None, None, None, '2573281') ('4876', '20385772', '1336558686', None, None, None, None, None, '2573281') ('4876', None, None, None, None, None, None, None, '2573281') ('4876', '20385772', '1336558682', None, None, None, None, None, '2573281') ('4876', None, None, None, None, None, None, None, '2573281') ('4876', '20385772', '1336558679', None, None, None, None, None, '2573281') ('4876', None, None, None, None, None, None, None, '2573281') ('4876', '20385772', '1336558363', None, None, None, None, None, '2573281') ('4876', None, None, None, None, None, None, None, '2573281') ('4876', '20385772', '1336558277', None, None, None, None, None, '2573281') ('4876', None, None, None, None, None, None, None, '2573281') ('4876', '20385772', '1336558112', None, None, None, None, None, '2573281') ('4876', None, None, None, None, None, None, None, '2573281') ('4876', '20385772', '1336558081', None, None, None, None, None, '2573281') ('4876', None, None, None, None, None, None, None, '2573281') ('4876', '20385772', '1336558060', None, None, None, None, None, '2573281') ('4876', None, None, None, None, None, None, None, '2573281') ('4876', '20385772', '1336558054', None, None, None, None, None, '2573281') ('4876', None, None, None, None, None, None, None, '2573281') ('4876', '20385772', '1336558044', None, None, None, None, None, '2573281') ('4876', None, None, None, None, None, None, None, '2573281') ('4876', '20385772', '1336558015', None, None, None, None, None, '2573281') ('4876', None, None, None, None, None, None, None, '2573281') ('4876', '20385772', '1336557962', None, None, None, None, None, '2573281') ('4876', None, None, None, None, None, None, None, '2573281') ('4876', '20385772', '1336557905', None, None, None, None, None, '2573281') ('4876', None, None, None, None, None, None, None, '2573281') ('4876', '20385772', '1336557864', None, None, None, None, None, '2573281') ('4876', None, None, None, None, None, None, None, '2573281') ('4876', '20385772', '1336557861', None, None, None, None, None, '2573281') ('4876', None, None, None, None, None, None, None, '2573281') ('4876', '20385772', '1336557850', None, None, None, None, None, '2573281') ('4876', None, None, None, None, None, None, None, '2573281') ('4876', '20385772', '1336557752', None, None, None, None, None, '2573281') ('4876', None, None, None, None, None, None, None, '2573281') ('4876', '20385772', '1336557483', None, None, None, None, None, '2573281') ('4876', None, None, None, None, None, None, None, '2573281') ('4876', '20385772', '1336557467', None, None, None, None, None, '2573281') ('4876', None, None, None, None, None, None, None, '2573281') ('4876', '20385772', '1336557457', None, None, None, None, None, '2573281') ('4876', None, None, None, None, None, None, None, '2573281') ('4876', '20385772', '1336557454', None, None, None, None, None, '2573281') ('4876', None, None, None, None, None, None, None, '2573281') ('4876', '20385772', '1336557439', None, None, None, None, None, '2573281') ('4876', None, None, None, None, None, None, None, '2573281') ('4876', '20385772', '1336557437', None, None, None, None, None, '2573281') ('4876', None, None, None, None, None, None, None, '2573281') ('4876', '20385772', '1336555521', None, None, None, None, None, '2573281') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 101 time used for this insertion : 0.026849031448364258 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.9605798721313477 time spend to save output : 0.027642488479614258 total time spend for step 1 : 0.9882223606109619 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.55system 0:04.13elapsed 43%CPU (0avgtext+0avgdata 103176maxresident)k 0inputs+88outputs (8major+49539minor)pagefaults 0swaps