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 : 1810887 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 : 5701>100 please execute split_portfolio.py -i 24774035 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3262193'] with mtr_portfolio_ids : ['24774035'] and first list_photo_ids : [] new path : /proc/1810887/ 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.3793413639068604 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 10 18:02: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/1752163348_1810887_1371512901_e85162fd90f830e66c8754d084c77a65.jpg resize: (1080, 1632) 1371512901 -4.9940602866947215 treat image : temp/1752163348_1810887_1371512897_560614666382d8b06637befb07bb271a.jpg resize: (1080, 1632) 1371512897 -4.863668926459432 treat image : temp/1752163348_1810887_1371512887_da2965bcac05aa3e2eb9bea8ef419116.jpg resize: (1080, 1632) 1371512887 -4.985538859640833 treat image : temp/1752163348_1810887_1371512885_0ac1644e36b73be7f6bae54c94dc471b.jpg resize: (1080, 1632) 1371512885 -5.005213850472958 treat image : temp/1752163348_1810887_1371512882_cc4dd93e81f3ecd12bf1a3eab024abaf.jpg resize: (1080, 1632) 1371512882 -4.901749231075757 treat image : temp/1752163348_1810887_1371512713_dd63f682eba109f984b83dd6ad733904.jpg resize: (1080, 1632) 1371512713 -4.862581116713024 treat image : temp/1752163348_1810887_1371512604_ebd11f73d29dd819d5e05b8192be0c5e.jpg resize: (1080, 1632) 1371512604 -4.9971223406788505 treat image : temp/1752163348_1810887_1371512532_8b1fec8b9f293e1d0c849f152ccab365.jpg resize: (1080, 1632) 1371512532 -5.013878849959428 treat image : temp/1752163348_1810887_1371512530_3362cb68beffa2aceb386ce6a2c5714d.jpg resize: (1080, 1632) 1371512530 -4.885102300434478 treat image : temp/1752163348_1810887_1371512528_f18364142685b0bf6c133cf1bbb4d64d.jpg resize: (1080, 1632) 1371512528 -4.9942554597468085 treat image : temp/1752163348_1810887_1371512365_691a3ee18c57283a529f11c4dd575ba2.jpg resize: (1080, 1632) 1371512365 -4.868849512433793 treat image : temp/1752163348_1810887_1371512218_1eafee00fb2ec242732ae26fa9d9ebaf.jpg resize: (1080, 1632) 1371512218 -5.001177309986241 treat image : temp/1752163348_1810887_1371512217_09acf778c5c011718d4b7907002a7e66.jpg resize: (1080, 1632) 1371512217 -5.002155436189043 treat image : temp/1752163348_1810887_1371512181_2c770131497bd99f98bb01e2322463e0.jpg resize: (1080, 1632) 1371512181 -4.881961433269119 treat image : temp/1752163348_1810887_1371512118_38fd4b063379a608235374dcb3b980ad.jpg resize: (1080, 1632) 1371512118 -4.9904204600620785 treat image : temp/1752163348_1810887_1371511991_0494b0458666b8eb41853bfa7fdbe1e7.jpg resize: (1080, 1632) 1371511991 -4.871918204216698 treat image : temp/1752163348_1810887_1371511840_42182733eafac8d138f4e79cb52dcc36.jpg resize: (1080, 1632) 1371511840 -4.86849469463291 treat image : temp/1752163348_1810887_1371511752_09d845e84242b28c6f6bf5b1521baf83.jpg resize: (1080, 1632) 1371511752 -5.004690291608889 treat image : temp/1752163348_1810887_1371511748_08c6f893dfd34f624c80c72c7662ea98.jpg resize: (1080, 1632) 1371511748 -5.007141500541223 treat image : temp/1752163348_1810887_1371511736_a7eb4e597e44b4d7a61bc2513e2664f3.jpg resize: (1080, 1632) 1371511736 -4.9899168253315676 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.014715194702148438 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.012978792190551758 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014939546585083008 save missing photos in datou_result : time spend for datou_step_exec : 16.237834215164185 time spend to save output : 0.04745221138000488 total time spend for step 1 : 16.28528642654419 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.97user 4.51system 0:20.84elapsed 88%CPU (0avgtext+0avgdata 139580maxresident)k 0inputs+9392outputs (0major+260028minor)pagefaults 0swaps