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 : 3367289 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 : 8424>100 please execute split_portfolio.py -i 24493811 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3224247'] with mtr_portfolio_ids : ['24493811'] and first list_photo_ids : [] new path : /proc/3367289/ 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.1125431060791016 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 Sat Jul 5 07:17: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/1751692649_3367289_1370748469_3baa7ef2add49ea15739eecb281c596c.jpg resize: (1080, 1632) 1370748469 -2.9777712902148754 treat image : temp/1751692649_3367289_1370748463_610ffcf1bc61378cf4d0443f6a445ca9.jpg resize: (1080, 1632) 1370748463 -2.9803705133423786 treat image : temp/1751692649_3367289_1370748458_b8ce2f3340661e426cdb58c02e9cf181.jpg resize: (1080, 1632) 1370748458 -2.11078022488318 treat image : temp/1751692649_3367289_1370748455_9e1131865613141f50a971599e6c5424.jpg resize: (1080, 1632) 1370748455 -1.799948456241114 treat image : temp/1751692649_3367289_1370748452_128598cb2d020528ca0a151676c21ea5.jpg resize: (1080, 1632) 1370748452 -3.608419980108115 treat image : temp/1751692649_3367289_1370748448_e8385daf4d70870c1285da793103b099.jpg resize: (1080, 1632) 1370748448 -4.838890560596951 treat image : temp/1751692649_3367289_1370748412_7d1fdd3e889bed05cf52f780fd0b5ffe.jpg resize: (1080, 1632) 1370748412 -4.470483028803559 treat image : temp/1751692649_3367289_1370748410_45dd83ef99d3c4eadcefbbe15aa203b2.jpg resize: (1080, 1632) 1370748410 -4.9475601306943915 treat image : temp/1751692649_3367289_1370748408_f43401b121b22d13a7edc04feb200e2c.jpg resize: (1080, 1632) 1370748408 -3.9794916932968056 treat image : temp/1751692649_3367289_1370748384_5a439d80bb5e1a47854082428fc4bcbb.jpg resize: (1080, 1632) 1370748384 -4.827515557365499 treat image : temp/1751692649_3367289_1370748352_d8e248e9fd2faf07bcf3e76fb9e5f55c.jpg resize: (1080, 1632) 1370748352 -5.059866613722713 treat image : temp/1751692649_3367289_1370748319_3eeeffbf3d097749eb65192170e5c0d2.jpg resize: (1080, 1632) 1370748319 -5.369771008792373 treat image : temp/1751692649_3367289_1370748293_27900a63c171313e87ce3414d51ebf95.jpg resize: (1080, 1632) 1370748293 -3.9416903498805667 treat image : temp/1751692649_3367289_1370748289_27cfddddf947e84c6130f497f41f6243.jpg resize: (1080, 1632) 1370748289 -4.134172122026045 treat image : temp/1751692649_3367289_1370748285_cd064804221e864fd1b467482a5b0216.jpg resize: (1080, 1632) 1370748285 -3.3808806667416467 treat image : temp/1751692649_3367289_1370748280_c1159b0dc0b143460cdad19c7eb8108e.jpg resize: (1080, 1632) 1370748280 -4.218480414600204 treat image : temp/1751692649_3367289_1370748277_fc469c2667e4d9bba875309af7a09c6c.jpg resize: (1080, 1632) 1370748277 -4.222896577473574 treat image : temp/1751692649_3367289_1370748275_da95ec24ed95283cee0267545bb7f8f1.jpg resize: (1080, 1632) 1370748275 -3.6390470353102664 treat image : temp/1751692649_3367289_1370747532_75c30c4a2158d60b8936b9d35815bbae.jpg resize: (1080, 1632) 1370747532 -3.0527059597111155 treat image : temp/1751692649_3367289_1370747529_aec1886594c398673bf9ce9a0e33f939.jpg resize: (1080, 1632) 1370747529 -1.9935743640037433 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.014576911926269531 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.016077756881713867 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.020392417907714844 save missing photos in datou_result : time spend for datou_step_exec : 15.995604515075684 time spend to save output : 0.055380821228027344 total time spend for step 1 : 16.05098533630371 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.49user 4.21system 0:22.05elapsed 84%CPU (0avgtext+0avgdata 137540maxresident)k 3016inputs+7640outputs (20major+255712minor)pagefaults 0swaps