python /home/admin/mtr/script_for_cron.py -j datou_current3 -m 8 -a ' -a 4871 -l 100 ' -s datou_current_4871 -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 : 677574 load datou : 4871 # 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 : chemin de la photo was removed should we ? (photo_id, hashtag_id, score_max) 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 : 9761>100 please execute split_portfolio.py -i 24815507 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3267785'] with mtr_portfolio_ids : ['24815507'] and first list_photo_ids : [] new path : /proc/677574/ 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 : blur_detection over limit max, limiting to limit_max 20 list_input_json : {} origin We have 1 , WARNING: data may be incomplete, need to offset and complete ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 20 ; length of list_pids : 20 ; length of list_args : 20 time to download the photos : 2.5428643226623535 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 1 step1:blur_detection Fri Jul 11 23:27:29 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 inside step blur_detection methode: ratio et variance treat image : temp/1752269246_677574_1371737298_d6fb8c5496ce5ddf6fb0ae3455415569.jpg resize: (1080, 1632) 1371737298 -5.251595471256313 treat image : temp/1752269246_677574_1371737284_baf6ec9b9773a22fae0e5036923790e6.jpg resize: (1080, 1632) 1371737284 -5.249878552362854 treat image : temp/1752269246_677574_1371737258_eb5c49dccf66892006600d8ecc4045b4.jpg resize: (1080, 1632) 1371737258 -5.260339839956376 treat image : temp/1752269246_677574_1371737232_9aa9f8584ebfaee2638f9ed354592dc6.jpg resize: (1080, 1632) 1371737232 -5.272942675037781 treat image : temp/1752269246_677574_1371737205_2200977abb96a39190b941fe7b4d5b7f.jpg resize: (1080, 1632) 1371737205 -5.276449286908829 treat image : temp/1752269246_677574_1371737177_4ec4cabf86ffade5599914af23c96708.jpg resize: (1080, 1632) 1371737177 -5.289511792892513 treat image : temp/1752269246_677574_1371736212_6e629a0f9a48728d8aa578d169919ed4.jpg resize: (1080, 1632) 1371736212 -5.2759111439793775 treat image : temp/1752269246_677574_1371736169_337ecd9f1ca82bd14962d72cfcae9c4a.jpg resize: (1080, 1632) 1371736169 -4.1425451770746955 treat image : temp/1752269246_677574_1371736124_40d8c2416b79996978fc516474f81b10.jpg resize: (1080, 1632) 1371736124 -3.4805406001593697 treat image : temp/1752269246_677574_1371736067_606ad7c58b29ca26a0f7c6581fc6cac0.jpg resize: (1080, 1632) 1371736067 -4.820828552989622 treat image : temp/1752269246_677574_1371732877_7c108d725de367673f83abc2a19e270c.jpg resize: (1080, 1632) 1371732877 -5.29390212055427 treat image : temp/1752269246_677574_1371732703_2d5874abfdfc085454b1391c15a5070b.jpg resize: (1080, 1632) 1371732703 -5.289932277763762 treat image : temp/1752269246_677574_1371732642_e32656041667d8d06ed4d36cf5b36ab1.jpg resize: (1080, 1632) 1371732642 -5.280142670039454 treat image : temp/1752269246_677574_1371732559_b2fcba7e2abe500a8aa6042a0898e61e.jpg resize: (1080, 1632) 1371732559 -5.285564519686298 treat image : temp/1752269246_677574_1371732496_485c12c171020a095951019ffb35a501.jpg resize: (1080, 1632) 1371732496 -5.2826747485691605 treat image : temp/1752269246_677574_1371732370_e50cc3522a764b75e44b8e06ad9afa28.jpg resize: (1080, 1632) 1371732370 -5.296401576799458 treat image : temp/1752269246_677574_1371573828_50aabfd435a88f6e1a26bdf41ca8e264.jpg resize: (1080, 1632) 1371573828 -5.121386836093112 treat image : temp/1752269246_677574_1371573827_8869eb34c630bad7bff644ffffdbf7fc.jpg resize: (1080, 1632) 1371573827 -5.049733820626253 treat image : temp/1752269246_677574_1371573773_b125da18bb723d1979a23ded11d5437d.jpg resize: (1080, 1632) 1371573773 -5.103967541832089 treat image : temp/1752269246_677574_1371573764_c03293ffdf24e14bad06949309f3de3a.jpg resize: (1080, 1632) 1371573764 -5.127029315194159 Inside saveOutput : final : True verbose : 0 begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 20 time used for this insertion : 0.016609907150268555 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 20 time used for this insertion : 0.013696432113647461 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014843225479125977 save missing photos in datou_result : time spend for datou_step_exec : 15.507378339767456 time spend to save output : 0.05006217956542969 total time spend for step 1 : 15.557440519332886 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.31user 3.49system 0:19.68elapsed 90%CPU (0avgtext+0avgdata 137952maxresident)k 56inputs+9912outputs (0major+259595minor)pagefaults 0swaps