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 : 21662 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 : 3938>100 please execute split_portfolio.py -i 25001616 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3300033'] with mtr_portfolio_ids : ['25001616'] and first list_photo_ids : [] new path : /proc/21662/ 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.5825932025909424 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 Thu Jul 17 11:47: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/1752745647_21662_1372393771_4d5621d34b74e8d1391bcf3b6c7f9a5c.jpg resize: (1080, 1632) 1372393771 -5.23326276149908 treat image : temp/1752745647_21662_1372393768_e872a3d5c44b5352180315a45d26d6c5.jpg resize: (1080, 1632) 1372393768 -5.407062001528436 treat image : temp/1752745647_21662_1372393766_b15b6ff83f76b3a0769273b7424f2bf3.jpg resize: (1080, 1632) 1372393766 -5.311109190899693 treat image : temp/1752745647_21662_1372393758_8a9f659b759b0ca61468950a0dd9acb7.jpg resize: (1080, 1632) 1372393758 -5.3565839742547885 treat image : temp/1752745647_21662_1372393750_4e5e7addac6225b21803936326e23acb.jpg resize: (1080, 1632) 1372393750 -5.179481557844837 treat image : temp/1752745647_21662_1372393749_37bebadb2faa3824544ade59aa2e48da.jpg resize: (1080, 1632) 1372393749 -5.491511370884672 treat image : temp/1752745647_21662_1372393718_972436394be8f572a68d677d6d02103f.jpg resize: (1080, 1632) 1372393718 -5.473953552228624 treat image : temp/1752745647_21662_1372393714_4b00945ffedb909012f1248bd54036ac.jpg resize: (1080, 1632) 1372393714 -5.449417790691337 treat image : temp/1752745647_21662_1372393709_0334badbbcfd55697e1411cbdac1b22d.jpg resize: (1080, 1632) 1372393709 -5.476909001351926 treat image : temp/1752745647_21662_1372393706_1514802237f82ead8d480b402e7e369e.jpg resize: (1080, 1632) 1372393706 -5.438723755323512 treat image : temp/1752745647_21662_1372393701_9a11acbf3af1dd67e288e67e94308b54.jpg resize: (1080, 1632) 1372393701 -5.472466372572716 treat image : temp/1752745647_21662_1372393698_2205ba067623e8c77a588e8526afae2b.jpg resize: (1080, 1632) 1372393698 -5.203255311228921 treat image : temp/1752745647_21662_1372346398_efcbfd1c5123ac6da969385f831e4ea5.jpg resize: (1080, 1632) 1372346398 -3.3398117942143846 treat image : temp/1752745647_21662_1372346397_02b1d7c23fc5f520f61470ec032676e4.jpg resize: (1080, 1632) 1372346397 -5.142833338311124 treat image : temp/1752745647_21662_1372346395_93e70802b178209bcd65daa0bd38f195.jpg resize: (1080, 1632) 1372346395 -4.941429639557967 treat image : temp/1752745647_21662_1372346393_2093f1559ff9c4b8c0033cdf050d26a4.jpg resize: (1080, 1632) 1372346393 -5.787406162597029 treat image : temp/1752745647_21662_1372346392_78e8d936161ea5a42194045aec484d2b.jpg resize: (1080, 1632) 1372346392 -5.53201664980887 treat image : temp/1752745647_21662_1372346380_78136a21526e75853f572c6bfe7cfd57.jpg resize: (1080, 1632) 1372346380 -3.8795484522112442 treat image : temp/1752745647_21662_1372346378_8b2c690c13b8cc1005a1bd30e9e8ca5f.jpg resize: (1080, 1632) 1372346378 -3.862368723577243 treat image : temp/1752745647_21662_1372346377_c6b106050abedf6bcb5f0c85c263882d.jpg resize: (1080, 1632) 1372346377 -3.8839988165803434 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.0359194278717041 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.03231239318847656 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.039696693420410156 save missing photos in datou_result : time spend for datou_step_exec : 14.841398477554321 time spend to save output : 0.12347626686096191 total time spend for step 1 : 14.964874744415283 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.29user 2.80system 0:19.27elapsed 88%CPU (0avgtext+0avgdata 139836maxresident)k 0inputs+9912outputs (0major+259726minor)pagefaults 0swaps