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 : 2898451 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 : 2378>100 please execute split_portfolio.py -i 23145313 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2900260'] with mtr_portfolio_ids : ['23145313'] and first list_photo_ids : [] new path : /proc/2898451/ 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.4921648502349854 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 Tue May 20 15:57:31 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/1747749448_2898451_1359821109_6f15970c21a86bd2311c4759d07b5054.jpg resize: (1080, 1632) 1359821109 -5.3375898488782605 treat image : temp/1747749448_2898451_1359821104_b5a9ca285d69678a738fe1183bc094ec.jpg resize: (1080, 1632) 1359821104 -5.389022659109874 treat image : temp/1747749448_2898451_1359821101_35ff3902bb34c0997c2d819c32f0501f.jpg resize: (1080, 1632) 1359821101 -0.5346090736726091 treat image : temp/1747749448_2898451_1359820966_f54f48ef45644396ba51f5494debae98.jpg resize: (1080, 1632) 1359820966 -5.299870685569846 treat image : temp/1747749448_2898451_1359820940_81b87e74d6f5c9673d712b2aeef7df6f.jpg resize: (1080, 1632) 1359820940 -5.130522670876825 treat image : temp/1747749448_2898451_1359820781_bb18e62dc9bb20f3b88a25eddcedd8fb.jpg resize: (1080, 1632) 1359820781 -4.66980422960015 treat image : temp/1747749448_2898451_1359820750_6da182015bddde386fe2217233ba94d0.jpg resize: (1080, 1632) 1359820750 -5.0023829422855695 treat image : temp/1747749448_2898451_1359820680_e1539eb044bffe2c898194f3d7f89b3c.jpg resize: (1080, 1632) 1359820680 -3.939029044960186 treat image : temp/1747749448_2898451_1359820663_b564f178d463a1a7da37b74b531d50fd.jpg resize: (1080, 1632) 1359820663 -5.481019910994952 treat image : temp/1747749448_2898451_1359820632_7af980ada92d406d4a36e37e3a5d8c6b.jpg resize: (1080, 1632) 1359820632 -5.6506937477542145 treat image : temp/1747749448_2898451_1359820626_e76764b2d86da0ae1a5dca4cc68e82c9.jpg resize: (1080, 1632) 1359820626 -5.368245637359514 treat image : temp/1747749448_2898451_1359820622_7937f95c6960bcd28662f90edd0fe801.jpg resize: (1080, 1632) 1359820622 -4.677149857293057 treat image : temp/1747749448_2898451_1359820582_406ccd5a60498df1840fcf7e296441fa.jpg resize: (1080, 1632) 1359820582 -4.938062509335933 treat image : temp/1747749448_2898451_1359820577_f1dc12c3c60b8e4a5c2f7ea93ca102e4.jpg resize: (1080, 1632) 1359820577 -3.7067529710749323 treat image : temp/1747749448_2898451_1359820573_15f377724951e8fb1e7ed41162606a98.jpg resize: (1080, 1632) 1359820573 -3.9310066079731807 treat image : temp/1747749448_2898451_1359820567_576d52652828d5400f3898876451a533.jpg resize: (1080, 1632) 1359820567 -3.8732734221187894 treat image : temp/1747749448_2898451_1359820559_99f2c400a251a60205c1618ac6bea40e.jpg resize: (1080, 1632) 1359820559 -4.802776460658679 treat image : temp/1747749448_2898451_1359820274_a9c708cd196c76afffdda00d648a2d5d.jpg resize: (1080, 1632) 1359820274 -5.226724934563478 treat image : temp/1747749448_2898451_1359820270_45b4b92383f647c4fe6e0de9115d853d.jpg resize: (1080, 1632) 1359820270 -4.981494756923068 treat image : temp/1747749448_2898451_1359820267_6af34082d04ccf558d1bb8357b99f2b7.jpg resize: (1080, 1632) 1359820267 -5.1301479466128495 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.012850761413574219 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.012866973876953125 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015018701553344727 save missing photos in datou_result : time spend for datou_step_exec : 15.74459195137024 time spend to save output : 0.04505491256713867 total time spend for step 1 : 15.789646863937378 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.65user 3.63system 0:21.23elapsed 86%CPU (0avgtext+0avgdata 140756maxresident)k 176inputs+9160outputs (11major+253924minor)pagefaults 0swaps