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 : 1434165 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 : 273>100 please execute split_portfolio.py -i 23235666 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2930256'] with mtr_portfolio_ids : ['23235666'] and first list_photo_ids : [] new path : /proc/1434165/ 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.394169330596924 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 May 22 06:02: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/1747886547_1434165_1360399754_6f5d16015005bba2e94b322fb3f652ca.jpg resize: (1080, 1632) 1360399754 -1.9857607597104037 treat image : temp/1747886547_1434165_1360399726_7399d0611870dc6d8e2d9ed92deecacc.jpg resize: (1080, 1632) 1360399726 -3.6078379489898635 treat image : temp/1747886547_1434165_1360399680_9c2fba11aa3d2d335fb3b28c6a63c654.jpg resize: (1080, 1632) 1360399680 -2.721516772347304 treat image : temp/1747886547_1434165_1360399616_a42582cca859c9e8b339f1d7ffa1eb7d.jpg resize: (1080, 1632) 1360399616 -5.089033794381316 treat image : temp/1747886547_1434165_1360399560_832e3674935c08d2220b12b9f6aca088.jpg resize: (1080, 1632) 1360399560 -5.800821096834943 treat image : temp/1747886547_1434165_1360399020_3287e1908b209bb557735b549005bc1a.jpg resize: (1080, 1632) 1360399020 -6.180023198231029 treat image : temp/1747886547_1434165_1360398961_bf003f269982b160f9f78674559ec601.jpg resize: (1080, 1632) 1360398961 -5.678789069716715 treat image : temp/1747886547_1434165_1360398926_829fad652f93dd9de826b17c68c95b73.jpg resize: (1080, 1632) 1360398926 -2.5189646981335225 treat image : temp/1747886547_1434165_1360398875_60d0356bfbd74a1da27cc54adc71a787.jpg resize: (1080, 1632) 1360398875 -5.718583942687105 treat image : temp/1747886547_1434165_1360398874_05c7e0216acf5d7ac8d4b92f7ce4fcf3.jpg resize: (1080, 1632) 1360398874 -5.714247500022437 treat image : temp/1747886547_1434165_1360398871_cec341f8842a3b50d65edc41638f0c53.jpg resize: (1080, 1632) 1360398871 -3.7956808241048234 treat image : temp/1747886547_1434165_1360398869_44c60b2a5e16c952a2e0acd38ba0e2e5.jpg resize: (1080, 1632) 1360398869 -6.0679445064278275 treat image : temp/1747886547_1434165_1360398864_29664717e07b594c598944888c880916.jpg resize: (1080, 1632) 1360398864 -5.955371326671045 treat image : temp/1747886547_1434165_1360398849_b02d3aac1083b697f7e0c2882f18cd56.jpg resize: (1080, 1632) 1360398849 -6.260153898642481 treat image : temp/1747886547_1434165_1360397813_3b4ee777ac5afceff87f28cc39244471.jpg resize: (1080, 1632) 1360397813 -6.204493209550756 treat image : temp/1747886547_1434165_1360397786_697e24c9c17f020be7fa582a284cf472.jpg resize: (1080, 1632) 1360397786 -2.0077160183805836 treat image : temp/1747886547_1434165_1360397774_d255944bf50afbd5ede7c5d2cdda6261.jpg resize: (1080, 1632) 1360397774 -5.668849688219658 treat image : temp/1747886547_1434165_1360397744_b832c168a51c2fcf6f4e52eedfa754a4.jpg resize: (1080, 1632) 1360397744 -5.722709845382927 treat image : temp/1747886547_1434165_1360397733_c28eb203306f7c2487cdee56615a8fe2.jpg resize: (1080, 1632) 1360397733 -5.372178121263131 treat image : temp/1747886547_1434165_1360397730_83b5c9f7b3d948f40aa9e0ce569bc340.jpg resize: (1080, 1632) 1360397730 -5.1202093981781385 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.013647079467773438 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.24514102935791016 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.09594583511352539 save missing photos in datou_result : time spend for datou_step_exec : 16.06390357017517 time spend to save output : 0.3595759868621826 total time spend for step 1 : 16.423479557037354 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.69user 3.74system 0:21.18elapsed 87%CPU (0avgtext+0avgdata 140344maxresident)k 4272inputs+10376outputs (57major+260497minor)pagefaults 0swaps