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 : 3397888 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 : 8087>100 please execute split_portfolio.py -i 25245749 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3331975'] with mtr_portfolio_ids : ['25245749'] and first list_photo_ids : [] new path : /proc/3397888/ 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.500354051589966 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 Thu Jul 31 19:57:28 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/1753984646_3397888_1374640497_b858fe0f9e5d283eb7e5247d49acda3a.jpg resize: (1080, 1632) 1374640497 -2.785439507091121 treat image : temp/1753984646_3397888_1374640493_8245fbffd131a1ee7f2ee927ab92830b.jpg resize: (1080, 1632) 1374640493 -3.70795853027981 treat image : temp/1753984646_3397888_1374640491_0f292f2f5bda6661709f52100fb82afe.jpg resize: (1080, 1632) 1374640491 -4.1471158498178236 treat image : temp/1753984646_3397888_1374640490_69229a78bf15bebd5c7089e98ba8b515.jpg resize: (1080, 1632) 1374640490 -4.557818988159516 treat image : temp/1753984646_3397888_1374640488_6d75fa1146364fe1303244ea6a106f50.jpg resize: (1080, 1632) 1374640488 -4.842058532621877 treat image : temp/1753984646_3397888_1374640487_3defcad64eea843d88e85ee59776fdff.jpg resize: (1080, 1632) 1374640487 -5.960613423954682 treat image : temp/1753984646_3397888_1374640485_dc32d02917285704e25a3b4a3d497147.jpg resize: (1080, 1632) 1374640485 -5.3931569822765155 treat image : temp/1753984646_3397888_1374640484_e94b73ab0e69bfa0e049459535463712.jpg resize: (1080, 1632) 1374640484 -4.513358873088548 treat image : temp/1753984646_3397888_1374640482_cdeefcf759df2f438a27f5bc2721afb2.jpg resize: (1080, 1632) 1374640482 -6.211382938036024 treat image : temp/1753984646_3397888_1374640480_54d0c1a6dfa486053ee0892bd8c74ff4.jpg resize: (1080, 1632) 1374640480 -6.325565186974029 treat image : temp/1753984646_3397888_1374640477_1d1cbb4a2f6b3629965dce6eba1821d4.jpg resize: (1080, 1632) 1374640477 -4.036715007431575 treat image : temp/1753984646_3397888_1374640474_a46f9352e4a20974795634953ab264e2.jpg resize: (1080, 1632) 1374640474 -4.861930472951277 treat image : temp/1753984646_3397888_1374640442_f016932cdda16aed2028f50a66aec619.jpg resize: (1080, 1632) 1374640442 -4.924161640212248 treat image : temp/1753984646_3397888_1374640440_99f383f836e7a679545fd6e5426931bd.jpg resize: (1080, 1632) 1374640440 -4.190664373619958 treat image : temp/1753984646_3397888_1374640438_7040feb3db5dce53cf79c824b2dddc9d.jpg resize: (1080, 1632) 1374640438 -4.823281784121387 treat image : temp/1753984646_3397888_1374640437_7d76a64b21cb4ad736cb3ab57b565b40.jpg resize: (1080, 1632) 1374640437 -2.591867289828395 treat image : temp/1753984646_3397888_1374640432_d586b98f085f3ff6df58a042b2435bbd.jpg resize: (1080, 1632) 1374640432 -4.336694841085168 treat image : temp/1753984646_3397888_1374640428_a0bb2b04596bb8c8742c9a66cc1d7a84.jpg resize: (1080, 1632) 1374640428 -2.8065986375403877 treat image : temp/1753984646_3397888_1374640425_51c89388cc5c62dc8dfd3e75a9e79edd.jpg resize: (1080, 1632) 1374640425 -4.350456207162189 treat image : temp/1753984646_3397888_1374640423_fb7a7750c9127b08d6935dfb50cca929.jpg resize: (1080, 1632) 1374640423 -4.8319608390571425 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.013509035110473633 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.012019157409667969 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.013975381851196289 save missing photos in datou_result : time spend for datou_step_exec : 15.277045965194702 time spend to save output : 0.04424285888671875 total time spend for step 1 : 15.321288824081421 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.99user 3.91system 0:19.60elapsed 91%CPU (0avgtext+0avgdata 136920maxresident)k 112inputs+9280outputs (22major+243024minor)pagefaults 0swaps