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 : 2436791 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 : 1343>100 please execute split_portfolio.py -i 23034647 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2869780'] with mtr_portfolio_ids : ['23034647'] and first list_photo_ids : [] new path : /proc/2436791/ 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.345012664794922 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 May 16 06:42:32 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/1747370550_2436791_1358828520_37c2d618dcd4daf5581928e27a33412a.jpg resize: (1080, 1632) 1358828520 -2.034980274414016 treat image : temp/1747370550_2436791_1358828493_757bafb4d06ae4dca4e9ac22a2030afa.jpg resize: (1080, 1632) 1358828493 -1.7914898060679838 treat image : temp/1747370550_2436791_1358828466_f674674e4da7d4c335a0907dc7b6d0cf.jpg resize: (1080, 1632) 1358828466 -5.6982436140531325 treat image : temp/1747370550_2436791_1358828412_7fe5cc15e42db515200e1eb6c3cfd0b6.jpg resize: (1080, 1632) 1358828412 -3.414493103321213 treat image : temp/1747370550_2436791_1358827836_b3cc9876d2631e9a1829feb974e0f203.jpg resize: (1080, 1632) 1358827836 -5.828939761232179 treat image : temp/1747370550_2436791_1358827720_575c631130a68415cbb883a6a39ed2f6.jpg resize: (1080, 1632) 1358827720 -5.280646500392597 treat image : temp/1747370550_2436791_1358827605_c266bfbc8556d2103e8833dd86da1618.jpg resize: (1080, 1632) 1358827605 -3.1210954147070598 treat image : temp/1747370550_2436791_1358827513_6dae214815d8e3fdb1fbc2220301ef1e.jpg resize: (1080, 1632) 1358827513 -5.590940297547898 treat image : temp/1747370550_2436791_1358827434_13083b891cccaf82f21c760a6378c925.jpg resize: (1080, 1632) 1358827434 0.12290394195706585 treat image : temp/1747370550_2436791_1358827401_8207f30699bb7e78cd232f5559b0d55b.jpg resize: (1080, 1632) 1358827401 -5.36279151057312 treat image : temp/1747370550_2436791_1358827395_62c546f36224a87e481668c95550c608.jpg resize: (1080, 1632) 1358827395 -5.343867963170024 treat image : temp/1747370550_2436791_1358827392_211f9033605cd7fca6020c583b65cc98.jpg resize: (1080, 1632) 1358827392 -5.172431574056529 treat image : temp/1747370550_2436791_1358827389_57ebc5187db5846df776b6546c4d7bd2.jpg resize: (1080, 1632) 1358827389 -4.73495198816494 treat image : temp/1747370550_2436791_1358827386_a6119d854088ca490d15f06673a29b53.jpg resize: (1080, 1632) 1358827386 -5.452536088860101 treat image : temp/1747370550_2436791_1358827350_0ac71745af8eae038e68614d69e03d77.jpg resize: (1080, 1632) 1358827350 -2.8495521007566085 treat image : temp/1747370550_2436791_1358827346_b07b2784cc2a97754328f62fbcd86d0b.jpg resize: (1080, 1632) 1358827346 -1.8874755537653736 treat image : temp/1747370550_2436791_1358827342_c8b129430ec549b5977a832d0aaf88e9.jpg resize: (1080, 1632) 1358827342 -5.528100532876694 treat image : temp/1747370550_2436791_1358827332_59818dd20f985b5e90e918de36a7956b.jpg resize: (1080, 1632) 1358827332 -5.556903434902402 treat image : temp/1747370550_2436791_1358827326_812d681489245230c9372c9735330e66.jpg resize: (1080, 1632) 1358827326 -5.696281631145704 treat image : temp/1747370550_2436791_1358826814_649e57cb252e0be1c7b09833f5be0099.jpg resize: (1080, 1632) 1358826814 -5.984511232627282 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.013900995254516602 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.013858556747436523 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015791654586791992 save missing photos in datou_result : time spend for datou_step_exec : 15.965503215789795 time spend to save output : 0.04893946647644043 total time spend for step 1 : 16.014442682266235 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.75user 3.75system 0:22.33elapsed 82%CPU (0avgtext+0avgdata 140056maxresident)k 184inputs+9496outputs (11major+260014minor)pagefaults 0swaps