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 : 3829007 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 : 2862>100 please execute split_portfolio.py -i 22899558 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2832080'] with mtr_portfolio_ids : ['22899558'] and first list_photo_ids : [] new path : /proc/3829007/ 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 : 5.711073398590088 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 13 18:37:34 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/1747154248_3829007_1357876535_36e9cdda7519842e0031761c5c18b2ec.jpg resize: (1080, 1632) 1357876535 -1.7198145021944702 treat image : temp/1747154248_3829007_1357876531_af83fd6fcccfa3f8dc94fdf0469ac555.jpg resize: (1080, 1632) 1357876531 -3.247405910266917 treat image : temp/1747154248_3829007_1357876528_d517e7207733c798defe3a0d4a4ac8e8.jpg resize: (1080, 1632) 1357876528 -2.2849279544759766 treat image : temp/1747154248_3829007_1357876526_79589470c9e780472c444e13d77eb19f.jpg resize: (1080, 1632) 1357876526 -5.994237724873181 treat image : temp/1747154248_3829007_1357876523_ad9db2a0438e76ec64a652a3f3520ca5.jpg resize: (1080, 1632) 1357876523 -6.382377879913956 treat image : temp/1747154248_3829007_1357876489_a6e49a4d635b6e94c64ad1cc49317d4f.jpg resize: (1080, 1632) 1357876489 -2.2985560671914445 treat image : temp/1747154248_3829007_1357876485_89836e12734d0072332729add3d5e76e.jpg resize: (1080, 1632) 1357876485 -4.415676924984987 treat image : temp/1747154248_3829007_1357876482_6678e157d09cc290c0452b90332b5555.jpg resize: (1080, 1632) 1357876482 -5.135246953987281 treat image : temp/1747154248_3829007_1357876407_41eaba78fbf75348584b147a324420a9.jpg resize: (1080, 1632) 1357876407 -5.515475117928003 treat image : temp/1747154248_3829007_1357876386_2f063b943cd41f4c1e3a9da04a627e4f.jpg resize: (1080, 1632) 1357876386 -5.809081697995563 treat image : temp/1747154248_3829007_1357876354_12f061dcae5944e9e18402ecfa84e68a.jpg resize: (1080, 1632) 1357876354 -5.701607106057055 treat image : temp/1747154248_3829007_1357876336_5e144e006107e13483bc1737374c2dbb.jpg resize: (1080, 1632) 1357876336 -3.8382923106338045 treat image : temp/1747154248_3829007_1357876330_2d59d8c34db88ecb54c2b19b093bdb3c.jpg resize: (1080, 1632) 1357876330 -4.02954250265787 treat image : temp/1747154248_3829007_1357876172_9b77e09a5bbd9ac4301afa5e17e87378.jpg resize: (1080, 1632) 1357876172 -2.692820743811601 treat image : temp/1747154248_3829007_1357876171_d1213ceb65d24aad0e888e43608aad79.jpg resize: (1080, 1632) 1357876171 -3.3331123483121883 treat image : temp/1747154248_3829007_1357876168_b29916463364076df01d55d30f3a2514.jpg resize: (1080, 1632) 1357876168 -4.383711245956259 treat image : temp/1747154248_3829007_1357876147_e76a613717ca4c5e99e7db1b315e7271.jpg resize: (1080, 1632) 1357876147 -5.900839852174121 treat image : temp/1747154248_3829007_1357876102_a0fdbdcb8e0d8fadc82f5da6a23672ef.jpg resize: (1080, 1632) 1357876102 -5.715434062161043 treat image : temp/1747154248_3829007_1357875672_2c3e54a24098053105b2f59f24c0f8a1.jpg resize: (1080, 1632) 1357875672 -0.22962599105736486 treat image : temp/1747154248_3829007_1357875455_6f70155ecf5819fd4c22ec46e997f274.jpg resize: (1080, 1632) 1357875455 -5.005586390975759 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.017949581146240234 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.014813423156738281 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.02105879783630371 save missing photos in datou_result : time spend for datou_step_exec : 17.00228261947632 time spend to save output : 0.05879020690917969 total time spend for step 1 : 17.061072826385498 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.52user 4.84system 0:25.37elapsed 76%CPU (0avgtext+0avgdata 141512maxresident)k 240inputs+9368outputs (2major+252062minor)pagefaults 0swaps