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 : 3380959 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 : ['2727828'] with mtr_portfolio_ids : ['22087046'] and first list_photo_ids : [] new path : /proc/3380959/ 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.03844118118286133 About to test input to load Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 1 step1:split_time_score Mon Apr 7 08:04:28 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec begin split time score 2022-04-13 10:29:59 0 TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 3379, 'mtr_user_id': 31, 'name': 'learn_classif_flux_maj_generique_effnet_v2_s_02062022', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'aluminium,ela,film_pedb,flux_dev,jrm,pcm,pcnc,pehd_pp,pet_clair,refus,tapis_vide', 'svm_portfolios_learning': '5515864,5515840,5515844,5515850,6244400,6237996,6237998,5515847,5515841,5515868,5515866', 'photo_hashtag_type': 4374, 'photo_desc_type': 5680, 'type_classification': 'tf_classification2', 'hashtag_id_list': '493546845,492741797,2107760237,2107760238,495916461,560181804,1284539308,2107760239,2107755846,538914404,2107748999'}] thcls : [{'id': 3513, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2_tf', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 4557, 'photo_desc_type': 5767, 'type_classification': 'tf_classification2', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] (('05', 60), ('06', 179), ('07', 223), ('08', 8)) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {1: 408} 07042025 22087046 Nombre de photos uploadées : 393 / 23040 (1%) 07042025 22087046 Nombre de photos taguées (types de déchets): 408 / 393 (103%) 07042025 22087046 Nombre de photos taguées (volume) : 408 / 393 (103%) elapsed_time : load_data_split_time_score 4.5299530029296875e-06 elapsed_time : order_list_meta_photo_and_scores 0.00017261505126953125 ???????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.019296884536743164 elapsed_time : insert_dashboard_record_day_entry 0.028567790985107422 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 elapsed_time : list_photo_by_hashtags 0.02012801170349121 photos_removed : len 0 elapsed_time : load_duplicate_info 0.027454376220703125 ***** BEGIN SPLIT TIME ***** True 1743984000.0 `1743998624.009124 1743998400.0 `1743998664.010135 1743998400.0 `1743998685.010135 1743998400.0 `1743998694.009127 1743998400.0 `1743998774.010135 1743998400.0 `1743998825.010158 1743998400.0 `1743998834.009125 1743998400.0 `1743998844.010139 1743998400.0 `1743998854.010142 1743998400.0 `1743998864.01014 1743998400.0 `1743998874.010139 1743998400.0 `1743998885.01015 1743998400.0 `1743998895.01014 1743998400.0 `1743998914.010138 1743998400.0 `1743998924.010137 1743998400.0 `1743998944.010154 1743998400.0 `1743998955.010138 1743998400.0 `1743998975.010136 1743998400.0 `1743998984.009125 1743998400.0 `1743998994.010137 1743998400.0 `1743999004.010158 1743998400.0 `1743999024.010134 1743998400.0 `1743999054.009127 1743998400.0 `1743999064.010152 1743998400.0 `1743999074.010135 1743998400.0 `1743999094.010141 1743998400.0 `1743999105.010137 1743998400.0 `1743999175.010143 1743998400.0 `1743999185.010148 1743998400.0 `1743999204.010135 1743998400.0 `1743999224.010139 1743998400.0 `1743999234.010134 1743998400.0 `1743999264.009124 1743998400.0 `1743999274.010134 1743998400.0 `1743999304.010137 1743999300.0 `1743999325.010143 1743999300.0 `1743999354.010137 1743999300.0 `1743999364.010157 1743999300.0 `1743999374.010136 1743999300.0 `1743999384.010135 1743999300.0 `1743999414.009126 1743999300.0 `1743999424.01015 1743999300.0 `1743999444.010136 1743999300.0 `1743999465.010139 1743999300.0 `1743999475.010143 1743999300.0 `1743999494.010135 1743999300.0 `1743999504.010135 1743999300.0 `1743999564.010133 1743999300.0 `1743999574.010146 1743999300.0 `1743999584.010133 1743999300.0 `1743999664.010151 1743999300.0 `1743999804.010135 1743999300.0 `1743999814.010137 1743999300.0 `1743999825.010137 1743999300.0 `1743999864.010136 1743999300.0 `1743999874.010152 1743999300.0 `1743999884.010136 1743999300.0 `1743999905.010144 1743999300.0 `1743999914.009127 1743999300.0 `1743999934.010143 1743999300.0 `1743999944.010137 1743999300.0 `1743999954.010136 1743999300.0 `1743999965.010166 1743999300.0 `1743999975.010137 1743999300.0 `1743999985.010137 1743999300.0 `1743999994.009125 1743999300.0 `1744000055.010146 1743999300.0 `1744000064.009125 1743999300.0 `1744000074.010136 1743999300.0 `1744000084.010135 1743999300.0 `1744000094.010143 1743999300.0 `1744000115.010144 1743999300.0 `1744000134.009126 1743999300.0 `1744000144.010162 1743999300.0 `1744000154.010137 1743999300.0 `1744000164.010137 1743999300.0 `1744000174.010137 1743999300.0 `1744000185.010136 1743999300.0 `1744000195.010139 1743999300.0 `1744000214.010141 1744000200.0 `1744000224.010136 1744000200.0 `1744000234.010135 1744000200.0 `1744000244.010136 1744000200.0 `1744000284.010134 1744000200.0 `1744000294.010132 1744000200.0 `1744000304.010133 1744000200.0 `1744000314.010138 1744000200.0 `1744000325.010163 1744000200.0 `1744000335.010139 1744000200.0 `1744000344.009136 1744000200.0 `1744000364.010139 1744000200.0 `1744000374.010135 1744000200.0 `1744000384.010151 1744000200.0 `1744000395.010135 1744000200.0 `1744000405.010136 1744000200.0 `1744000424.009126 1744000200.0 `1744000444.010138 1744000200.0 `1744000454.010136 1744000200.0 `1744000464.010134 1744000200.0 `1744000475.010136 1744000200.0 `1744000485.010136 1744000200.0 `1744000514.010134 1744000200.0 `1744000524.01014 1744000200.0 `1744000534.010134 1744000200.0 `1744000545.010138 1744000200.0 `1744000555.010139 1744000200.0 `1744000564.009127 1744000200.0 `1744000574.010137 1744000200.0 `1744000584.010135 1744000200.0 `1744000594.010137 1744000200.0 `1744000604.010135 1744000200.0 `1744000614.010137 1744000200.0 `1744000625.010154 1744000200.0 `1744000644.009124 1744000200.0 `1744000654.010152 1744000200.0 `1744000674.010139 1744000200.0 `1744000684.010146 1744000200.0 `1744000724.010138 1744000200.0 `1744000744.010153 1744000200.0 `1744000754.010135 1744000200.0 `1744000765.010135 1744000200.0 `1744000775.010136 1744000200.0 `1744000804.010152 1744000200.0 `1744000824.010135 1744000200.0 `1744000864.010153 1744000200.0 `1744000874.010138 1744000200.0 `1744000884.010136 1744000200.0 `1744000894.010149 1744000200.0 `1744000944.010134 1744000200.0 `1744000954.010136 1744000200.0 `1744001014.010142 1744000200.0 `1744001135.010138 1744001100.0 `1744001144.009128 1744001100.0 `1744001224.010151 1744001100.0 `1744001314.010152 1744001100.0 `1744001524.010149 1744001100.0 `1744001555.010142 1744001100.0 `1744001574.009128 1744001100.0 `1744001584.010153 1744001100.0 `1744001594.010135 1744001100.0 `1744001625.010135 1744001100.0 `1744001635.010135 1744001100.0 `1744001645.010136 1744001100.0 `1744001654.009125 1744001100.0 `1744001664.010135 1744001100.0 `1744001674.010142 1744001100.0 `1744001684.010136 1744001100.0 `1744001705.010154 1744001100.0 `1744001715.010134 1744001100.0 `1744001724.009124 1744001100.0 `1744001744.010134 1744001100.0 `1744001764.010171 1744001100.0 `1744001785.010134 1744001100.0 `1744001794.009131 1744001100.0 `1744001834.010134 1744001100.0 `1744001845.010135 1744001100.0 `1744001864.009125 1744001100.0 `1744001874.010137 1744001100.0 `1744001884.010162 1744001100.0 `1744001904.010137 1744001100.0 `1744001915.010137 1744001100.0 `1744001925.01014 1744001100.0 `1744002014.010214 1744002000.0 `1744002024.010142 1744002000.0 `1744002034.010148 1744002000.0 `1744002044.010143 1744002000.0 `1744002054.01014 1744002000.0 `1744002064.010153 1744002000.0 `1744002073.009125 1744002000.0 `1744002084.01014 1744002000.0 `1744002114.010138 1744002000.0 `1744002134.010135 1744002000.0 `1744002143.009123 1744002000.0 `1744002174.010138 1744002000.0 `1744002184.010146 1744002000.0 `1744002194.010134 1744002000.0 `1744002244.010165 1744002000.0 `1744002264.010133 1744002000.0 `1744002274.010136 1744002000.0 `1744002293.009127 1744002000.0 `1744002314.010143 1744002000.0 `1744002324.010134 1744002000.0 `1744002344.010138 1744002000.0 `1744002354.010137 1744002000.0 `1744002384.010136 1744002000.0 `1744002404.010137 1744002000.0 `1744002414.010138 1744002000.0 `1744002424.010165 1744002000.0 `1744002433.009127 1744002000.0 `1744002444.010141 1744002000.0 `1744002464.010142 1744002000.0 `1744002474.010137 1744002000.0 `1744002484.010158 1744002000.0 `1744002494.010135 1744002000.0 `1744002503.009125 1744002000.0 `1744002514.010135 1744002000.0 `1744002524.010135 1744002000.0 `1744002534.01014 1744002000.0 `1744002544.010151 1744002000.0 `1744002584.010137 1744002000.0 `1744002793.009125 1744002000.0 `1744002804.01014 1744002000.0 `1744002814.010138 1744002000.0 `1744002824.010137 1744002000.0 `1744002834.010137 1744002000.0 `1744002844.010161 1744002000.0 `1744002863.009125 1744002000.0 `1744002874.010138 1744002000.0 `1744002884.010139 1744002000.0 `1744002894.010138 1744002000.0 `1744002904.010152 1744002900.0 `1744002914.010135 1744002900.0 `1744002924.010135 1744002900.0 `1744002934.010132 1744002900.0 `1744002964.010143 1744002900.0 `1744002974.010134 1744002900.0 `1744002984.010133 1744002900.0 `1744002994.010147 1744002900.0 `1744003004.010137 1744002900.0 `1744003013.009127 1744002900.0 `1744003024.010152 1744002900.0 `1744003034.010137 1744002900.0 `1744003054.010142 1744002900.0 `1744003074.010138 1744002900.0 `1744003083.009132 1744002900.0 `1744003094.010143 1744002900.0 `1744003134.010134 1744002900.0 `1744003144.010147 1744002900.0 `1744003153.009127 1744002900.0 `1744003164.010137 1744002900.0 `1744003174.010138 1744002900.0 `1744003184.010141 1744002900.0 `1744003194.01014 1744002900.0 `1744003204.010135 1744002900.0 `1744003214.010135 1744002900.0 `1744003224.010135 1744002900.0 `1744003234.009126 1744002900.0 `1744003254.010136 1744002900.0 `1744003264.010139 1744002900.0 `1744003274.010136 1744002900.0 `1744003284.010136 1744002900.0 `1744003294.010135 1744002900.0 `1744003334.010139 1744002900.0 `1744003344.010138 1744002900.0 `1744003364.010147 1744002900.0 `1744003373.009128 1744002900.0 `1744003384.010146 1744002900.0 `1744003394.010136 1744002900.0 `1744003404.010138 1744002900.0 `1744003414.010135 1744002900.0 `1744003424.010137 1744002900.0 `1744003434.010137 1744002900.0 `1744003443.00913 1744002900.0 `1744003464.010136 1744002900.0 `1744003474.010135 1744002900.0 `1744003484.010134 1744002900.0 `1744003534.010144 1744002900.0 `1744003544.010139 1744002900.0 `1744003554.010135 1744002900.0 `1744003564.010138 1744002900.0 `1744003574.010137 1744002900.0 `1744003584.010137 1744002900.0 `1744003614.010141 1744002900.0 `1744003624.010153 1744002900.0 `1744003634.010136 1744002900.0 `1744003644.010135 1744002900.0 `1744003654.010145 1744002900.0 `1744003663.009125 1744002900.0 `1744003674.010136 1744002900.0 `1744003704.010136 1744002900.0 `1744003733.009128 1744002900.0 `1744003764.010146 1744002900.0 `1744003774.010138 1744002900.0 `1744003824.010134 1744003800.0 `1744003834.010134 1744003800.0 `1744003854.010144 1744003800.0 `1744003864.010149 1744003800.0 `1744003874.010137 1744003800.0 `1744003884.009126 1744003800.0 `1744003894.01014 1744003800.0 `1744003904.010143 1744003800.0 `1744003914.010139 1744003800.0 `1744003924.010153 1744003800.0 `1744003934.010135 1744003800.0 `1744003944.010134 1744003800.0 `1744003953.009124 1744003800.0 `1744003964.010135 1744003800.0 `1744003974.010139 1744003800.0 `1744003984.010151 1744003800.0 `1744003994.010135 1744003800.0 `1744004004.010132 1744003800.0 `1744004034.010135 1744003800.0 `1744004044.010147 1744003800.0 `1744004064.010135 1744003800.0 `1744004074.010136 1744003800.0 `1744004084.010137 1744003800.0 `1744004093.009129 1744003800.0 `1744004104.010152 1744003800.0 `1744004114.010139 1744003800.0 `1744004124.010151 1744003800.0 `1744004134.010136 1744003800.0 `1744004144.010137 1744003800.0 `1744004154.010137 1744003800.0 `1744004164.010138 1744003800.0 `1744004174.009128 1744003800.0 `1744004204.010135 1744003800.0 `1744004224.01015 1744003800.0 `1744004234.010135 1744003800.0 `1744004243.009127 1744003800.0 `1744004254.010143 1744003800.0 `1744004294.010134 1744003800.0 `1744004334.010137 1744003800.0 `1744004354.010134 1744003800.0 `1744004374.010144 1744003800.0 `1744004394.010148 1744003800.0 `1744004404.010158 1744003800.0 `1744004424.010136 1744003800.0 `1744004453.009126 1744003800.0 `1744004474.010136 1744003800.0 `1744004494.010142 1744003800.0 `1744004514.010139 1744003800.0 `1744004523.009143 1744003800.0 `1744004534.01014 1744003800.0 `1744004544.010136 1744003800.0 `1744004554.010141 1744003800.0 `1744004564.010137 1744003800.0 `1744004593.009123 1744003800.0 `1744004604.010133 1744003800.0 `1744004634.010137 1744003800.0 `1744004644.010154 1744003800.0 `1744004654.010144 1744003800.0 `1744004664.010137 1744003800.0 `1744004673.009125 1744003800.0 `1744004684.010138 1744003800.0 `1744004694.010138 1744003800.0 `1744004724.010136 1744004700.0 `1744004734.010136 1744004700.0 `1744004743.009126 1744004700.0 `1744004754.010145 1744004700.0 `1744004764.010136 1744004700.0 `1744004774.010136 1744004700.0 `1744004794.010142 1744004700.0 `1744004813.009128 1744004700.0 `1744004824.010136 1744004700.0 `1744004864.010138 1744004700.0 `1744004883.009149 1744004700.0 `1744004894.010138 1744004700.0 `1744004904.010133 1744004700.0 `1744004924.010139 1744004700.0 `1744004944.01015 1744004700.0 `1744004954.010137 1744004700.0 `1744004964.009126 1744004700.0 `1744004974.010136 1744004700.0 `1744005004.010158 1744004700.0 `1744005014.010143 1744004700.0 `1744005044.010138 1744004700.0 `1744005064.010156 1744004700.0 `1744005094.010143 1744004700.0 `1744005103.009128 1744004700.0 `1744005114.010138 1744004700.0 `1744005124.010207 1744004700.0 `1744005154.01014 1744004700.0 `1744005164.010142 1744004700.0 `1744005204.010136 1744004700.0 `1744005224.010135 1744004700.0 `1744005234.010137 1744004700.0 `1744005243.009148 1744004700.0 `1744005254.010137 1744004700.0 `1744005274.010144 1744004700.0 `1744005294.010138 1744004700.0 `1744005313.009128 1744004700.0 `1744005334.01014 1744004700.0 `1744005344.010139 1744004700.0 `1744005354.010139 1744004700.0 `1744005364.010142 1744004700.0 `1744005374.010149 1744004700.0 `1744005383.009124 1744004700.0 `1744005394.010135 1744004700.0 `1744005414.010137 1744004700.0 `1744005424.010144 1744004700.0 `1744005434.010137 1744004700.0 `1744005474.010136 1744004700.0 `1744005494.010135 1744004700.0 `1744005514.010136 1744004700.0 `1744005524.010137 1744004700.0 `1744005614.010184 1744005600.0 `1744005634.010136 1744005600.0 `1744005664.010159 1744005600.0 `1744005724.01014 1744005600.0 `1744005734.010137 1744005600.0 `1744005754.009131 1744005600.0 `1744005794.010136 1744005600.0 `1744005815.010153 1744005600.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,