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 : 1484683 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 updating current state to 1 we have a portfolio with more photos than limit : 2755>100 please execute split_portfolio.py -i 26511073 -l 100 size over we load limit photo not treated list_input_json: [] Current got : datou_id : 4871, datou_cur_ids : ['3661506'] with mtr_portfolio_ids : ['26511073'] and first list_photo_ids : [] new path : /proc/1484683/ 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.6251380443573 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 Sep 4 18:27: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/1757003247_1484683_1381468359_5d822727d0c9ebb87cba51d78e584ab9_61404119.jpg resize: (1080, 1632) 1381468359 -5.240294104184178 treat image : temp/1757003247_1484683_1381468358_94901bd85741b999aadcc0b341eff284_20320601.jpg resize: (1080, 1632) 1381468358 -5.6222905929588105 treat image : temp/1757003247_1484683_1381468357_bbb26a508a99e95bd1429139e9d019b7_71855825.jpg resize: (1080, 1632) 1381468357 -5.077808349465525 treat image : temp/1757003247_1484683_1381468356_05885d523f529cf649e2ff4d73d1160e_40062657.jpg resize: (1080, 1632) 1381468356 -4.991410864638169 treat image : temp/1757003247_1484683_1381468355_243cc50dda7b67898e15e0585c3b61e4_87931415.jpg resize: (1080, 1632) 1381468355 -5.3174513816202476 treat image : temp/1757003247_1484683_1381468354_c4d92f6b02e4f26e1cc810ecc2cd7e65_18118238.jpg resize: (1080, 1632) 1381468354 -3.8313589052947137 treat image : temp/1757003247_1484683_1381447388_a991675eef999e2a95c5497d7776939c_72841606.jpg resize: (1080, 1632) 1381447388 -4.71667130602838 treat image : temp/1757003247_1484683_1381447386_c676c8088d60064194183e9da5d33447_77015263.jpg resize: (1080, 1632) 1381447386 -5.696807833040261 treat image : temp/1757003247_1484683_1381447385_c676c8088d60064194183e9da5d33447_77015263.jpg resize: (1080, 1632) 1381447385 -5.696807833040261 treat image : temp/1757003247_1484683_1381447383_00d5aba1d90581dba4f918f7b861f2c8_20578554.jpg resize: (1080, 1632) 1381447383 -4.536343880308898 treat image : temp/1757003247_1484683_1381447382_00d5aba1d90581dba4f918f7b861f2c8_20578554.jpg resize: (1080, 1632) 1381447382 -4.536343880308898 treat image : temp/1757003247_1484683_1381447380_f6bfdaefce4343abad7dcf5dcf1fffff_51720142.jpg resize: (1080, 1632) 1381447380 -5.596856771987386 treat image : temp/1757003247_1484683_1381447379_f6bfdaefce4343abad7dcf5dcf1fffff_51720142.jpg resize: (1080, 1632) 1381447379 -5.596856771987386 treat image : temp/1757003247_1484683_1381447160_74e1dad602c83444b8bb889faca4eeb9_21890483.jpg resize: (1080, 1632) 1381447160 -3.929615496553551 treat image : temp/1757003247_1484683_1381447158_416fb55e3ea5243acf7efe946f792558_838296.jpg resize: (1080, 1632) 1381447158 -0.4363140076249823 treat image : temp/1757003247_1484683_1381447157_e77c3fe610c761da9fd62aaaaf39e1f8_32337488.jpg resize: (1080, 1632) 1381447157 -2.3518141044281173 treat image : temp/1757003247_1484683_1381447156_4eb57f4d1b23cba0858a39419acca40c_62618011.jpg resize: (1080, 1632) 1381447156 -1.9534715673743828 treat image : temp/1757003247_1484683_1381447085_2a1d987a97d81586322fa9fdba442b64_32036549.jpg resize: (1080, 1632) 1381447085 -5.426513706645022 treat image : temp/1757003247_1484683_1381447083_949d0cbc21fb1451b043533579f7f345_58040371.jpg resize: (1080, 1632) 1381447083 -5.067937290716798 treat image : temp/1757003247_1484683_1381447081_bbe49f92e601e30415f32fcae40944e9_26748963.jpg resize: (1080, 1632) 1381447081 -4.5605429100972055 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.025931358337402344 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.023951292037963867 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.02595043182373047 save missing photos in datou_result : time spend for datou_step_exec : 15.000812292098999 time spend to save output : 0.08707499504089355 total time spend for step 1 : 15.087887287139893 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.95user 3.87system 0:21.22elapsed 83%CPU (0avgtext+0avgdata 139472maxresident)k 136inputs+9648outputs (6major+258580minor)pagefaults 0swaps