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 : 1558235 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 : 334>100 please execute split_portfolio.py -i 22940775 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2844070'] with mtr_portfolio_ids : ['22940775'] and first list_photo_ids : [] new path : /proc/1558235/ 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.5758814811706543 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 Wed May 14 06:27: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/1747196847_1558235_1358095117_1917bb185c0cdc0e32690b84f1bb2ba3.jpg resize: (1080, 1632) 1358095117 -1.491269792259727 treat image : temp/1747196847_1558235_1358095096_fad946944c5094848b7869aef21a2c05.jpg resize: (1080, 1632) 1358095096 -5.850348777951046 treat image : temp/1747196847_1558235_1358095093_f0409de3aa059482e852a82d582fc92c.jpg resize: (1080, 1632) 1358095093 -5.879190876424377 treat image : temp/1747196847_1558235_1358095092_6e61108060ef2a2243d8d3a1926edcf8.jpg resize: (1080, 1632) 1358095092 -5.954329155391673 treat image : temp/1747196847_1558235_1358095091_79e10e247e1fa044e196ef892f0cb1eb.jpg resize: (1080, 1632) 1358095091 -3.216412254503413 treat image : temp/1747196847_1558235_1358095089_1e33664089d17595cd8d795706e26ae9.jpg resize: (1080, 1632) 1358095089 -4.614132428359668 treat image : temp/1747196847_1558235_1358095065_d04bfaa91f6e5e7df74c65ebbef5ae41.jpg resize: (1080, 1632) 1358095065 -1.9141106196045445 treat image : temp/1747196847_1558235_1358095061_21729275021dc773e0a1c2efb43f48ac.jpg resize: (1080, 1632) 1358095061 -5.994519766273403 treat image : temp/1747196847_1558235_1358095058_a2b4f1a7d17a17799124e27485aa233c.jpg resize: (1080, 1632) 1358095058 -5.954246404628491 treat image : temp/1747196847_1558235_1358095055_6c2c4e8c37897dccd68cb32b1007e864.jpg resize: (1080, 1632) 1358095055 -6.229037443110606 treat image : temp/1747196847_1558235_1358095050_363560986ceceb2613765cb02ad4d90a.jpg resize: (1080, 1632) 1358095050 -5.435206496998771 treat image : temp/1747196847_1558235_1358095022_39aa66754d017105bd1e2684dac9128c.jpg resize: (1080, 1632) 1358095022 -5.57579568415286 treat image : temp/1747196847_1558235_1358095021_265b80c239adeeb2ab20954e177f46fa.jpg resize: (1080, 1632) 1358095021 -5.657989650861247 treat image : temp/1747196847_1558235_1358095020_9440c65582767df62507128c5322efb9.jpg resize: (1080, 1632) 1358095020 -5.094246561302746 treat image : temp/1747196847_1558235_1358095017_1fc117e48e1e73b7824b8de845bb8b75.jpg resize: (1080, 1632) 1358095017 -4.1867578761526625 treat image : temp/1747196847_1558235_1358094989_e674e10929e6a8ad8ea5573bd46a6af1.jpg resize: (1080, 1632) 1358094989 -6.0188800936470175 treat image : temp/1747196847_1558235_1358094986_8e85e9697aa014b364a1220e313cf5c0.jpg resize: (1080, 1632) 1358094986 -6.117173481313568 treat image : temp/1747196847_1558235_1358094983_473c16228ad5948e4bb92285911069cc.jpg resize: (1080, 1632) 1358094983 -6.299336121647075 treat image : temp/1747196847_1558235_1358094979_0d82802adcaa75d58094cfc2558101ca.jpg resize: (1080, 1632) 1358094979 -5.576616644274723 treat image : temp/1747196847_1558235_1358094624_a9edbe0e2c734739c3f89d38f082f353.jpg resize: (1080, 1632) 1358094624 -1.4861767737878033 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.013665437698364258 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.11095452308654785 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.021840810775756836 save missing photos in datou_result : time spend for datou_step_exec : 14.956169366836548 time spend to save output : 0.15117764472961426 total time spend for step 1 : 15.107347011566162 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.35user 2.88system 0:19.04elapsed 90%CPU (0avgtext+0avgdata 140388maxresident)k 8inputs+10480outputs (5major+253352minor)pagefaults 0swaps