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 : 3935113 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 : 3534>100 please execute split_portfolio.py -i 21602882 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2681004'] with mtr_portfolio_ids : ['21602882'] and first list_photo_ids : [] new path : /proc/3935113/ 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.376793622970581 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 Sat Mar 22 06:17:30 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/1742620647_3935113_1346343475_6f8a8360eb0fee3e1fe94487d1545836.jpg resize: (1080, 1632) 1346343475 -6.715616523503835 treat image : temp/1742620647_3935113_1346343471_31b5ed70258fe3e2ee8db9bc14535dd0.jpg resize: (1080, 1632) 1346343471 -6.255967603919776 treat image : temp/1742620647_3935113_1346343466_223d828cb15b011a3b19a516d84cbfe7.jpg resize: (1080, 1632) 1346343466 -6.439406772422629 treat image : temp/1742620647_3935113_1346343461_aad499ceb80067dcb5d15040d86749f3.jpg resize: (1080, 1632) 1346343461 -6.149816056665386 treat image : temp/1742620647_3935113_1346343458_a16bb24e0a80c50be5739b9db8b2ce5f.jpg resize: (1080, 1632) 1346343458 -2.4019219189301717 treat image : temp/1742620647_3935113_1346343453_ab699525739ba752d52fe8c47f8ef2fb.jpg resize: (1080, 1632) 1346343453 -3.0745911564057624 treat image : temp/1742620647_3935113_1346343445_f43a2dc8b07ebb7a13b951a1ea82ce19.jpg resize: (1080, 1632) 1346343445 -3.852874679503271 treat image : temp/1742620647_3935113_1346343443_6690c9354c14fb88f329026280cb7a92.jpg resize: (1080, 1632) 1346343443 -5.110828902866596 treat image : temp/1742620647_3935113_1346343441_672e1f0f877bcfed8089f18afd3d6000.jpg resize: (1080, 1632) 1346343441 -4.834913274700302 treat image : temp/1742620647_3935113_1346343438_61188e3cd8480acf17ff0572f8670efa.jpg resize: (1080, 1632) 1346343438 -6.767861326616386 treat image : temp/1742620647_3935113_1346343434_aaf4d981ff6559a18893ad096b5f9732.jpg resize: (1080, 1632) 1346343434 -4.839120536489394 treat image : temp/1742620647_3935113_1346343428_aa1867892e83086f1a581b3e58c3720c.jpg resize: (1080, 1632) 1346343428 -4.663782266515354 treat image : temp/1742620647_3935113_1346343416_c92bb63d8941c7632bec7e31b69d855e.jpg resize: (1080, 1632) 1346343416 -6.449933929202654 treat image : temp/1742620647_3935113_1346343415_0f33a75afc8f72465a86271c203d12d5.jpg resize: (1080, 1632) 1346343415 -6.47593732332524 treat image : temp/1742620647_3935113_1346343412_f5d2b7e1ff015bf31d3baa05f7d4f336.jpg resize: (1080, 1632) 1346343412 -6.203031905059796 treat image : temp/1742620647_3935113_1346343410_d5e7f13bf582df0f76232491f0c8d315.jpg resize: (1080, 1632) 1346343410 -6.562898365814674 treat image : temp/1742620647_3935113_1346343408_61fae183b136f35abb0e02f1f49b5ac9.jpg resize: (1080, 1632) 1346343408 -6.382534757827197 treat image : temp/1742620647_3935113_1346343406_102043124fd45c5ce84860b83a4aa594.jpg resize: (1080, 1632) 1346343406 -3.906840153811768 treat image : temp/1742620647_3935113_1346343326_1369fe9e2d55709d7488f1e47b01bc8c.jpg resize: (1080, 1632) 1346343326 -2.043506477164899 treat image : temp/1742620647_3935113_1346343325_291aa89298b022085ffe489b05e27f62.jpg resize: (1080, 1632) 1346343325 -4.012624741825091 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.016531944274902344 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.015004158020019531 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.017983198165893555 save missing photos in datou_result : time spend for datou_step_exec : 15.558669090270996 time spend to save output : 0.054917097091674805 total time spend for step 1 : 15.613586187362671 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.78user 4.32system 0:21.07elapsed 85%CPU (0avgtext+0avgdata 139900maxresident)k 160inputs+11008outputs (13major+255187minor)pagefaults 0swaps