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 : 270844 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 : 8243>100 please execute split_portfolio.py -i 24815507 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3267785'] with mtr_portfolio_ids : ['24815507'] and first list_photo_ids : [] new path : /proc/270844/ 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.634709596633911 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 Fri Jul 11 20: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/1752260248_270844_1371663702_15e6998b90c042108a572e178cc543d3.jpg resize: (1080, 1632) 1371663702 -5.303611428274848 treat image : temp/1752260248_270844_1371663694_e4256073ac72805a98972a3dcf91f410.jpg resize: (1080, 1632) 1371663694 -5.308019739994302 treat image : temp/1752260248_270844_1371663691_13e3d1ed9a21bfdca0b7b0649e2c1825.jpg resize: (1080, 1632) 1371663691 -5.31790966944154 treat image : temp/1752260248_270844_1371663686_689db8589b8d9a08e5ac44f8d5bbf910.jpg resize: (1080, 1632) 1371663686 -5.330262285361337 treat image : temp/1752260248_270844_1371663674_37f390e066f48dba814572eca97bf9cf.jpg resize: (1080, 1632) 1371663674 -5.12229971732809 treat image : temp/1752260248_270844_1371663669_21e16e7b34d528f92d78438e760ee2de.jpg resize: (1080, 1632) 1371663669 -5.101294088086406 treat image : temp/1752260248_270844_1371663663_e00d9a0c5bd5e228b3bbabd26316a74e.jpg resize: (1080, 1632) 1371663663 -5.121039607927716 treat image : temp/1752260248_270844_1371663660_845cb925e5324166f020a8ab6a55effc.jpg resize: (1080, 1632) 1371663660 -5.102865300436411 treat image : temp/1752260248_270844_1371663652_7b61bfc996e3343e6bc6c3ee1476911a.jpg resize: (1080, 1632) 1371663652 -5.101694742205378 treat image : temp/1752260248_270844_1371663649_30ffc4f85c4057f7e700c8ca63d500fd.jpg resize: (1080, 1632) 1371663649 -5.100854477043096 treat image : temp/1752260248_270844_1371661193_663dd31a65f154487302cdb0e643f130.jpg resize: (1080, 1632) 1371661193 -4.364647064837048 treat image : temp/1752260248_270844_1371661192_007b38f6c9bf4005032a4b5e16a7ce81.jpg resize: (1080, 1632) 1371661192 -4.364647064837048 treat image : temp/1752260248_270844_1371661189_1aeff5492fa51b375088122a45690c99.jpg resize: (1080, 1632) 1371661189 -5.699099244158808 treat image : temp/1752260248_270844_1371661188_d0d4e98cdebde53b990a99808bc9412b.jpg resize: (1080, 1632) 1371661188 -5.699099244158808 treat image : temp/1752260248_270844_1371661181_3aa64d37250624f1e3b01265b2130d45.jpg resize: (1080, 1632) 1371661181 -5.093938322845254 treat image : temp/1752260248_270844_1371661177_fef828f60bdcb528fb874c82a6a377d3.jpg resize: (1080, 1632) 1371661177 -5.098099263987438 treat image : temp/1752260248_270844_1371661173_09d2fdddd05e41e0862e6a12044cea84.jpg resize: (1080, 1632) 1371661173 -5.100556021674798 treat image : temp/1752260248_270844_1371661167_cc4d0f25f3b12536b2d46fe205306da6.jpg resize: (1080, 1632) 1371661167 -5.091118585027422 treat image : temp/1752260248_270844_1371661161_ab0ec0d478e6089b9a0509f00a696ee3.jpg resize: (1080, 1632) 1371661161 -5.124147600154182 treat image : temp/1752260248_270844_1371661157_118bca954666acff4eebd5df71338dc0.jpg resize: (1080, 1632) 1371661157 -5.118761585529392 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.013548851013183594 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.013135910034179688 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015950679779052734 save missing photos in datou_result : time spend for datou_step_exec : 14.578515768051147 time spend to save output : 0.04734325408935547 total time spend for step 1 : 14.625859022140503 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.78user 2.93system 0:20.77elapsed 80%CPU (0avgtext+0avgdata 139404maxresident)k 368inputs+10200outputs (7major+258523minor)pagefaults 0swaps